/* Atlas - FoundrsOS Design System */

/* ============================================
   FONT FACES (Foundrs OS Custom Fonts)
   ============================================ */

/* FoundrsSans (Regular/Bold Variable) - Normal */
@font-face {
    font-family: 'FoundrsSans';
    src: url('../media/202112071e5d7466-s.p.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

/* FoundrsSans (Regular/Bold Variable) - Italic */
@font-face {
    font-family: 'FoundrsSans';
    src: url('../media/73af0ef16113246e-s.p.woff2') format('woff2');
    font-weight: 300 800;
    font-style: italic;
    font-display: swap;
}

/* FoundrsSerif (Display Variable) - Normal */
@font-face {
    font-family: 'FoundrsSerif';
    src: url('../media/18f7e26d8fc3ca09-s.p.woff2') format('woff2');
    font-weight: 300 800;
    font-style: normal;
    font-display: swap;
}

/* FoundrsSerif (Display Variable) - Italic */
@font-face {
    font-family: 'FoundrsSerif';
    src: url('../media/54e05bce7a25fe9c-s.p.woff2') format('woff2');
    font-weight: 300 800;
    font-style: italic;
    font-display: swap;
}

/* ========================================
   CSS Variables - FoundrsOS Design System
   ======================================== */
:root {
  /* Core Brand Colors */
  --primary: #44AE70;
  --primary-foreground: #ffffff;
  --ink: #0B2534;
  --ink-soft: #123349;
  /* Background & Surface */
  --background: #F5F5F7;
  --foreground: rgb(33 31 29 / 0.9);
  --card-bg: #ffffff;
  --card-border: #E2E8F0;
  /* Text Colors */
  --text-main: #0B2534;
  --text-muted: #6B7280;
  --muted: #6B7280;
  --muted-light: #9CA3AF;
  /* Border Colors */
  --border: #E2E8F0;
  --border-hover: #CBD5E1;
  --border-subtle: #E2E8F0;
  /* Semantic Colors */
  --accent: #44AE70;
  --accent-light: #dcfce7;
  --accent-foreground: #166534;
  --warning: #FFC107;
  --warning-light: #fef9c3;
  --warning-foreground: #854d0e;
  --danger: #F44336;
  --danger-light: #fee2e2;
  --danger-foreground: #991b1b;
  --orange: #f97316;
  --orange-light: #ffedd5;
  --orange-foreground: #9a3412;
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-card: 0 2px 1px -1px rgba(0,0,0,0.2), 0 1px 1px 0 rgba(0,0,0,0.14), 0 1px 3px 0 rgba(0,0,0,0.12);
  /* Typography */
  --font-body: "FoundrsSans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "FoundrsSerif", Georgia, "Times New Roman", serif;
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
}

/* ========================================
   Base Styles
   ======================================== */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--background);
    color: var(--foreground);
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 500;
    color: var(--foreground);
}

::selection {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

/* ========================================
   Typography
   ======================================== */
.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--foreground);
}

@media (min-width: 640px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.card-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.card-meta {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ========================================
   Buttons
   ======================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #ffffff;
    background-color: var(--foreground);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: opacity 0.15s ease;
    text-decoration: none;
}

.btn-primary:hover {
    opacity: 0.85;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    background-color: transparent;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: var(--background);
    border-color: var(--border-hover);
}

/* ========================================
   Forms
   ======================================== */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--foreground);
}

.form-input::placeholder {
    color: var(--muted-light);
}

.form-select {
    width: 100%;
    padding: 0.75rem 2.5rem 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-select:focus {
    outline: none;
    border-color: var(--foreground);
}

.form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--foreground);
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-checkbox {
    width: 1.125rem;
    height: 1.125rem;
    border: 1px solid var(--border);
    border-radius: 0.25rem;
    cursor: pointer;
    accent-color: var(--foreground);
}

/* ========================================
   Cards
   ======================================== */
.startup-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  padding: 1rem;
  cursor: pointer;
  transition: border-color 0.15s ease;
}

.startup-card:hover {
    border-color: var(--border-hover);
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    padding: 1.5rem;
}

/* ========================================
   Badges
   ======================================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.125rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 500;
    border-radius: 9999px;
}

.badge-verified {
    background-color: var(--accent-light);
    color: var(--accent-foreground);
}

.badge-featured {
    background-color: var(--warning-light);
    color: var(--warning-foreground);
}

.badge-secondary {
    background-color: var(--background);
    color: var(--muted);
}

.badge-stage {
    background-color: var(--background);
    color: var(--foreground);
    font-weight: 500;
}

/* ========================================
   Navigation Tabs
   ======================================== */
.tab-nav {
    display: flex;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.tab-nav-item {
    padding: 0.75rem 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.tab-nav-item:hover {
    color: var(--foreground);
}

.tab-nav-item.active {
    color: var(--foreground);
    border-bottom-color: var(--foreground);
}

/* ========================================
   Carousel / Horizontal Scroll
   ======================================== */
.carousel-section {
    margin-bottom: 2rem;
}

.carousel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.carousel-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
}

.carousel-link {
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.carousel-link:hover {
    color: var(--foreground);
}

.carousel-container {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    flex: 0 0 auto;
    width: 200px;
    scroll-snap-align: start;
}

@media (min-width: 640px) {
    .carousel-item {
        width: 220px;
    }
}

/* ========================================
   Leaderboard Table
   ======================================== */
.leaderboard {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 0.5rem;
  overflow: hidden;
  padding: 0px 2rem;
}

.leaderboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.leaderboard-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
}

.leaderboard-filters {
    display: flex;
    gap: 0.5rem;
}

.leaderboard-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.leaderboard-table th {
    padding: 0.75rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
    text-align: left;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

/* Column widths */
.leaderboard-table th:nth-child(1) { width: 40px; } /* # */
.leaderboard-table th:nth-child(2) { width: auto; } /* Startup - takes remaining space */
.leaderboard-table th:nth-child(3) { width: 140px; } /* Founder */
.leaderboard-table th:nth-child(4) { width: 90px; } /* MRR */
.leaderboard-table th:nth-child(5) { width: 100px; } /* MoM Growth */

.leaderboard-table td {
    padding: 0.875rem 0.75rem;
    font-size: 0.875rem;
    color: var(--foreground);
    border-bottom: 1px solid var(--border);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-table tr:last-child td {
    border-bottom: none;
}

/* Startup cell - ensure proper truncation */
.leaderboard-table td:nth-child(2) > div {
    min-width: 0;
}

.leaderboard-table td:nth-child(2) .min-w-0 {
    min-width: 0;
    overflow: hidden;
}

.leaderboard-table td:nth-child(2) .truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.leaderboard-table tr:hover td {
    background-color: var(--background);
}

.leaderboard-rank {
    font-weight: 600;
    color: var(--muted);
    width: 3rem;
}

.leaderboard-rank.top-3 {
    color: var(--warning);
}

/* ========================================
   Metric Display
   ======================================== */
.metric-row {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--muted);
}

.metric-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   Step Indicator (Simplified)
   ======================================== */
.steps {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.step {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 9999px;
    transition: all 0.15s ease;
}

.step.pending {
    background-color: var(--background);
    color: var(--muted);
}

.step.active {
    background-color: var(--foreground);
    color: var(--background);
}

.step.completed {
    background-color: var(--accent);
    color: white;
}

.step-line {
    width: 2rem;
    height: 2px;
    background-color: var(--border);
}

.step-line.completed {
    background-color: var(--accent);
}

/* ========================================
   Toast Notifications
   ======================================== */
.toast {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    padding: 0.875rem 1.25rem;
    font-size: 0.875rem;
    color: white;
    background-color: var(--foreground);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-md);
    z-index: 9999;
    animation: toast-in 0.2s ease;
}

.toast-success {
    background-color: var(--accent);
}

.toast-error {
    background-color: #ef4444;
}

@keyframes toast-in {
    from {
        opacity: 0;
        transform: translateY(0.5rem);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   Loading Spinner
   ======================================== */
.spinner {
    width: 1.5rem;
    height: 1.5rem;
    border: 2px solid var(--border);
    border-top-color: var(--foreground);
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ========================================
   Utilities
   ======================================== */
.line-clamp-1 {
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--foreground);
    outline-offset: 2px;
}

/* Container */
.container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (min-width: 640px) {
    .container {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
}

/* Avatar/Logo */
.avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--foreground);
    color: var(--background);
    font-weight: 600;
    border-radius: 0.375rem;
}

.avatar-sm {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
}

.avatar-md {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
}

.avatar-lg {
    width: 4rem;
    height: 4rem;
    font-size: 1.25rem;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
}

.empty-state-icon {
    font-size: 3rem;
    color: var(--muted-light);
    margin-bottom: 1rem;
}

.empty-state-text {
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 1.5rem;
}

/* Responsive table wrapper */
.table-wrapper {
    overflow-x: hidden;
    width: 100%;
}

/* Search input with icon */
.search-input-wrapper {
    position: relative;
}

.search-input-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-light);
    pointer-events: none;
}

.search-input-wrapper .form-input {
    padding-left: 2.75rem;
}

/* ========================================
   TrustMRR Style - Three Column Layout
   ======================================== */
.atlas-layout {
    display: grid;
    grid-template-columns: 1fr;
    min-height: 100vh;
}

@media (min-width: 1200px) {
    .atlas-layout {
        grid-template-columns: 200px 1fr 200px;
        gap: 1.5rem;
    }
}

@media (min-width: 1400px) {
    .atlas-layout {
        grid-template-columns: 240px 1fr 240px;
        gap: 2rem;
    }
}

.atlas-sidebar {
    display: none;
    padding-top: 2rem;
}

@media (min-width: 1200px) {
    .atlas-sidebar {
        display: block;
    }
}

.atlas-main {
    width: 100%;
    margin: 0 auto;
    padding: 1rem;
}

@media (min-width: 640px) {
    .atlas-main {
        padding: 2rem 1.5rem;
    }
}

/* ========================================
   Atlas Header - User Indicator
   ======================================== */
.atlas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
}

.atlas-header-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    text-decoration: none;
    transition: opacity 0.2s;
}

.atlas-header-logo:hover {
    opacity: 0.8;
}

.atlas-header-logo svg {
    color: var(--warning);
}

.atlas-header-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.atlas-user-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.375rem 0.75rem;
    background: var(--accent-light);
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.atlas-user-id {
    color: var(--accent-foreground);
    font-weight: 500;
    max-width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.atlas-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.25rem;
    background: transparent;
    border: none;
    border-radius: 4px;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
}

.atlas-logout-btn:hover {
    background: var(--danger-light);
    color: var(--danger);
}

/* ========================================
   Hero Section - Centered
   ======================================== */
.hero-centered {
    text-align: center;
    padding: 2rem 0 1.5rem;
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
}

.hero-logo-icon {
    color: var(--warning);
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--foreground);
    margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
    .hero-subtitle {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-subtitle {
        font-size: 3rem;
    }
}

/* ========================================
   Search Bar with Button
   ======================================== */
.search-row {
    display: flex;
    gap: 0.75rem;
    max-width: 600px;
    margin: 0 auto 1rem;
}

.search-row .search-input-wrapper {
    flex: 1;
}

.search-row .btn-primary {
    white-space: nowrap;
    padding: 0.75rem 1.25rem;
}

/* ========================================
   Inline Tabs Navigation
   ======================================== */
.tabs-inline {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.tabs-inline-item {
    padding: 0.375rem 0.75rem;
    color: var(--muted);
    text-decoration: none;
    cursor: pointer;
    border-radius: 0.25rem;
    transition: all 0.15s ease;
    background: transparent;
    border: none;
}

.tabs-inline-item:hover {
    color: var(--foreground);
    background: var(--border);
}

.tabs-inline-item.active {
    color: var(--foreground);
    font-weight: 500;
}

.tabs-inline-separator {
    color: var(--border);
}

/* ========================================
   Startup Card - Compact with Metrics
   ======================================== */
.startup-card-compact {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 0.5rem;
    padding: 0.875rem;
    cursor: pointer;
    transition: border-color 0.15s ease;
    position: relative;
    min-width: 180px;
}

.startup-card-compact:hover {
    border-color: var(--border-hover);
}

.startup-card-header {
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
    margin-bottom: 0.75rem;
}

.startup-card-logo {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 0.375rem;
    object-fit: cover;
    flex-shrink: 0;
}

.startup-card-info {
    flex: 1;
    min-width: 0;
}

.startup-card-name {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--foreground);
    line-height: 1.3;
    margin-bottom: 0.125rem;
}

.startup-card-category {
    font-size: 0.75rem;
    color: var(--muted);
}

.startup-card-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.startup-card-metric {
    text-align: center;
}

.startup-card-metric-label {
    color: var(--muted-light);
    margin-bottom: 0.125rem;
}

.startup-card-metric-value {
    color: var(--foreground);
    font-weight: 600;
    font-size: 0.8125rem;
}

/* Badge FOR SALE */
.badge-for-sale {
    background: var(--orange);
    color: white;
    font-size: 0.5625rem;
    font-weight: 600;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
    flex-shrink: 0;
}

/* Badge FOR SALE positioned (for cards) */
.carousel-item .badge-for-sale,
.for-sale-card .badge-for-sale {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
}

/* ========================================
   Leaderboard - MRR Style
   ======================================== */
.leaderboard-mrr {
  margin-top: 2rem;
}

/* Leaderboard Load More Button */
.leaderboard-load-more {
    display: flex;
    justify-content: center;
    padding: 1.5rem 0;
    border-top: 1px solid var(--border);
}

.btn-load-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-load-more:hover:not(:disabled) {
    background-color: var(--background);
    border-color: var(--border-hover);
}

.btn-load-more:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.spinner-sm {
    width: 1rem;
    height: 1rem;
    border-width: 2px;
}

/* Leaderboard Footer */
.leaderboard-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    font-size: 0.75rem;
    color: var(--muted);
    text-align: center;
}

.leaderboard-footer i {
    color: var(--accent);
}

/* Leaderboard Ad/Wireframe Row */
.leaderboard-ad-row {
    background: var(--background);
}

.leaderboard-ad-row td {
    padding: 0 !important;
    border-bottom: 1px solid var(--border);
}

.leaderboard-ad {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--background) 0%, var(--card-bg) 100%);
}

.leaderboard-ad iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.ad-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.leaderboard-mrr .leaderboard-table th:nth-child(3),
.leaderboard-mrr .leaderboard-table th:nth-child(4),
.leaderboard-mrr .leaderboard-table td:nth-child(3),
.leaderboard-mrr .leaderboard-table td:nth-child(4) {
    text-align: right;
}

.mrr-value {
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.mom-growth {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
}

.mom-growth.positive {
    color: var(--accent);
}

.mom-growth.negative {
    color: var(--danger);
}

.mom-growth-arrow {
    font-size: 0.75rem;
}

/* Founder Avatar in Table */
.founder-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 0; /* Allow flex children to shrink */
}

.founder-cell span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.founder-avatar {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    object-fit: cover;
    background: var(--border);
}

.founder-avatar-fallback {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: var(--foreground);
    color: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.625rem;
    font-weight: 600;
}

/* ========================================
   Section Headers
   ======================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.section-header-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
}

.section-header-link {
    font-size: 0.75rem;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.section-header-link:hover {
    color: var(--foreground);
}

/* ========================================
   Footer Minimal
   ======================================== */
.footer-minimal {
    border-top: 1px solid var(--border);
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.footer-minimal-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-align: center;
    font-size: 0.75rem;
    color: var(--muted);
}

@media (min-width: 640px) {
    .footer-minimal-content {
        flex-direction: row;
        justify-content: space-between;
    }
}

.footer-minimal-links {
    display: flex;
    gap: 1rem;
}

.footer-minimal-links a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-minimal-links a:hover {
    color: var(--foreground);
}

/* ========================================
   Ad Sidebar Placeholder (Future)
   ======================================== */
.ad-placeholder {
    background: var(--border);
    border-radius: 0.5rem;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-light);
    font-size: 0.75rem;
}

/* ========================================
   Dropdown Select Small
   ======================================== */
.select-small {
    padding: 0.375rem 2rem 0.375rem 0.75rem;
    font-size: 0.75rem;
    border-radius: 0.375rem;
    min-width: 80px;
}

/* ========================================
   Modal / Popup
   ======================================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 1rem;
    animation: fadeIn 0.15s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-container {
    background: var(--card-bg);
    border-radius: var(--radius-md);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    width: 100%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.2s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 1.5rem 1.5rem 0;
}

.modal-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0;
}

.modal-subtitle {
    font-size: 0.875rem;
    color: var(--muted);
    margin-top: 0.5rem;
    line-height: 1.5;
}

.modal-close {
    background: none;
    border: none;
    padding: 0.5rem;
    margin: -0.5rem -0.5rem 0 0;
    cursor: pointer;
    color: var(--muted);
    border-radius: 0.375rem;
    transition: all 0.15s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--background);
    color: var(--foreground);
}

.modal-body {
    padding: 1.5rem;
}

.modal-footer {
    padding: 0 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

.validation-hint {
    font-size: 0.8125rem;
    color: var(--warning-foreground);
    background: var(--warning-light);
    padding: 0.5rem 0.75rem;
    border-radius: var(--radius-sm);
    margin: 0;
    width: 100%;
    text-align: center;
}

/* Form Group */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-hint {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 0.375rem;
}

.form-error {
    font-size: 0.75rem;
    color: var(--danger);
    margin-top: 0.375rem;
}

/* Input with button inline */
.input-group {
    display: flex;
    gap: 0.75rem;
}

.input-group .form-input {
    flex: 1;
}

.input-group .btn-primary {
    white-space: nowrap;
    flex-shrink: 0;
}

/* Verification code input */
.code-input {
    letter-spacing: 0.5em;
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    font-family: monospace;
}

/* Step indicator for modal */
.modal-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
}

.modal-step {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.modal-step.pending {
    background: var(--background);
    color: var(--muted);
}

.modal-step.active {
    background: var(--foreground);
    color: white;
}

.modal-step.completed {
    background: var(--accent);
    color: white;
}

.modal-step-line {
    width: 2rem;
    height: 2px;
    background: var(--border);
}

.modal-step-line.completed {
    background: var(--accent);
}

/* Contact method tabs */
.contact-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.contact-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    background: var(--card-bg);
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.contact-tab:hover {
    border-color: var(--border-hover);
    color: var(--foreground);
}

.contact-tab.active {
    border-color: var(--foreground);
    color: var(--foreground);
    background: var(--background);
}

.contact-tab.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-tab.disabled:hover {
    border-color: var(--border);
    color: var(--muted);
}

.coming-soon-badge {
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    background: var(--accent);
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 0.25rem;
    letter-spacing: 0.025em;
}

/* Success state */
.success-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background: var(--accent-light);
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 2rem;
}

.text-center {
    text-align: center;
}

/* Divider with text */
.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    font-size: 0.75rem;
    color: var(--muted);
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ========================================
   URL Input with Auto-fetch
   ======================================== */
.url-input-wrapper {
    position: relative;
}

.url-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    color: var(--muted);
    font-size: 0.75rem;
}

.url-loading-text {
    color: var(--muted);
}

.input-error {
    border-color: var(--danger) !important;
}

/* Duplicate startup warning */
.duplicate-warning {
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(244, 67, 54, 0.3);
    background-color: rgba(244, 67, 54, 0.08);
    margin-bottom: 1rem;
}

.duplicate-text {
    font-size: 0.875rem;
    color: var(--danger);
    margin: 0 0 0.5rem 0;
    font-weight: 500;
}

.duplicate-link {
    font-size: 0.875rem;
    color: var(--primary);
    text-decoration: none;
    display: inline-block;
}

.duplicate-link:hover {
    text-decoration: underline;
}

/* Logo preview from metadata */
.logo-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius-sm);
}

.logo-preview-img {
    max-width: 120px;
    max-height: 80px;
    object-fit: contain;
    border-radius: 4px;
}

/* ========================================
   Founder X Handle Input
   ======================================== */
.founder-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

.x-handle-wrapper {
    display: flex;
    align-items: center;
    gap: 0;
    position: relative;
}

.x-handle-prefix {
    position: absolute;
    left: 0.75rem;
    color: var(--muted);
    font-size: 0.875rem;
    pointer-events: none;
    z-index: 1;
}

.x-handle-input {
    padding-left: 1.75rem !important;
}

.x-handle-spinner {
    position: absolute;
    right: 0.75rem;
}

/* Founder avatar preview */
.founder-avatar-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: var(--background);
    border-radius: var(--radius-sm);
}

.founder-avatar-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

/* ========================================
   Custom Dropdown (Category/Country)
   ======================================== */
.dropdown-wrapper {
    position: relative;
}

.dropdown-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    color: var(--foreground);
    background-color: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: border-color 0.15s ease;
    text-align: left;
}

.dropdown-trigger:hover {
    border-color: var(--border-hover);
}

.dropdown-trigger:focus {
    outline: none;
    border-color: var(--foreground);
}

.dropdown-trigger.open {
    border-color: var(--foreground);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.dropdown-placeholder {
    color: var(--muted-light);
}

.dropdown-selected {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-selected-icon {
    font-size: 1.125rem;
    width: 1.5rem;
    text-align: center;
}

.dropdown-selected-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
}

.dropdown-arrow {
    color: var(--muted);
    font-size: 0.75rem;
    transition: transform 0.15s ease;
}

.dropdown-trigger.open .dropdown-arrow {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--card-bg);
    border: 1px solid var(--foreground);
    border-top: none;
    border-bottom-left-radius: 0.5rem;
    border-bottom-right-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    z-index: 100;
    max-height: 280px;
    overflow-y: auto;
}

.dropdown-search {
  padding: 0.5rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--card-bg);
  width: 100%;
}

.dropdown-search-input {
    width: 100%;
    padding: 0.5rem 0.75rem;
    font-size: 0.8125rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
    background: var(--background);
}

.dropdown-search-input:focus {
    outline: none;
    border-color: var(--foreground);
}

.dropdown-options {
    padding: 0.25rem 0;
}

.dropdown-option {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  font-size: 0.875rem;
  color: var(--foreground);
  cursor: pointer;
  transition: background-color 0.1s ease;
  width: 100%;
  text-align: left;
}

.dropdown-option:hover {
    background-color: var(--background);
}

.dropdown-option.selected {
    background-color: var(--accent-light);
    color: var(--accent-foreground);
}

.dropdown-option-icon {
    font-size: 1.125rem;
    width: 1.5rem;
    text-align: center;
}

.dropdown-option-flag {
    width: 20px;
    height: 14px;
    object-fit: cover;
    border-radius: 2px;
    flex-shrink: 0;
}

.dropdown-no-results {
    padding: 1rem;
    text-align: center;
    color: var(--muted);
    font-size: 0.875rem;
}

/* ========================================
   Logo Upload Area
   ======================================== */
.logo-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed var(--border);
    border-radius: 0.5rem;
    background: var(--background);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.logo-upload-area:hover {
    border-color: var(--border-hover);
    background: var(--card-bg);
}

.logo-upload-area.has-logo {
    padding: 1rem;
    border-style: solid;
    border-color: var(--border);
}

.logo-upload-icon {
    font-size: 2rem;
    color: var(--muted-light);
    margin-bottom: 0.5rem;
}

.logo-upload-text {
    font-size: 0.875rem;
    color: var(--foreground);
    font-weight: 500;
    margin-bottom: 0.25rem;
}

.logo-upload-hint {
    font-size: 0.75rem;
    color: var(--muted);
}

.logo-upload-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.logo-upload-img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 0.5rem;
    background: var(--card-bg);
}

.logo-upload-actions {
    display: flex;
    gap: 0.5rem;
}

.logo-upload-change,
.logo-upload-remove {
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
}

.logo-upload-change {
    background: var(--foreground);
    color: white;
}

.logo-upload-change:hover {
    opacity: 0.85;
}

.logo-upload-remove {
    background: transparent;
    color: var(--danger);
    border: 1px solid var(--danger);
}

.logo-upload-remove:hover {
    background: var(--danger-light);
}

/* ========================================
   Form Sections & Rows
   ======================================== */
.form-section {
    margin-bottom: 1.5rem;
}

.form-section-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-row {
    display: grid;
    gap: 1rem;
}

.form-row-2 {
    grid-template-columns: 1fr 1fr;
}

.form-row-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 639px) {
    .form-row-2,
    .form-row-3 {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Input with Prefix/Suffix
   ======================================== */
.input-with-prefix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-prefix {
  position: absolute;
  left: 0.75rem;
  color: var(--muted);
  font-size: 0.875rem;
  pointer-events: none;
  z-index: 1;
  margin-top: 12px;
}

.input-with-prefix .form-input {
    padding-left: 1.75rem;
}

.input-with-suffix {
    position: relative;
    display: flex;
    align-items: center;
}

.input-suffix {
    position: absolute;
    right: 0.75rem;
    color: var(--muted);
    font-size: 0.875rem;
    pointer-events: none;
}

.input-with-suffix .form-input {
    padding-right: 2.5rem;
}

/* ========================================
   Checkbox Styled
   ======================================== */
.checkbox-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    cursor: pointer;
}

.checkbox-box {
    width: 1.25rem;
    height: 1.25rem;
    border: 2px solid var(--border);
    border-radius: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.15s ease;
    background: var(--card-bg);
    margin-top: 0.125rem;
}

.checkbox-wrapper:hover .checkbox-box {
    border-color: var(--border-hover);
}

.checkbox-box.checked {
    background: var(--foreground);
    border-color: var(--foreground);
}

.checkbox-check {
    color: white;
    font-size: 0.75rem;
    display: none;
}

.checkbox-box.checked .checkbox-check {
    display: block;
}

.checkbox-content {
    flex: 1;
}

.checkbox-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 0.125rem;
}

.checkbox-description {
    font-size: 0.75rem;
    color: var(--muted);
    line-height: 1.4;
}

/* ========================================
   Info Box
   ======================================== */
.info-box {
    display: flex;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--warning-light);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.info-box-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.info-box-content {
    flex: 1;
}

.info-box-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--warning-foreground);
    margin-bottom: 0.25rem;
}

.info-box-text {
    font-size: 0.8125rem;
    color: var(--warning-foreground);
    line-height: 1.5;
}

.info-box-text strong {
    font-weight: 600;
}

/* ========================================
   For Sale Fields Section
   ======================================== */
.for-sale-fields {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--background);
    border-radius: 0.5rem;
    border: 1px solid var(--border);
}

.for-sale-fields .form-group {
    margin-bottom: 1rem;
}

.for-sale-fields .form-group:last-child {
    margin-bottom: 0;
}

/* ========================================
   Financial Metrics Section
   ======================================== */
.financial-section {
    background: var(--background);
    border-radius: 0.5rem;
    padding: 1rem;
    border: 1px solid var(--border);
}

.financial-section .form-row {
    margin-bottom: 0;
}

/* Currency input styling */
.currency-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.currency-prefix {
    position: absolute;
    left: 0.75rem;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.currency-input {
    padding-left: 2.5rem !important;
    font-variant-numeric: tabular-nums;
}

/* Percentage input styling */
.percentage-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.percentage-suffix {
    position: absolute;
    right: 0.75rem;
    color: var(--muted);
    font-size: 0.875rem;
    font-weight: 500;
}

.percentage-input {
    padding-right: 2.25rem !important;
    font-variant-numeric: tabular-nums;
}

/* ========================================
   Modal Large (for startup form)
   ======================================== */
.modal-container.modal-large {
    max-width: 640px;
}

.modal-body-scroll {
    max-height: calc(90vh - 180px);
    overflow-y: auto;
    padding: 1.5rem;
}

/* Form divider */
.form-divider {
    height: 1px;
    background: var(--border);
    margin: 1.5rem 0;
}

/* Social handles row */
.social-handles-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

@media (max-width: 479px) {
    .social-handles-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Stage Select Pills
   ======================================== */
.stage-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.stage-pill {
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
    font-weight: 500;
    border: 1px solid var(--border);
    border-radius: 9999px;
    background: var(--card-bg);
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s ease;
}

.stage-pill:hover {
    border-color: var(--border-hover);
    color: var(--foreground);
}

.stage-pill.selected {
    background: var(--foreground);
    border-color: var(--foreground);
    color: white;
}

/* ========================================
   Seeking Checkboxes
   ======================================== */
.seeking-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.seeking-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.625rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.15s ease;
    font-size: 0.875rem;
    color: var(--foreground);
}

.seeking-option:hover {
    border-color: var(--border-hover);
}

.seeking-option.selected {
    border-color: var(--accent);
    background: var(--accent-light);
    color: var(--accent-foreground);
}

.seeking-option-icon {
    font-size: 1rem;
}

/* ========================================
   Scrollable Form Body
   ======================================== */
.startup-form-scroll {
    max-height: calc(90vh - 200px);
    overflow-y: auto;
    padding: 1.5rem;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
}

.startup-form-scroll::-webkit-scrollbar {
    width: 6px;
}

.startup-form-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.startup-form-scroll::-webkit-scrollbar-thumb {
    background: var(--border);
    border-radius: 3px;
}

.startup-form-scroll::-webkit-scrollbar-thumb:hover {
    background: var(--border-hover);
}

/* ========================================
   Startup Info Card (2 Column Layout)
   ======================================== */
.startup-info-card {
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    padding: 1rem;
    background: var(--background);
}

.startup-info-grid {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 1.25rem;
}

@media (max-width: 480px) {
    .startup-info-grid {
        grid-template-columns: 1fr;
    }
}

.logo-column {
    display: flex;
    flex-direction: column;
}

.logo-upload-square {
    width: 100px;
    height: 100px;
    border: 2px dashed var(--border);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
    background: var(--background);
    position: relative;
    overflow: hidden;
}

.logo-upload-square:hover {
    border-color: var(--primary);
    background: rgba(68, 174, 112, 0.05);
}

/* Hide the InputFile but keep it functional */
.logo-upload-input {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
    top: 0;
    left: 0;
    z-index: 1;
}

.logo-upload-icon {
    color: var(--muted);
    pointer-events: none;
    z-index: 0;
}

.logo-preview-square {
    width: 100px;
    height: 100px;
    border-radius: 0.5rem;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
}

.logo-preview-img-square {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-remove-overlay {
    position: absolute;
    top: 0.25rem;
    right: 0.25rem;
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.15s ease;
}

.logo-preview-square:hover .logo-remove-overlay {
    opacity: 1;
}

.logo-remove-overlay svg {
    color: white;
}

.logo-edit-container {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.info-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.char-counter {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ========================================
   State Badge
   ======================================== */
.state-badge {
    width: 2rem;
    height: 2rem;
    border-radius: 0.375rem;
    background: var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--foreground);
    flex-shrink: 0;
}

.dropdown-option-large .state-badge {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 0.875rem;
}

/* ========================================
   Large Dropdown (for States)
   ======================================== */
.dropdown-menu-large {
    max-height: 400px;
}

.dropdown-options-large {
    max-height: 350px;
}

.dropdown-option-large {
    padding: 0.75rem 1rem;
}

.dropdown-search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0.5rem;
    border-bottom: 1px solid var(--border);
}

.dropdown-search-icon {
    position: absolute;
    left: 1rem;
    color: var(--muted);
    pointer-events: none;
}

.dropdown-search-wrapper .dropdown-search {
    padding-left: 2.25rem;
    border: 1px solid var(--border);
    border-radius: 0.375rem;
}

/* ========================================
   Adquira Page - Listing with Filters
   ======================================== */
.adquira-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 24px 20px;
    min-height: 100vh;
}

.adquira-header {
    margin-bottom: 32px;
}

.adquira-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.9rem;
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.2s;
}

.btn-back:hover {
    color: var(--foreground);
}

.adquira-content {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

/* Filters Sidebar */
.filters-sidebar {
    background: var(--card-bg);
    position: relative;
}

.filters-panel {
    position: sticky;
    top: 24px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.filters-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.filters-title {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: var(--muted);
}

.btn-clear-filters {
    background: none;
    border: none;
    color: var(--accent);
    font-size: 0.8rem;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.btn-clear-filters:hover {
    background-color: var(--accent-light);
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.filter-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--foreground);
}

.filter-select,
.filter-input {
    padding: 10px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--muted);
    background: var(--background);
    transition: border-color 0.2s;
}

.filter-select:focus,
.filter-input:focus {
    outline: none;
    border-color: var(--accent);
}

.filter-range {
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-range .filter-input {
    flex: 1;
    min-width: 0;
}

.range-separator {
    color: var(--muted);
}

/* Main Content */
.startups-main {
    min-width: 0;
}

.results-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
}

.results-count {
    font-size: 0.9rem;
    color: var(--muted);
}

.sort-select {
    padding: 8px 12px;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9rem;
    color: var(--accent);
    background: var(--card-bg);
    cursor: pointer;
}

/* Startups Grid - 2 columns for listing */
.startups-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

/* Startup Card - Large version for listing */
.startup-card-large {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.startup-card-large:hover {
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.card-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.card-logo {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.card-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
}

.card-info {
    flex: 1;
    min-width: 0;
}

.card-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 4px 0;
}

.card-category {
    font-size: 0.8rem;
    color: var(--accent);
    font-weight: 500;
}

.card-description {
    font-size: 0.9rem;
    color: var(--muted);
    line-height: 1.5;
    margin: 0;
}

.card-metrics {
    display: flex;
    gap: 24px;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.card-metrics .metric {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.card-metrics .metric-label {
    font-size: 0.65rem;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: 0.05em;
}

.card-metrics .metric-value {
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-metrics .metric-value .value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground);
}

.growth {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
}

.growth.positive {
    color: #059669;
    background-color: rgba(5, 150, 105, 0.1);
}

.growth.negative {
    color: var(--danger);
    background-color: var(--danger-light);
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
    color: var(--muted);
}

.loading-container .spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 16px;
}

/* Pagination */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-page {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-page:not(:disabled):hover {
    border-color: var(--accent);
    color: var(--accent);
}

.btn-page:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 0.9rem;
    color: var(--muted);
}

/* Responsive - Adquira */
@media (max-width: 1024px) {
    .adquira-content {
        grid-template-columns: 1fr;
    }

    .filters-sidebar {
        order: -1;
    }

    .filters-panel {
        position: static;
    }

    .startups-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Startup Profile Page - TrustMRR Style
   ======================================== */
.startup-profile {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 20px;
}

/* Breadcrumb */
.profile-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 24px;
}

.profile-breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s;
}

.profile-breadcrumb a:hover {
    color: var(--foreground);
}

.profile-breadcrumb-separator {
    color: var(--muted-light);
}

/* Profile Header */
.profile-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.profile-header-left {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.profile-logo {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--background);
    border: 1px solid var(--border);
}

.profile-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--foreground);
    color: white;
    font-size: 2rem;
    font-weight: 700;
}

.profile-info h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0 0 4px 0;
    font-family: var(--font-body);
}

.profile-tagline {
    font-size: 1rem;
    color: var(--muted);
    margin: 0;
}

.profile-header-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-share:hover {
    border-color: var(--border-hover);
    background: var(--background);
}

.btn-visit {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: white;
    background: var(--foreground);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    transition: opacity 0.15s ease;
}

.btn-visit:hover {
    opacity: 0.85;
}

/* Metrics Grid - 4 Columns */
.profile-metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

@media (max-width: 900px) {
    .profile-metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .profile-metrics-grid {
        grid-template-columns: 1fr;
    }
}

.metric-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.metric-card-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    font-size: 0.8125rem;
    color: var(--muted);
    font-weight: 500;
}

.metric-rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    background: var(--background);
    border-radius: 4px;
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 600;
}

.metric-card-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 4px;
    font-variant-numeric: tabular-nums;
}

.metric-card-subtext {
    font-size: 0.8125rem;
    color: var(--muted);
}

/* Founder metric card */
.metric-founder {
    display: flex;
    align-items: center;
    gap: 12px;
}

.metric-founder-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: var(--background);
}

.metric-founder-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.metric-founder-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--foreground);
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.metric-founder-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Founded metric */
.metric-founded-date {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin-bottom: 8px;
}

.metric-country {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    color: var(--muted);
}

.metric-country-flag {
    width: 20px;
    height: 14px;
    border-radius: 2px;
}

/* Revenue Chart Card */
.revenue-chart-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.chart-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
}

.chart-value-container {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.chart-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
    font-variant-numeric: tabular-nums;
}

.chart-change {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.875rem;
    font-weight: 500;
}

.chart-change.positive {
    color: var(--accent);
}

.chart-change.negative {
    color: var(--danger);
}

.chart-change-arrow {
    font-size: 0.75rem;
}

.chart-filters {
    display: flex;
    gap: 12px;
}

.chart-filter-select {
    padding: 8px 32px 8px 12px;
    font-size: 0.875rem;
    color: var(--foreground);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%23737373' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 8px center;
    background-repeat: no-repeat;
    background-size: 1.25em 1.25em;
}

.chart-filter-select:focus {
    outline: none;
    border-color: var(--foreground);
}

.chart-container {
    height: 280px;
    position: relative;
}

.chart-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    font-size: 0.8125rem;
    color: var(--muted);
}

.chart-footer svg {
    color: var(--accent);
}

/* Startup Insights Section */
.insights-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
}

.insights-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 24px 0;
    font-family: var(--font-body);
}

.insights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px 48px;
}

@media (max-width: 768px) {
    .insights-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

.insight-item {
    display: flex;
    gap: 16px;
}

.insight-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--muted);
}

.insight-content {
    flex: 1;
    min-width: 0;
}

.insight-label {
    font-size: 0.6875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 4px;
    text-transform: uppercase;
}

.insight-value {
    font-size: 0.9375rem;
    color: var(--foreground);
    line-height: 1.5;
}

.insight-badge {
    display: inline-block;
    padding: 4px 12px;
    background: var(--background);
    border-radius: 4px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
}

.insights-divider {
    grid-column: 1 / -1;
    height: 1px;
    background: var(--border);
    margin: 8px 0;
}

/* Tags Section */
.profile-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.profile-tag {
    display: inline-block;
    padding: 6px 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 0.8125rem;
    color: var(--foreground);
    font-weight: 500;
}

/* Insight Label Tooltip */
.insight-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    margin-left: 6px;
    background: var(--border);
    border-radius: 50%;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--muted);
    cursor: help;
    vertical-align: middle;
}

/* Full Width Insight Item */
.insight-full-width {
    grid-column: 1 / -1;
}

/* Seeking Section */
.seeking-icon {
    background: var(--accent-light) !important;
    color: var(--accent) !important;
}

.seeking-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}

.seeking-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.seeking-badge.investment {
    background: var(--accent-light);
    color: var(--accent-foreground);
}

.seeking-badge.partners {
    background: #dbeafe;
    color: #1e40af;
}

.seeking-badge.talent {
    background: #f3e8ff;
    color: #7c3aed;
}

.seeking-description {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--foreground);
    line-height: 1.5;
}

/* Social Links Card */
.social-links-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 24px;
}

.social-links-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 20px;
}

.social-links-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.social-link-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    text-decoration: none;
    transition: all 0.15s ease;
}

.social-link-item:hover {
    border-color: var(--border-hover);
    background: var(--card-bg);
}

.social-link-item.twitter:hover {
    border-color: #0f1419;
    color: #0f1419;
}

.social-link-item.linkedin:hover {
    border-color: #0077b5;
    color: #0077b5;
}

.social-link-item.instagram:hover {
    border-color: #e4405f;
    color: #e4405f;
}

.social-link-item.github:hover {
    border-color: #24292f;
    color: #24292f;
}

/* Chart Empty State */
.chart-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 24px;
    text-align: center;
}

.chart-empty-icon {
    color: var(--muted-light);
    margin-bottom: 16px;
}

.chart-empty-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 8px;
}

.chart-empty-text {
    font-size: 0.9375rem;
    color: var(--muted);
    margin: 0 0 16px;
    max-width: 400px;
}

.chart-empty-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--primary);
    text-decoration: none;
}

.chart-empty-link:hover {
    text-decoration: underline;
}

/* Profile Actions Footer */
.profile-actions-footer {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.btn-embed,
.btn-edit {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-embed:hover,
.btn-edit:hover {
    border-color: var(--border-hover);
    background: var(--background);
}

/* Responsive - Profile Header */
@media (max-width: 640px) {
    .profile-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .profile-header-actions {
        width: 100%;
    }

    .profile-header-actions .btn-share,
    .profile-header-actions .btn-visit {
        flex: 1;
        justify-content: center;
    }

    .profile-logo {
        width: 64px;
        height: 64px;
    }

    .profile-info h1 {
        font-size: 1.5rem;
    }
}

/* Chart Placeholder */
.chart-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.1) 0%, rgba(99, 102, 241, 0.02) 100%);
    border-radius: 8px;
    color: var(--muted);
    font-size: 0.875rem;
}

/* Info tooltip icon */
.info-tooltip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid var(--border);
    font-size: 0.625rem;
    color: var(--muted);
    cursor: help;
}

/* Share button copied state */
.btn-share.copied {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.btn-share.copied:hover {
    background: var(--accent);
    border-color: var(--accent);
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    padding: 20px;
}

.modal-container {
    background: var(--card-bg);
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 24px 24px 16px;
    border-bottom: 1px solid var(--border);
}

.modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 4px 0;
}

.modal-subtitle {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    padding: 4px;
    cursor: pointer;
    color: var(--muted);
    transition: color 0.15s;
    border-radius: 4px;
}

.modal-close:hover {
    color: var(--foreground);
    background: var(--background);
}

.modal-body {
    padding: 24px;
}

/* Embed Preview */
.embed-preview {
    margin-bottom: 24px;
}

.embed-preview-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 12px;
}

.embed-preview-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.embed-preview-badge img {
    max-width: 100%;
    height: auto;
}

/* New Embed Badge with Logo */
.embed-badge-preview {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: #f8f9fa;
    border: 1px solid var(--border);
    border-radius: 8px;
    width: fit-content;
    margin: 0 auto;
}

.embed-badge-logo {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a2e;
}

.embed-badge-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.embed-badge-logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a1a2e;
    color: #fff;
}

.embed-badge-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.embed-badge-label {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

.embed-badge-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    line-height: 1.2;
}

.embed-badge-verified {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    color: #3b82f6;
}

.embed-badge-verified svg {
    color: #3b82f6;
}

.embed-badge-unverified {
    font-size: 0.7rem;
    font-weight: 500;
    color: var(--text-muted);
}

/* Embed Code Section */
.embed-code-section {
    margin-top: 16px;
}

.embed-code-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    margin-bottom: 12px;
}

.embed-code-container {
    position: relative;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 16px;
    padding-right: 100px;
}

.embed-code {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 0.8125rem;
    color: var(--foreground);
    word-break: break-all;
    white-space: pre-wrap;
    display: block;
}

.embed-copy-btn {
    position: absolute;
    top: 50%;
    right: 12px;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.embed-copy-btn:hover {
    border-color: var(--border-hover);
}

.embed-copy-btn svg {
    flex-shrink: 0;
}

/* ============================================
   Form Elements
   ============================================ */
.form-group {
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--foreground);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 10px 12px;
    font-size: 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--background);
    color: var(--foreground);
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.1);
}

.form-input::placeholder {
    color: var(--muted);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--muted);
    margin-top: 6px;
}

.form-error {
    font-size: 0.875rem;
    color: var(--destructive);
    background: rgba(239, 68, 68, 0.1);
    padding: 10px 12px;
    border-radius: 6px;
    margin-top: 8px;
}

/* Spinner */
.spinner-sm {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Button utilities */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--foreground);
  color: var(--primary-foreground);
  border: none;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.btn-primary:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-primary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--secondary);
    color: var(--secondary-foreground);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-secondary:hover {
    background: var(--muted-light);
}

/* Width utilities */
.w-full {
    width: 100%;
}

/* Margin utilities */
.mt-2 {
    margin-top: 8px;
}

.mt-4 {
    margin-top: 16px;
}

/* Text utilities */
.text-center {
    text-align: center;
}

.text-2xl {
    font-size: 1.5rem;
}

.tracking-widest {
    letter-spacing: 0.2em;
}

.text-accent {
    color: var(--accent);
}

/* ============================================
   Edit Page
   ============================================ */
.edit-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 32px 16px;
}

.edit-header {
    margin-bottom: 32px;
}

.edit-header h1 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-top: 16px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--muted);
    font-size: 0.875rem;
    text-decoration: none;
    transition: color 0.2s;
}

.back-link:hover {
    color: var(--foreground);
}

.edit-form {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.edit-section {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}

.edit-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.input-with-prefix {
    display: flex;
    align-items: stretch;
}



  .input-with-prefix .form-input {
    border-radius: 0 8px 8px 0;
    padding-left: 36px;
  }

.checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.edit-actions {
    display: flex;
    gap: 16px;
    padding-top: 16px;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--destructive);
    color: var(--destructive-foreground);
    border: none;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 500;
    cursor: pointer;
    transition: opacity 0.2s;
}

.btn-danger:hover:not(:disabled) {
    opacity: 0.9;
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Alert Success */
.alert-success {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 16px;
    background: var(--accent-light);
    color: var(--accent-foreground);
    border-radius: 8px;
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

/* Utility classes */
.flex {
    display: flex;
}

.flex-1 {
    flex: 1;
}

.gap-3 {
    gap: 12px;
}

.mb-4 {
    margin-bottom: 16px;
}

.text-muted {
    color: var(--muted);
}

/* ============================================
   FOR SALE BANNER
   ============================================ */

.for-sale-banner {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 24px;
  background-color: rgba(41, 37, 36, 0.85); /* 85% opaco */
  color: white;
  margin: -24px -24px 24px -24px;
  border-radius: 16px 16px;
}

.for-sale-banner-content {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    flex: 1;
}

.for-sale-back {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: #fbbf24;
    transition: opacity 0.15s;
    flex-shrink: 0;
}

.for-sale-back:hover {
    opacity: 0.8;
}

.for-sale-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.for-sale-title {
    font-size: 0.9375rem;
    color: #d6d3d1;
}

.for-sale-title strong {
    color: white;
    font-weight: 600;
}

.for-sale-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.for-sale-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
}

.for-sale-badge.revenue {
    color: #4ade80;
}

.for-sale-badge.views {
    color: #fbbf24;
}

.for-sale-badge.new {
    color: #a78bfa;
}

.for-sale-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

.for-sale-btn-save {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    color: #292524;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
}

.for-sale-btn-save:hover {
    background: #f5f5f4;
}

.for-sale-btn-save.saved {
    background: #fee2e2;
    color: #dc2626;
}

.for-sale-btn-save.saved:hover {
    background: #fecaca;
}

.for-sale-btn-contact {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #ea580c;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.15s;
}

.for-sale-btn-contact:hover {
    background: #c2410c;
    color: white;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .for-sale-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
        margin: -16px -16px 16px -16px;
        border-radius: 0;
    }

    .for-sale-banner-content {
        width: 100%;
    }

    .for-sale-actions {
        width: 100%;
        justify-content: stretch;
    }

    .for-sale-btn-save,
    .for-sale-btn-contact {
        flex: 1;
        justify-content: center;
    }
}

/* ========================================
   Search Dropdown (Typeahead)
   ======================================== */
.search-dropdown-wrapper {
    position: relative;
    flex: 1;
}

.search-dropdown-wrapper .search-input-wrapper {
    position: relative;
}

.search-dropdown-wrapper .search-input-wrapper .search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted);
    width: 16px;
    height: 16px;
    pointer-events: none;
}

.search-dropdown-wrapper .form-input {
    padding-left: 2.75rem;
    padding-right: 2.5rem;
}

.search-clear-btn {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.15s, color 0.15s;
}

.search-clear-btn:hover {
    background: var(--background);
    color: var(--foreground);
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 4px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    max-height: 480px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.search-dropdown-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1.5rem;
    color: var(--muted);
    font-size: 0.875rem;
}

.search-dropdown-results {
    overflow-y: auto;
    max-height: 360px;
}

.search-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background 0.1s;
}

.search-dropdown-item:hover,
.search-dropdown-item.selected {
    background: var(--background);
}

.search-dropdown-item.selected {
    background: rgba(68, 174, 112, 0.08);
}

.search-dropdown-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.search-dropdown-avatar {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--background);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    color: var(--muted);
    flex-shrink: 0;
}

.search-dropdown-info {
    flex: 1;
    min-width: 0;
}

.search-dropdown-name {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--foreground);
    display: flex;
    align-items: center;
    gap: 0.375rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-dropdown-name mark {
    background: var(--warning-light);
    color: inherit;
    padding: 0 2px;
    border-radius: 2px;
}

.search-dropdown-name .ph-seal-check {
    font-size: 0.875rem;
    flex-shrink: 0;
}

.badge-for-sale-sm {
    display: inline-flex;
    align-items: center;
    padding: 2px 6px;
    font-size: 0.625rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: var(--orange);
    color: white;
    border-radius: 4px;
    flex-shrink: 0;
}

.search-dropdown-meta {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: var(--muted);
    margin-top: 2px;
}

.search-dropdown-separator {
    opacity: 0.5;
}

.search-dropdown-mrr {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--accent);
    flex-shrink: 0;
}

.search-dropdown-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem 1rem;
    color: var(--muted);
    font-size: 0.875rem;
    text-align: center;
}

.search-dropdown-empty svg {
    opacity: 0.5;
}

.search-dropdown-footer {
    border-top: 1px solid var(--border);
    padding: 0.75rem 1rem;
}

.search-dropdown-view-all {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.625rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    background: transparent;
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: background 0.15s, color 0.15s;
}

.search-dropdown-view-all:hover {
    background: var(--accent);
    color: white;
}

.search-dropdown-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    padding: 0.625rem 1rem;
    border-top: 1px solid var(--border);
    background: var(--background);
    font-size: 0.75rem;
    color: var(--muted);
}

.search-dropdown-hint kbd {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 20px;
    padding: 2px 5px;
    font-family: inherit;
    font-size: 0.6875rem;
    font-weight: 500;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 4px;
    box-shadow: 0 1px 0 var(--border);
}

.search-dropdown-hint span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ========================================
   Filters Bar
   ======================================== */
.filters-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.filter-select {
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.15s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.filter-select:hover {
    border-color: var(--border-hover);
}

.filter-select:focus {
    outline: none;
    border-color: var(--foreground);
}

.filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 999px;
    cursor: pointer;
    transition: all 0.15s;
}

.filter-chip:hover {
    border-color: var(--border-hover);
}

.filter-chip.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.filter-chip-clear {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    margin-left: 0.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
}

.filters-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--muted);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
}

.filters-clear:hover {
    color: var(--danger);
}

/* Sort Select */
.sort-select {
    margin-left: auto;
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--foreground);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.15s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.5rem center;
}

.sort-select:hover {
    border-color: var(--border-hover);
}

/* ========================================
   Search Dropdown Mobile
   ======================================== */
@media (max-width: 640px) {
    .search-dropdown {
        position: fixed;
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        margin-top: 0;
        border-radius: var(--radius-md) var(--radius-md) 0 0;
        max-height: 70vh;
    }

    .search-dropdown-hint {
        display: none;
    }

    .filters-bar {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.5rem;
        margin-bottom: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .filters-bar::-webkit-scrollbar {
        display: none;
    }

    .filter-select,
    .filter-chip {
        flex-shrink: 0;
    }

    .sort-select {
        margin-left: 0;
    }
}

/* ========================================
   Claim Modal
   ======================================== */
.claim-info {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--background);
    border-radius: var(--radius-sm);
}

.claim-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.claim-info-icon.success {
    background: var(--accent-light);
    color: var(--accent);
}

.claim-info-text {
    flex: 1;
}

.claim-info-text p {
    margin: 0;
    color: var(--foreground);
}

.claim-email {
    font-weight: 600;
    color: var(--accent);
    margin-top: 0.25rem !important;
}

.code-input {
    font-family: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
    font-size: 1.25rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    text-align: center;
}

.claim-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem 0;
}

.claim-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.claim-success h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 0.5rem 0;
}

.claim-success p {
    margin: 0;
}

/* ========================================
   Badges (Verified, Featured, Claimed)
   ======================================== */
.badge-verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 999px;
}

.badge-verified svg,
.badge-verified i {
    font-size: 0.875rem;
}

.badge-featured {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--warning-light);
    color: var(--warning-foreground);
    border-radius: 999px;
}

.badge-featured svg,
.badge-featured i {
    font-size: 0.875rem;
}

.badge-claimed {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 999px;
}

/* Claim Button */
.btn-claim {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-light);
    border: 1px solid var(--accent);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s;
}

.btn-claim:hover {
    background: var(--accent);
    color: white;
}

/* Badge group in profile header */
.profile-badges {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

/* Alert styles */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
}

.alert i {
    flex-shrink: 0;
    font-size: 1.125rem;
}

.alert-danger {
    background: var(--danger-light);
    color: var(--danger-foreground);
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.alert-success {
    background: var(--accent-light);
    color: var(--accent-foreground);
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.alert-warning {
    background: var(--warning-light);
    color: var(--warning-foreground);
    border: 1px solid rgba(251, 191, 36, 0.2);
}

/* Button link */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--accent);
    background: transparent;
    border: none;
    cursor: pointer;
    transition: color 0.15s;
}

.btn-link:hover {
    color: var(--accent-foreground);
    text-decoration: underline;
}

.btn-link:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ========================================
   Favorites Page
   ======================================== */
.favorites-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 24px 20px;
}

.favorites-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
}

.favorites-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: all 0.15s;
}

.favorites-back:hover {
    color: var(--foreground);
    border-color: var(--border-hover);
}

.favorites-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
    margin: 0;
    flex: 1;
}

.favorites-count {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    padding: 6px 12px;
    background: var(--background);
    border-radius: 999px;
}

.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.favorite-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.favorite-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.favorite-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.favorite-card-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid var(--border);
}

.favorite-card-logo-placeholder {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: var(--foreground);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    flex-shrink: 0;
}

.favorite-card-info {
    flex: 1;
    min-width: 0;
}

.favorite-card-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 2px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.favorite-card-category {
    font-size: 0.8125rem;
    color: var(--muted);
    margin: 0;
}

.favorite-remove-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 6px;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s;
    flex-shrink: 0;
}

.favorite-remove-btn:hover {
    background: var(--danger-light);
    color: var(--danger);
}

.favorite-card-tagline {
    font-size: 0.9375rem;
    color: var(--foreground);
    line-height: 1.5;
    margin: 0 0 12px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.favorite-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid var(--border);
}

.favorite-card-date {
    font-size: 0.75rem;
    color: var(--muted);
}

/* ========================================
   Contact Modal
   ======================================== */
.contact-info {
    padding: 12px 16px;
    background: var(--background);
    border-radius: var(--radius-sm);
}

.contact-info p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--muted);
}

.contact-info strong {
    color: var(--foreground);
}

.contact-success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px 0;
}

.contact-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: var(--accent-light);
    color: var(--accent);
    border-radius: 50%;
    margin-bottom: 16px;
}

.contact-success h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--foreground);
    margin: 0 0 8px 0;
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

/* Modal Footer */
.modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    padding: 16px 24px;
    border-top: 1px solid var(--border);
    background: var(--background);
    border-radius: 0 0 16px 16px;
}

/* Modal Size Variants */
.modal-md {
    max-width: 480px;
}

.modal-lg {
    max-width: 640px;
}

/* Responsive - Favorites */
@media (max-width: 640px) {
    .favorites-header {
        flex-wrap: wrap;
    }

    .favorites-title {
        order: 3;
        width: 100%;
        font-size: 1.25rem;
    }

    .favorites-count {
        margin-left: auto;
    }

    .favorites-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Category & Collection Pages
   ======================================== */

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    color: var(--muted);
    margin-bottom: 16px;
}

.breadcrumb a {
    color: var(--muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-separator {
    color: var(--border);
}

/* Category Header */
.category-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 8px;
}

.category-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    object-fit: contain;
}

.category-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.category-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Category Tags */
.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-main);
    font-size: 0.875rem;
    text-decoration: none;
    transition: all 0.15s ease;
}

.category-tag:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.category-tag-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 24px;
    height: 20px;
    padding: 0 6px;
    background: var(--background);
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--muted);
}

/* Collection Header */
.collection-cover {
    width: 100%;
    max-width: 800px;
    margin: 0 auto 24px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 21/9;
}

.collection-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.collection-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.collection-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.collection-description {
    max-width: 600px;
    margin: 0 auto;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.6;
    text-align: center;
}

/* Collection Type Badge */
.collection-type-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 100px;
}

.collection-type-badge.small {
    padding: 2px 8px;
    font-size: 0.625rem;
}

/* Collection Card */
.collection-card {
    display: flex;
    flex-direction: column;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.collection-card:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.collection-card-cover {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.collection-card-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 16px;
}

.collection-card-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0;
}

.collection-card-count {
    font-size: 0.875rem;
    color: var(--muted);
    margin: 0;
}

/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* Responsive - Category & Collection */
@media (max-width: 640px) {
    .category-title,
    .collection-title {
        font-size: 1.5rem;
    }

    .category-header {
        flex-direction: column;
        gap: 8px;
    }

    .collection-cover {
        border-radius: 0;
        margin-left: -16px;
        margin-right: -16px;
        max-width: none;
        width: calc(100% + 32px);
    }

    .breadcrumb {
        font-size: 0.75rem;
    }
}

/* ============================================
   PIXEL CONFIG PAGE
   ============================================ */

/* Code Block */
.code-block-container {
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
    background: #1e1e1e;
}

.code-block-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: #2d2d2d;
    border-bottom: 1px solid #3d3d3d;
    font-size: 0.75rem;
    color: #999;
}

.code-copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: transparent;
    border: 1px solid #555;
    border-radius: 4px;
    color: #ccc;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.15s;
}

.code-copy-btn:hover {
    background: #3d3d3d;
    border-color: #666;
    color: #fff;
}

.code-block {
    margin: 0;
    padding: 16px;
    background: #1e1e1e;
    color: #d4d4d4;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.8125rem;
    line-height: 1.5;
    overflow-x: auto;
    white-space: pre-wrap;
    word-break: break-all;
}

/* Status Toggle */
.status-toggle-container {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.status-toggle {
    position: relative;
    display: inline-block;
    width: 52px;
    height: 28px;
    flex-shrink: 0;
}

.status-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.status-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background-color: #ccc;
    border-radius: 28px;
    transition: 0.3s;
}

.status-toggle-slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    border-radius: 50%;
    transition: 0.3s;
}

.status-toggle input:checked + .status-toggle-slider {
    background-color: var(--accent);
}

.status-toggle input:checked + .status-toggle-slider:before {
    transform: translateX(24px);
}

.status-toggle-label {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-toggle-title {
    font-weight: 600;
    font-size: 0.9375rem;
}

.status-toggle-description {
    font-size: 0.8125rem;
}

/* API Keys */
.api-key-item {
    padding: 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    margin-bottom: 16px;
}

.api-key-item:last-of-type {
    margin-bottom: 0;
}

.api-key-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.api-key-label {
    font-weight: 600;
    font-size: 0.875rem;
    margin-right: 8px;
}

.api-key-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.6875rem;
    font-weight: 500;
    text-transform: uppercase;
}

.api-key-badge-public {
    background: var(--accent-light);
    color: var(--accent-foreground);
}

.api-key-badge-secret {
    background: var(--warning-light);
    color: var(--warning-foreground);
}

.api-key-value {
    display: block;
    padding: 10px 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.8125rem;
    color: var(--foreground);
    word-break: break-all;
    margin-bottom: 8px;
}

.api-key-secret {
    color: var(--muted);
}

/* Small Button */
.btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 10px;
    font-size: 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.15s;
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--muted);
}

.btn-outline:hover {
    background: var(--background);
    border-color: var(--border-hover);
    color: var(--foreground);
}

.btn-warning {
    border-color: var(--warning);
    color: var(--warning-foreground);
}

.btn-warning:hover {
    background: var(--warning-light);
}

.btn-warning:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Rotate Keys Section */
.rotate-keys-section {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.rotate-keys-title {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 8px;
}

/* Webhooks */
.webhooks-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.webhook-item {
    padding: 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
}

.webhook-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.webhook-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.webhook-name {
    font-weight: 600;
    font-size: 0.9375rem;
}

.webhook-url-container {
    display: flex;
    align-items: stretch;
    gap: 8px;
    margin-bottom: 8px;
}

.webhook-url {
    flex: 1;
    display: block;
    padding: 10px 12px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    font-family: 'Consolas', 'Monaco', 'Courier New', monospace;
    font-size: 0.75rem;
    color: var(--foreground);
    word-break: break-all;
}

.webhook-url-container .btn-sm {
    align-self: center;
}

/* ============================================
   EDIT PAGE NAVIGATION
   ============================================ */

.edit-nav {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
    padding: 16px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.edit-nav-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--foreground);
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.15s;
}

.edit-nav-item:hover {
    background: var(--accent-light);
    border-color: var(--accent);
    color: var(--accent-foreground);
}

.edit-nav-item svg {
    color: var(--muted);
    transition: color 0.15s;
}

.edit-nav-item:hover svg {
    color: var(--accent);
}

/* ============================================
   ANALYTICS PAGE
   ============================================ */

.analytics-page {
    max-width: 1200px;
    margin: 0 auto;
    padding: 32px 16px;
}

.analytics-controls {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 24px;
}

.date-range-selector {
    display: flex;
    gap: 4px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 4px;
}

.date-range-btn {
    padding: 8px 16px;
    background: transparent;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.15s;
}

.date-range-btn:hover {
    color: var(--foreground);
    background: var(--background);
}

.date-range-btn.active {
    background: var(--accent);
    color: white;
}

/* KPI Cards */
.analytics-kpis {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 1024px) {
    .analytics-kpis {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .analytics-kpis {
        grid-template-columns: 1fr;
    }
}

.kpi-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.kpi-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    flex-shrink: 0;
}

.kpi-icon-revenue {
    background: #dcfce7;
    color: #16a34a;
}

.kpi-icon-visitors {
    background: #dbeafe;
    color: #2563eb;
}

.kpi-icon-conversion {
    background: #fef3c7;
    color: #d97706;
}

.kpi-icon-pageviews {
    background: #f3e8ff;
    color: #9333ea;
}

.kpi-content {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.kpi-label {
    font-size: 0.8125rem;
    color: var(--muted);
}

.kpi-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--foreground);
}

.kpi-subtitle {
    font-size: 0.75rem;
    color: var(--muted);
}

.kpi-change {
    font-size: 0.8125rem;
    font-weight: 500;
}

.kpi-change.positive {
    color: #16a34a;
}

.kpi-change.negative {
    color: #dc2626;
}

/* Analytics Cards */
.analytics-row {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .analytics-row {
        flex-direction: column;
    }
}

.analytics-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 24px;
}

.analytics-card-half {
    flex: 1;
    margin-bottom: 0;
}

.analytics-card-third {
    flex: 1;
    margin-bottom: 0;
}

.analytics-card-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--foreground);
    margin-bottom: 16px;
}

.analytics-big-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--foreground);
}

/* Channel Table */
.channel-table-container {
    overflow-x: auto;
}

.channel-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.channel-table th {
    text-align: left;
    padding: 12px 16px;
    font-weight: 500;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.channel-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}

.channel-table tr:last-child td {
    border-bottom: none;
}

.channel-table .text-right {
    text-align: right;
}

.channel-table .font-medium {
    font-weight: 500;
}

/* Channel Badges */
.channel-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.channel-direct {
    background: #f3f4f6;
    color: #374151;
}

.channel-organic {
    background: #dcfce7;
    color: #166534;
}

.channel-paid {
    background: #fee2e2;
    color: #991b1b;
}

.channel-social {
    background: #dbeafe;
    color: #1e40af;
}

.channel-referral {
    background: #fef3c7;
    color: #92400e;
}

.channel-email {
    background: #f3e8ff;
    color: #7c3aed;
}

.channel-affiliate {
    background: #fce7f3;
    color: #be185d;
}

.channel-unknown {
    background: #f3f4f6;
    color: #6b7280;
}

/* Percent Bar */
.percent-bar-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.percent-bar {
    height: 8px;
    background: var(--accent);
    border-radius: 4px;
    min-width: 4px;
    max-width: 100px;
}

/* ROI */
.roi-positive {
    color: #16a34a;
    font-weight: 500;
}

/* Empty State */
.analytics-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 64px 24px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-align: center;
}

.analytics-empty svg {
    color: var(--muted);
    margin-bottom: 16px;
}

.analytics-empty h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.analytics-empty p {
    color: var(--muted);
    margin-bottom: 24px;
}
