/* ==========================================================================
   ParagX SaaS Infrastructure — Minimal Premium Design System
   Aesthetic: Clean, High-Contrast, Professional Blue, Charcoal, Crisp Micro-Borders
   Stripe / Linear / Vercel Grade Minimalism — No AI-generated neon clutter
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Minimal Premium Design Tokens & Color Palette (Light Theme Default)
   -------------------------------------------------------------------------- */
:root {
    /* Brand Identity — Professional Royal Blue (#1677F2) */
    --brand-blue: #1677f2;
    --brand-blue-hover: #0d62d1;
    --brand-blue-active: #0a4fb0;
    --brand-blue-subtle: #eff6ff;
    --brand-blue-border: rgba(22, 119, 242, 0.18);

    /* Primary Semantic Tokens */
    --primary: #1677f2;
    --primary-hover: #0d62d1;
    --primary-active: #0a4fb0;
    --primary-subtle: #eff6ff;
    --primary-border: rgba(22, 119, 242, 0.18);
    --primary-glow: rgba(22, 119, 242, 0.15);

    /* Full Backward-Compatibility Aliases */
    --brand-indigo: #1677f2;
    --brand-indigo-light: #3b82f6;
    --brand-indigo-dark: #0d62d1;
    --brand-purple: #1677f2;
    --brand-purple-light: #3b82f6;
    --brand-purple-dark: #0d62d1;
    --brand-glow: rgba(22, 119, 242, 0.12);

    /* Backgrounds — Clean White & Subtle Light Grey */
    --bg-base: #f8fafc;
    --bg-gradient: none;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #fbfcfd;
    --bg-card-highlight: #f8fafc;
    --bg-input: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.88);
    --bg-announcement: #f8fafc;
    --bg-footer: #f8fafc;

    /* Text Colors — Charcoal / Slate Palette */
    --text-primary: #0f172a;       /* Deep Charcoal (Slate 900) */
    --text-secondary: #475569;     /* Balanced Muted Slate (Slate 600) */
    --text-muted: #64748b;         /* Muted Slate (Slate 500) */
    --text-subtle: #94a3b8;        /* Micro Hints (Slate 400) */

    /* Semantic Status Accents — Clean, Muted & Modern */
    --accent-green: #10b981;
    --accent-green-bg: #ecfdf5;
    --accent-blue: #2563eb;
    --accent-blue-bg: #eff6ff;
    --accent-pink: #2563eb;
    --accent-yellow: #f59e0b;
    --accent-yellow-bg: #fffbeb;
    --accent-red: #ef4444;
    --accent-red-bg: #fef2f2;

    /* Borders — Crisp 1px Micro-Borders */
    --border-subtle: #e2e8f0;      /* Slate 200 */
    --border-medium: #cbd5e1;      /* Slate 300 */
    --border-indigo: rgba(22, 119, 242, 0.22);
    --border-focus: #1677f2;

    /* Modern Geometric Radii */
    --radius-xs: 4px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 9999px;

    /* Minimalist Elevation Shadows (No AI neon glow) */
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06), 0 2px 4px -2px rgba(15, 23, 42, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(15, 23, 42, 0.05), 0 4px 6px -4px rgba(15, 23, 42, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.05), 0 8px 10px -6px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 0 0 3px rgba(37, 99, 235, 0.12);

    /* Typography & Font Stacks */
    --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'SFMono-Regular', Menlo, Consolas, monospace;

    /* Consistent Spacing Scale (4px / 8px Modular Rhythm) */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-5: 20px;
    --space-6: 24px;
    --space-8: 32px;
    --space-10: 40px;
    --space-12: 48px;
    --space-16: 64px;

    /* Smooth Micro-Transitions */
    --transition: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   Minimal Premium Dark Theme Tokens (Deep Zinc Charcoal & Sapphire Blue)
   -------------------------------------------------------------------------- */
[data-theme="dark"] {
    /* Brand Identity in Dark Mode — Crisp Sapphire Blue */
    --brand-blue: #3b82f6;
    --brand-blue-hover: #60a5fa;
    --brand-blue-active: #2563eb;
    --brand-blue-subtle: rgba(59, 130, 246, 0.12);
    --brand-blue-border: rgba(59, 130, 246, 0.25);

    /* Primary Semantic Tokens in Dark Mode */
    --primary: #3b82f6;
    --primary-hover: #60a5fa;
    --primary-active: #2563eb;
    --primary-subtle: rgba(59, 130, 246, 0.12);
    --primary-border: rgba(59, 130, 246, 0.25);
    --primary-glow: rgba(59, 130, 246, 0.25);

    --brand-indigo: #3b82f6;
    --brand-indigo-light: #60a5fa;
    --brand-indigo-dark: #2563eb;
    --brand-purple: #3b82f6;
    --brand-purple-light: #60a5fa;
    --brand-purple-dark: #2563eb;
    --brand-glow: rgba(59, 130, 246, 0.18);

    /* Backgrounds — Deep Zinc 950 Minimal Surfaces */
    --bg-base: #09090b;
    --bg-gradient: none;
    --bg-surface: #111114;
    --bg-surface-elevated: #16161a;
    --bg-card: #111114;
    --bg-card-hover: #17171d;
    --bg-card-highlight: #141418;
    --bg-input: #0e0e11;
    --bg-nav: rgba(9, 9, 11, 0.88);
    --bg-announcement: #0e0e11;
    --bg-footer: #09090b;

    /* Text Colors — High Contrast Off-White & Slate */
    --text-primary: #f8fafc;       /* Slate 50 */
    --text-secondary: #94a3b8;     /* Slate 400 */
    --text-muted: #64748b;         /* Slate 500 */
    --text-subtle: #475569;        /* Slate 600 */

    /* Semantic Status Accents in Dark Mode */
    --accent-green: #10b981;
    --accent-green-bg: rgba(16, 185, 129, 0.12);
    --accent-blue: #3b82f6;
    --accent-blue-bg: rgba(59, 130, 246, 0.12);
    --accent-pink: #3b82f6;
    --accent-yellow: #f59e0b;
    --accent-yellow-bg: rgba(245, 158, 11, 0.12);
    --accent-red: #ef4444;
    --accent-red-bg: rgba(239, 68, 68, 0.12);

    /* Borders — Subtle Micro-Borders */
    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);
    --border-indigo: rgba(59, 130, 246, 0.35);
    --border-focus: #3b82f6;

    /* Shadows — Soft Dark Elevation */
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.6);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.7);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 0 3px rgba(59, 130, 246, 0.25);
}

/* ==========================================================================
   MULTI-THEME ARCHITECTURE: ParagX | Dark Pro | Marketplace
   Shared Backend: Same Services, Same Orders, Same Users, Same Wallet, Same API
   ========================================================================== */

/* --------------------------------------------------------------------------
   THEME 1: ParagX Modern Portal (Flagship Minimal SaaS)
   -------------------------------------------------------------------------- */
[data-site-theme="paragx"] {
    --brand-indigo: #2563eb;
    --brand-indigo-light: #3b82f6;
    --brand-indigo-dark: #1d4ed8;
    --brand-purple: #2563eb;
    --brand-purple-light: #3b82f6;
    --brand-glow: rgba(37, 99, 235, 0.14);
    --primary: #2563eb;
    --primary-hover: #1d4ed8;
    --primary-subtle: #eff6ff;
}
[data-site-theme="paragx"] .brand-badge {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}
[data-theme="dark"][data-site-theme="paragx"] .brand-badge,
[data-theme="dark"] [data-site-theme="paragx"] .brand-badge {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.3);
}

/* --------------------------------------------------------------------------
   THEME 2: Dark Pro (High-Density Obsidian & Sapphire Pro Terminal)
   -------------------------------------------------------------------------- */
[data-theme="dark"][data-site-theme="dark-pro"],
[data-theme="dark"] [data-site-theme="dark-pro"] {
    --brand-indigo: #3b82f6;
    --brand-indigo-light: #60a5fa;
    --brand-indigo-dark: #2563eb;
    --brand-purple: #10b981;
    --brand-purple-light: #34d399;
    --brand-purple-dark: #059669;
    --brand-glow: rgba(59, 130, 246, 0.15);

    --bg-base: #09090b;
    --bg-gradient: none;
    --bg-surface: #111114;
    --bg-surface-elevated: #16161a;
    --bg-card: #111114;
    --bg-card-hover: #17171d;
    --bg-card-highlight: #141418;
    --bg-input: #0e0e11;
    --bg-nav: rgba(9, 9, 11, 0.88);
    --bg-announcement: #0e0e11;
    --bg-footer: #09090b;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);
    --border-indigo: rgba(59, 130, 246, 0.35);

    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-pill: 8px;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.8);
    --shadow-glow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Dark Pro Component Styling — Minimalist & Architectural */
[data-theme="dark"][data-site-theme="dark-pro"] body,
[data-theme="dark"] [data-site-theme="dark-pro"] body {
    background-color: #09090b;
    color: #f8fafc;
}
[data-theme="dark"][data-site-theme="dark-pro"] .navbar {
    background: rgba(9, 9, 11, 0.88);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}
[data-theme="dark"][data-site-theme="dark-pro"] .brand-name {
    background: linear-gradient(135deg, #ffffff 40%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
[data-theme="dark"][data-site-theme="dark-pro"] .brand-badge {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd !important;
    border: 1px solid rgba(59, 130, 246, 0.3);
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: none;
}
[data-theme="dark"][data-site-theme="dark-pro"] .button-pill.primary,
[data-theme="dark"][data-site-theme="dark-pro"] .btn-hero-primary,
[data-theme="dark"][data-site-theme="dark-pro"] #marketContinueBtn,
[data-theme="dark"][data-site-theme="dark-pro"] .btn-order-now {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}
[data-theme="dark"][data-site-theme="dark-pro"] .button-pill.primary:hover,
[data-theme="dark"][data-site-theme="dark-pro"] .btn-hero-primary:hover,
[data-theme="dark"][data-site-theme="dark-pro"] #marketContinueBtn:hover {
    background: #1d4ed8;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
[data-theme="dark"][data-site-theme="dark-pro"] .headline-gradient-ig,
[data-theme="dark"][data-site-theme="dark-pro"] .headline-purple {
    background: linear-gradient(135deg, #ffffff 40%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="dark"][data-site-theme="dark-pro"] .dash-stat-card,
[data-theme="dark"][data-site-theme="dark-pro"] .ig-clean-card,
[data-theme="dark"][data-site-theme="dark-pro"] .calc-card,
[data-theme="dark"][data-site-theme="dark-pro"] .marketplace-summary-card,
[data-theme="dark"][data-site-theme="dark-pro"] .admin-section-box,
[data-theme="dark"][data-site-theme="dark-pro"] .stat-card {
    background: #111114;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-sm);
}
[data-theme="dark"][data-site-theme="dark-pro"] .dash-stat-card:hover,
[data-theme="dark"][data-site-theme="dark-pro"] .ig-clean-card:hover {
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: var(--shadow-md);
}
[data-theme="dark"][data-site-theme="dark-pro"] .badge-tag.brand,
[data-theme="dark"][data-site-theme="dark-pro"] .hero-badge {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.25);
}
[data-theme="dark"][data-site-theme="dark-pro"] .badge-tag.brand::before {
    background: #3b82f6;
    box-shadow: none;
}
[data-theme="dark"][data-site-theme="dark-pro"] .ambient-gradient-layer {
    background: none;
}
[data-theme="dark"][data-site-theme="dark-pro"] .ambient-grid-layer {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}
[data-theme="dark"][data-site-theme="dark-pro"] input,
[data-theme="dark"][data-site-theme="dark-pro"] select,
[data-theme="dark"][data-site-theme="dark-pro"] textarea {
    background-color: #0e0e11 !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    color: #f8fafc !important;
}
[data-theme="dark"][data-site-theme="dark-pro"] input:focus,
[data-theme="dark"][data-site-theme="dark-pro"] select:focus,
[data-theme="dark"][data-site-theme="dark-pro"] textarea:focus {
    border-color: #3b82f6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* --------------------------------------------------------------------------
   LIGHT MODE ENFORCEMENT — Guarantees crisp, high-contrast, pure white UI
   -------------------------------------------------------------------------- */
[data-theme="light"] body,
[data-theme="light"] .portal-body,
html:not([data-theme="dark"]) body,
html:not([data-theme="dark"]) .portal-body {
    background-color: #f8fafc !important;
    background-image: none !important;
    color: #0f172a !important;
}
[data-theme="light"] .navbar,
html:not([data-theme="dark"]) .navbar {
    background: rgba(255, 255, 255, 0.88) !important;
    border-bottom: 1px solid #e2e8f0 !important;
    backdrop-filter: blur(12px) !important;
}
[data-theme="light"] .brand-name,
html:not([data-theme="dark"]) .brand-name {
    background: linear-gradient(135deg, #0f172a 40%, #2563eb 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}
[data-theme="light"] .brand-badge,
html:not([data-theme="dark"]) .brand-badge {
    background: rgba(37, 99, 235, 0.08) !important;
    color: #2563eb !important;
    border: 1px solid rgba(37, 99, 235, 0.2) !important;
    box-shadow: none !important;
}
[data-theme="light"] .dash-stat-card,
[data-theme="light"] .ig-clean-card,
[data-theme="light"] .calc-card,
[data-theme="light"] .marketplace-summary-card,
[data-theme="light"] .admin-section-box,
[data-theme="light"] .stat-card,
[data-theme="light"] .settings-card-group,
[data-theme="light"] .service-preview-card,
[data-theme="light"] .deposit-channel-card,
[data-theme="light"] .portal-card,
[data-theme="light"] .dashboard-header-bar,
[data-theme="light"] .paragx-order-card,
[data-theme="light"] .paragx-summary-card,
html:not([data-theme="dark"]) .dash-stat-card,
html:not([data-theme="dark"]) .ig-clean-card,
html:not([data-theme="dark"]) .calc-card,
html:not([data-theme="dark"]) .marketplace-summary-card,
html:not([data-theme="dark"]) .admin-section-box,
html:not([data-theme="dark"]) .stat-card,
html:not([data-theme="dark"]) .settings-card-group,
html:not([data-theme="dark"]) .service-preview-card,
html:not([data-theme="dark"]) .deposit-channel-card,
html:not([data-theme="dark"]) .portal-card,
html:not([data-theme="dark"]) .dashboard-header-bar,
html:not([data-theme="dark"]) .paragx-order-card,
html:not([data-theme="dark"]) .paragx-summary-card {
    background: #ffffff !important;
    color: #0f172a !important;
    border: 1px solid #e2e8f0 !important;
    box-shadow: var(--shadow-sm) !important;
}
[data-theme="light"] .order-service-details-card,
[data-theme="light"] .summary-wallet-panel,
html:not([data-theme="dark"]) .order-service-details-card,
html:not([data-theme="dark"]) .summary-wallet-panel {
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
}
[data-theme="light"] .order-header-title,
[data-theme="light"] .summary-service-name,
[data-theme="light"] .section-main-title,
[data-theme="light"] .dash-user-name,
html:not([data-theme="dark"]) .order-header-title,
html:not([data-theme="dark"]) .summary-service-name,
html:not([data-theme="dark"]) .section-main-title,
html:not([data-theme="dark"]) .dash-user-name {
    color: #0f172a !important;
}
[data-theme="light"] .order-field-label,
[data-theme="light"] .spec-value,
[data-theme="light"] .summary-charge-row,
html:not([data-theme="dark"]) .order-field-label,
html:not([data-theme="dark"]) .spec-value,
html:not([data-theme="dark"]) .summary-charge-row {
    color: #1e293b !important;
}
[data-theme="light"] input,
[data-theme="light"] select,
[data-theme="light"] textarea,
[data-theme="light"] .order-form-select,
[data-theme="light"] .order-form-input,
html:not([data-theme="dark"]) input,
html:not([data-theme="dark"]) select,
html:not([data-theme="dark"]) textarea,
html:not([data-theme="dark"]) .order-form-select,
html:not([data-theme="dark"]) .order-form-input {
    background-color: #ffffff !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}
[data-theme="light"] input:focus,
[data-theme="light"] select:focus,
[data-theme="light"] textarea:focus,
html:not([data-theme="dark"]) input:focus,
html:not([data-theme="dark"]) select:focus,
html:not([data-theme="dark"]) textarea:focus {
    border-color: #2563eb !important;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15) !important;
}
[data-theme="light"] .ambient-gradient-layer,
html:not([data-theme="dark"]) .ambient-gradient-layer {
    background: none !important;
}
[data-theme="light"] .ambient-grid-layer,
html:not([data-theme="dark"]) .ambient-grid-layer {
    background-image: radial-gradient(circle, rgba(15, 23, 42, 0.03) 1px, transparent 1px) !important;
}

/* --------------------------------------------------------------------------
   THEME 3: Marketplace (Minimal Storefront Card Grid)
   -------------------------------------------------------------------------- */
[data-site-theme="marketplace"] {
    --brand-indigo: #2563eb;
    --brand-indigo-light: #3b82f6;
    --brand-indigo-dark: #1d4ed8;
    --brand-purple: #f59e0b;
    --brand-purple-light: #fbbf24;
    --brand-purple-dark: #d97706;
    --brand-glow: rgba(37, 99, 235, 0.14);

    --bg-base: #f8fafc;
    --bg-gradient: none;
    --bg-surface: #ffffff;
    --bg-surface-elevated: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f8fafc;
    --bg-card-highlight: #f8fafc;
    --bg-input: #ffffff;
    --bg-nav: rgba(255, 255, 255, 0.88);
    --bg-announcement: #eff6ff;
    --bg-footer: #f8fafc;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #64748b;

    --border-subtle: #e2e8f0;
    --border-medium: #cbd5e1;
    --border-indigo: rgba(37, 99, 235, 0.25);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 22px;
    --radius-pill: 9999px;

    --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.05);
    --shadow-glow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

[data-theme="dark"][data-site-theme="marketplace"],
[data-theme="dark"] [data-site-theme="marketplace"] {
    --bg-base: #09090b;
    --bg-surface: #111114;
    --bg-surface-elevated: #16161a;
    --bg-card: #111114;
    --bg-card-hover: #17171d;
    --bg-card-highlight: #141418;
    --bg-input: #0e0e11;
    --bg-nav: rgba(9, 9, 11, 0.88);
    --bg-announcement: #0e0e11;
    --bg-footer: #09090b;

    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-medium: rgba(255, 255, 255, 0.14);
    --border-indigo: rgba(59, 130, 246, 0.35);
}

/* Marketplace Component Styling */
[data-site-theme="marketplace"] .brand-name {
    background: linear-gradient(135deg, #0f172a 40%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
}
[data-theme="dark"][data-site-theme="marketplace"] .brand-name {
    background: linear-gradient(135deg, #ffffff 40%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-site-theme="marketplace"] .brand-badge {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb !important;
    border: 1px solid rgba(37, 99, 235, 0.2);
    font-weight: 700;
    letter-spacing: 0.06em;
    box-shadow: none;
}
[data-site-theme="marketplace"] .button-pill.primary,
[data-site-theme="marketplace"] .btn-hero-primary,
[data-site-theme="marketplace"] #marketContinueBtn,
[data-site-theme="marketplace"] .btn-order-now {
    background: #2563eb;
    color: #ffffff !important;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
    border: 1px solid transparent;
}
[data-site-theme="marketplace"] .button-pill.primary:hover,
[data-site-theme="marketplace"] .btn-hero-primary:hover,
[data-site-theme="marketplace"] #marketContinueBtn:hover {
    background: #1d4ed8;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}
[data-site-theme="marketplace"] .headline-gradient-ig,
[data-site-theme="marketplace"] .headline-purple {
    background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-site-theme="marketplace"] .dash-stat-card,
[data-site-theme="marketplace"] .ig-clean-card,
[data-site-theme="marketplace"] .calc-card,
[data-site-theme="marketplace"] .marketplace-summary-card {
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-sm);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}
[data-site-theme="marketplace"] .dash-stat-card:hover,
[data-site-theme="marketplace"] .ig-clean-card:hover {
    border-color: var(--border-medium);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
[data-site-theme="marketplace"] .badge-tag.brand,
[data-site-theme="marketplace"] .hero-badge {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid #bfdbfe;
    font-weight: 600;
}
[data-theme="dark"][data-site-theme="marketplace"] .badge-tag.brand,
[data-theme="dark"][data-site-theme="marketplace"] .hero-badge {
    background: rgba(37, 99, 235, 0.12);
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.25);
}

/* --------------------------------------------------------------------------
   ADMIN PANEL: Theme Selector Visual Cards & Controller
   -------------------------------------------------------------------------- */
.theme-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-top: 10px;
}
.theme-option-card {
    background: var(--bg-card);
    border: 2px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    user-select: none;
    display: flex;
    flex-direction: column;
}
.theme-option-card:hover {
    transform: translateY(-2px);
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
}
.theme-option-card.active {
    border-color: var(--primary);
    background: var(--bg-surface-elevated);
    box-shadow: 0 0 0 2px var(--brand-blue-border), var(--shadow-md);
}
.theme-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
}
.theme-card-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}
.theme-card-meta {
    flex: 1;
}
.theme-check-indicator {
    margin-left: auto;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--border-medium);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    transition: all 0.2s ease;
}
.theme-option-card.active .theme-check-indicator {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.45);
}
.theme-swatch-row {
    display: flex;
    gap: 7px;
    align-items: center;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px dashed var(--border-subtle);
}
.theme-swatch {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* --------------------------------------------------------------------------
   2. Reset & Global Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: var(--font-body);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    font-feature-settings: "cv02", "cv03", "cv04", "cv11";
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-name,
.hero-headline,
.section-main-title,
.order-header-title,
.deposit-title,
.modal-title,
.px-stat-value,
.px-drawer-welcome-title,
.auth-title,
.summary-service-name,
.trio-card-heading,
.why-card-title,
.feedback-title,
.cta-title {
    font-family: var(--font-heading) !important;
    letter-spacing: -0.02em;
}

button,
input,
select,
textarea,
label {
    font-family: var(--font-body);
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition);
}

ul,
ol {
    list-style: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --------------------------------------------------------------------------
   3. Ambient Background Layers (Component: gradient-background-4 inspired)
   -------------------------------------------------------------------------- */
.ambient-gradient-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    pointer-events: none;
    z-index: -2;
    background-image: var(--bg-gradient);
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.ambient-grid-layer {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 100vh;
    pointer-events: none;
    z-index: -1;
    background-size: 32px 32px;
    background-image: radial-gradient(circle, rgba(15, 23, 42, 0.03) 1px, transparent 1px);
    mask-image: linear-gradient(to bottom, black 30%, transparent 85%);
    -webkit-mask-image: linear-gradient(to bottom, black 30%, transparent 85%);
}
[data-theme="dark"] .ambient-grid-layer {
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* --------------------------------------------------------------------------
   4. Buttons, Pills & Badges (Minimal Premium Standard)
   -------------------------------------------------------------------------- */
.button-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    border: 1px solid transparent;
    transition: all var(--transition);
    text-align: center;
    white-space: nowrap;
}

.button-pill.primary {
    background: #1677f2;
    color: #ffffff;
    box-shadow: var(--shadow-sm);
}

.button-pill.primary:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
    background: #0d62d1;
}

.button-pill.secondary {
    background-color: var(--bg-surface);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-xs);
}

.button-pill.secondary:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-medium);
    transform: translateY(-1px);
}

.button-pill.btn-sm {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: var(--radius-xs);
}

.button-pill.btn-lg {
    padding: 12px 28px;
    font-size: 15px;
    border-radius: var(--radius-md);
}

.button-pill.btn-block {
    width: 100%;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
}

.badge-tag.brand {
    background: rgba(22, 119, 242, 0.08);
    color: #1677f2;
    border: 1px solid rgba(22, 119, 242, 0.18);
}
[data-theme="dark"] .badge-tag.brand {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.25);
}

.card-chip {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: rgba(22, 119, 242, 0.08);
    color: #1677f2;
    border: 1px solid rgba(22, 119, 242, 0.18);
    display: inline-block;
}
[data-theme="dark"] .card-chip {
    background: rgba(59, 130, 246, 0.12);
    color: #93c5fd;
    border-color: rgba(59, 130, 246, 0.25);
}

.card-chip.green {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.2);
}

.card-chip.blue {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border-color: rgba(37, 99, 235, 0.2);
}

.card-chip.red {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

.badge-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.badge-chip.green {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.gradient-text {
    background: linear-gradient(135deg, #0f172a 30%, #2563eb 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
[data-theme="dark"] .gradient-text {
    background: linear-gradient(135deg, #ffffff 40%, #60a5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --------------------------------------------------------------------------
   5. Top Announcement Bar & Navbar
   -------------------------------------------------------------------------- */
.top-announcement-bar {
    background-color: var(--bg-announcement);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 12.5px;
    color: var(--text-secondary);
    padding: 8px 0;
}

.top-announcement-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.announcement-badge {
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-green);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

.announcement-links {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
    font-size: 12px;
}

.announcement-links .divider {
    color: var(--text-muted);
}

.top-announcement-bar {
    display: none;
}

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 60px;
    background-color: transparent;
    border-bottom: 1px solid transparent;
    transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .navbar.scrolled {
    background-color: rgba(9, 9, 11, 0.88);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

/* ==========================================================================
   Centralized Circular Brand Logo System (Instagram Profile Picture Style)
   ========================================================================== */

.logo-circle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    aspect-ratio: 1 / 1;
    border-radius: 50%;
    overflow: hidden;
    box-sizing: border-box;
    flex-shrink: 0;
    position: relative;
    vertical-align: middle;
    border: 1px solid var(--border-subtle);
}

.logo-circle-sm {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
    min-height: 30px !important;
    max-width: 30px !important;
    max-height: 30px !important;
}

.logo-circle-md {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    min-height: 36px !important;
    max-width: 36px !important;
    max-height: 36px !important;
}

.logo-circle-lg {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    max-width: 56px !important;
    max-height: 56px !important;
}

.logo-circle-xl {
    width: 72px !important;
    height: 72px !important;
    min-width: 72px !important;
    min-height: 72px !important;
    max-width: 72px !important;
    max-height: 72px !important;
}

/* Image behavior inside circular container: 1:1 square, 50% border radius, object-fit cover */
.logo-circle img,
.logo-circle-img,
img.brand-logo-img {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    object-position: center !important;
    display: block !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
}

.logo-icon-wrap {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    max-width: 34px;
    max-height: 34px;
    aspect-ratio: 1 / 1;
    background: #1677f2;
    border-radius: var(--radius-sm);
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(22, 119, 242, 0.28);
    color: #ffffff;
    flex-shrink: 0;
    box-sizing: border-box;
}

.logo-text {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.brand-name {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.brand-badge {
    font-size: 10px;
    font-weight: 700;
    color: #1677f2;
    background: rgba(22, 119, 242, 0.08);
    border: 1px solid rgba(22, 119, 242, 0.2);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.04em;
}

[data-theme="dark"] .brand-badge {
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
}

/* Center Desktop Navigation Menu */
.nav-center-menu {
    display: none;
    align-items: center;
    gap: 24px;
}

@media (min-width: 992px) {
    .nav-center-menu {
        display: flex;
    }
}

.nav-menu-link {
    font-family: var(--font-heading);
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
    padding: 6px 2px;
    position: relative;
}

.nav-menu-link:hover {
    color: #1677f2;
}

.nav-menu-link.active {
    color: #1677f2;
    font-weight: 600;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-links a {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color 0.15s ease;
    text-decoration: none;
}

.nav-links a:hover {
    color: var(--brand-blue);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    background-color: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    padding: 0;
}

.theme-toggle-btn:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.theme-toggle-btn svg {
    transition: transform 0.2s ease;
}

.theme-toggle-btn:hover svg {
    transform: scale(1.05);
}

.currency-toggle {
    position: relative;
    display: inline-flex;
    align-items: center;
    background-color: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    padding: 2px;
    cursor: pointer;
    user-select: none;
    width: 114px;
    height: 30px;
    box-sizing: border-box;
    transition: border-color 0.15s ease;
}

.currency-toggle:hover {
    border-color: var(--border-medium);
}

.curr-slider {
    position: absolute;
    top: 2px;
    left: 2px;
    bottom: 2px;
    width: calc(50% - 2px);
    background-color: var(--brand-blue);
    border-radius: var(--radius-pill);
    box-shadow: 0 1px 2px rgba(37, 99, 235, 0.25);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1;
}

.currency-toggle.is-usd .curr-slider {
    transform: translateX(100%);
}

.curr-btn {
    flex: 1;
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
    z-index: 2;
    color: var(--text-muted);
    transition: color 0.15s ease;
    line-height: 24px;
}

.curr-btn.active {
    color: #ffffff;
    font-weight: 700;
}

/* Admin Currency Badge System */
.currency-badge {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 8px;
    font-size: 11px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    color: var(--text-muted);
    transition: all 0.15s ease;
    cursor: pointer;
    z-index: 2;
    line-height: 24px;
}

.currency-badge.active {
    background-color: var(--brand-blue);
    color: #ffffff;
    font-weight: 700;
}

.btn-nav-login {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn-nav-login:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-primary);
}

.btn-nav-primary {
    background: #1677f2;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    padding: 7px 18px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    box-shadow: 0 2px 6px rgba(22, 119, 242, 0.25);
    transition: all 0.15s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-nav-primary:hover {
    background: #0d62d1;
    box-shadow: 0 4px 12px rgba(22, 119, 242, 0.35);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-medium);
    padding: 24px 0;
    box-shadow: var(--shadow-md);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu ul {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-menu ul li a {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-secondary);
}

.mobile-menu-cta {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid var(--border-subtle);
}

/* --------------------------------------------------------------------------
   6. Main Hero Section — Premium International SaaS SMM Showcase
   Aesthetic: Pure White, Light Grey, Royal Blue (#1677F2), Dark Navy Headings
   -------------------------------------------------------------------------- */
.hero-split-section {
    position: relative;
    width: 100%;
    min-height: calc(100vh - 60px);
    background: #ffffff;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(22, 119, 242, 0.05) 0%, transparent 45%),
        radial-gradient(circle at 88% 28%, rgba(22, 119, 242, 0.04) 0%, transparent 40%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
    padding: 72px 0 64px 0;
    display: flex;
    align-items: center;
}

[data-theme="dark"] .hero-split-section {
    background: #0b0f19;
    background-image:
        radial-gradient(circle at 12% 18%, rgba(22, 119, 242, 0.10) 0%, transparent 45%),
        radial-gradient(circle at 88% 28%, rgba(59, 130, 246, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #0b0f19 0%, #080c14 100%);
}

.hero-bg-shapes {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.hero-subtle-glow {
    position: absolute;
    top: 10%;
    right: 15%;
    width: 480px;
    height: 480px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(22, 119, 242, 0.07) 0%, transparent 70%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-split-container {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.12fr 0.88fr;
    gap: 56px;
    align-items: center;
}

/* Left Column Content */
.hero-left-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    animation: heroFadeSlideLeft 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeSlideLeft {
    0% {
        opacity: 0;
        transform: translateY(18px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Small Trust Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(22, 119, 242, 0.07);
    border: 1px solid rgba(22, 119, 242, 0.18);
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 22px;
}

[data-theme="dark"] .hero-badge {
    background: rgba(22, 119, 242, 0.14);
    border-color: rgba(59, 130, 246, 0.28);
}

.hero-badge-dot {
    width: 7px;
    height: 7px;
    background: #1677f2;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(22, 119, 242, 0.6);
    animation: badgePulse 2s infinite ease-in-out;
    flex-shrink: 0;
}

@keyframes badgePulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.35);
        opacity: 0.65;
    }
}

.hero-badge-text {
    font-family: var(--font-heading);
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: #1677f2;
    text-transform: uppercase;
}

[data-theme="dark"] .hero-badge-text {
    color: #60a5fa;
}

/* Headline */
.hero-headline {
    font-family: var(--font-heading) !important;
    font-size: clamp(2.4rem, 4.4vw, 3.85rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #0a0f1d;
    margin-bottom: 20px;
    word-break: break-word;
}

[data-theme="dark"] .hero-headline {
    color: #f8fafc;
}

.text-royal-blue {
    color: #1677f2 !important;
}

[data-theme="dark"] .text-royal-blue {
    color: #3b82f6 !important;
}

/* Description */
.hero-description {
    font-family: var(--font-body);
    font-size: 16.5px;
    line-height: 1.62;
    color: #475569;
    max-width: 520px;
    margin-bottom: 28px;
}

[data-theme="dark"] .hero-description {
    color: #94a3b8;
}

/* CTA Buttons */
.hero-cta-buttons {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #1677f2;
    color: #ffffff !important;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 26px;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    box-shadow: 0 4px 14px rgba(22, 119, 242, 0.32);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-primary:hover {
    background: #0d62d1;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(22, 119, 242, 0.42);
}

.btn-hero-primary .btn-arrow {
    transition: transform 0.2s ease;
}

.btn-hero-primary:hover .btn-arrow {
    transform: translateX(3px);
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #ffffff;
    color: #0f172a !important;
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-xs);
    transition: all var(--transition);
    cursor: pointer;
    text-decoration: none;
}

.btn-hero-secondary:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .btn-hero-secondary {
    background: #111827;
    color: #f8fafc !important;
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-hero-secondary:hover {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.2);
}

.demo-play-ico {
    color: #1677f2;
}

[data-theme="dark"] .demo-play-ico {
    color: #60a5fa;
}

/* 3 Trust Indicators */
.hero-trust-indicators {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 26px;
    flex-wrap: wrap;
}

.trust-indicator-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.trust-indicator-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(22, 119, 242, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #1677f2;
    flex-shrink: 0;
}

[data-theme="dark"] .trust-indicator-icon {
    background: rgba(22, 119, 242, 0.16);
    color: #60a5fa;
}

.trust-indicator-text {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: #475569;
}

[data-theme="dark"] .trust-indicator-text {
    color: #cbd5e1;
}

/* Service Pills */
.hero-service-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.service-indicator-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 9999px;
    padding: 7px 15px;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.service-indicator-pill:hover {
    background: rgba(22, 119, 242, 0.06);
    border-color: rgba(22, 119, 242, 0.3);
    color: #1677f2;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(22, 119, 242, 0.12);
}

[data-theme="dark"] .service-indicator-pill {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
}

[data-theme="dark"] .service-indicator-pill:hover {
    background: rgba(22, 119, 242, 0.15);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

.indicator-icon {
    font-size: 13.5px;
    line-height: 1;
}

.indicator-text {
    letter-spacing: -0.01em;
}

/* --------------------------------------------------------------------------
   RIGHT COLUMN: Realistic Floating Analytics Dashboard Card
   Style: White, Grey, Royal Blue (#1677F2), Clean SaaS Card
   -------------------------------------------------------------------------- */
.hero-right-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: heroFadeSlideRight 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes heroFadeSlideRight {
    0% {
        opacity: 0;
        transform: translateY(24px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.saas-floating-dashboard-card {
    background: #ffffff;
    border-radius: 20px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 16px 40px -8px rgba(15, 23, 42, 0.08), 0 4px 12px -2px rgba(15, 23, 42, 0.04);
    padding: 24px 22px;
    width: 100%;
    max-width: 460px;
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
    position: relative;
}

.saas-floating-dashboard-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 24px 50px -10px rgba(15, 23, 42, 0.12), 0 8px 18px -4px rgba(22, 119, 242, 0.08);
}

[data-theme="dark"] .saas-floating-dashboard-card {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 48px -12px rgba(0, 0, 0, 0.8);
}

/* Card Header */
.dash-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
}

[data-theme="dark"] .dash-card-header {
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.dash-card-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.dash-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(22, 119, 242, 0.08);
    border: 1.5px solid rgba(22, 119, 242, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="dark"] .dash-user-avatar {
    background: rgba(22, 119, 242, 0.16);
    border-color: rgba(59, 130, 246, 0.35);
}

.dash-user-meta {
    display: flex;
    flex-direction: column;
}

.dash-user-name-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.dash-user-handle {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

[data-theme="dark"] .dash-user-handle {
    color: #ffffff;
}

.dash-verified-badge {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.dash-user-sub {
    font-size: 11px;
    color: #64748b;
    margin-top: 1px;
}

[data-theme="dark"] .dash-user-sub {
    color: #94a3b8;
}

/* Active Status Pill */
.dash-active-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    padding: 4px 10px;
    border-radius: 9999px;
}

.dash-pulse-dot {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
    animation: liveGrowthBlink 1.8s infinite ease-in-out;
}

@keyframes liveGrowthBlink {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.3);
    }
}

/* Social Platform Chips Row */
.dash-platform-chips {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 16px 0 14px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.dash-platform-chips::-webkit-scrollbar {
    display: none;
}

.platform-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 5px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
    transition: all 0.15s ease;
    user-select: none;
}

.platform-chip.active,
.platform-chip:hover {
    background: rgba(22, 119, 242, 0.08);
    border-color: rgba(22, 119, 242, 0.3);
    color: #1677f2;
}

[data-theme="dark"] .platform-chip {
    background: #1f2937;
    border-color: rgba(255, 255, 255, 0.08);
    color: #cbd5e1;
}

[data-theme="dark"] .platform-chip.active,
[data-theme="dark"] .platform-chip:hover {
    background: rgba(22, 119, 242, 0.18);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60a5fa;
}

/* Metrics Grid: Followers, Likes, Views */
.dash-metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.dash-metric-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

[data-theme="dark"] .dash-metric-card {
    background: #192237;
    border-color: rgba(255, 255, 255, 0.06);
}

.dash-metric-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 2px;
}

[data-theme="dark"] .dash-metric-label {
    color: #94a3b8;
}

.dash-metric-value-row {
    display: flex;
    align-items: center;
    gap: 4px;
}

.dash-metric-value {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    letter-spacing: -0.02em;
}

[data-theme="dark"] .dash-metric-value {
    color: #ffffff;
}

.dash-growth-badge {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
}

.dash-metric-note {
    font-size: 9.5px;
    color: #94a3b8;
    margin-top: 2px;
}

/* Engagement Growth Chart */
.dash-chart-section {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 14px 14px 10px 14px;
    margin-bottom: 14px;
}

[data-theme="dark"] .dash-chart-section {
    background: #192237;
    border-color: rgba(255, 255, 255, 0.06);
}

.dash-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.dash-chart-title {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    color: #0f172a;
}

[data-theme="dark"] .dash-chart-title {
    color: #f1f5f9;
}

.dash-chart-badge {
    font-size: 10.5px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 2px 7px;
    border-radius: 6px;
}

.dash-chart-svg-wrap {
    width: 100%;
    height: 90px;
}

.dash-chart-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.dash-chart-axis {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #94a3b8;
    margin-top: 4px;
    padding: 0 4px;
    font-weight: 500;
}

/* Card Footer */
.dash-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11px;
    font-weight: 600;
    color: #475569;
    padding: 6px 2px 0 2px;
}

[data-theme="dark"] .dash-card-footer {
    color: #94a3b8;
}

.dash-footer-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* --------------------------------------------------------------------------
   7. Four Clean Statistics Section
   Aesthetic: White Card Boxes on Light Grey Ground, Royal Blue Accents
   -------------------------------------------------------------------------- */
.section-stats {
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
    padding: 56px 0;
}

[data-theme="dark"] .section-stats {
    background: #080c14;
    border-color: rgba(255, 255, 255, 0.06);
}

.stats-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.stat-box-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.stat-box-card:hover {
    transform: translateY(-2px);
    border-color: rgba(22, 119, 242, 0.35);
    box-shadow: 0 10px 24px -4px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(22, 119, 242, 0.08);
}

[data-theme="dark"] .stat-box-card {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

[data-theme="dark"] .stat-box-card:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.stat-box-icon,
.dash-user-avatar {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: rgba(22, 119, 242, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1677f2;
    margin-bottom: 16px;
}

[data-theme="dark"] .stat-box-icon,
.dash-user-avatar {
    background: rgba(22, 119, 242, 0.16);
    color: #60a5fa;
}

.stat-box-number {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #0a0f1d;
    letter-spacing: -0.03em;
    line-height: 1.1;
    margin-bottom: 4px;
}

[data-theme="dark"] .stat-box-number {
    color: #ffffff;
}

.stat-box-label {
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    color: #1677f2;
    margin-bottom: 4px;
}

[data-theme="dark"] .stat-box-label {
    color: #60a5fa;
}

.stat-box-sub {
    font-size: 12.5px;
    color: #64748b;
    line-height: 1.45;
    margin: 0;
}

[data-theme="dark"] .stat-box-sub {
    color: #94a3b8;
}

/* --------------------------------------------------------------------------
   8. Section Base Layout & Four-Card Features Section
   -------------------------------------------------------------------------- */
.section-block {
    padding: 92px 0;
    border-bottom: 1px solid var(--border-subtle);
}

.section-title-wrap {
    text-align: center;
    margin-bottom: 56px;
}

.section-main-title {
    font-size: clamp(1.65rem, 4.6vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--text-primary);
    margin-top: 6px;
    margin-bottom: 14px;
    word-break: break-word;
}

.section-subtitle {
    font-size: 16.5px;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Four-Card Feature Section — "Powerful Features for Your Growth" */
.section-features-quad {
    padding: 88px 0 92px 0;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

[data-theme="dark"] .section-features-quad {
    background: #0b0f19;
    border-bottom-color: rgba(255, 255, 255, 0.06);
}

.features-quad-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.feature-card-clean {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 30px 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.feature-card-clean:hover {
    transform: translateY(-4px);
    border-color: rgba(22, 119, 242, 0.35);
    box-shadow: 0 16px 32px -4px rgba(15, 23, 42, 0.08), 0 4px 10px -2px rgba(22, 119, 242, 0.06);
}

[data-theme="dark"] .feature-card-clean {
    background: #111827;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: none;
}

[data-theme="dark"] .feature-card-clean:hover {
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.feat-icon-box {
    width: 46px;
    height: 46px;
    border-radius: 13px;
    background: rgba(22, 119, 242, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1677f2;
    margin-bottom: 20px;
    flex-shrink: 0;
}

[data-theme="dark"] .feat-icon-box {
    background: rgba(22, 119, 242, 0.16);
    color: #60a5fa;
}

.feat-title {
    font-family: var(--font-heading) !important;
    font-size: 18.5px;
    font-weight: 800;
    color: #0a0f1d;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    line-height: 1.25;
}

[data-theme="dark"] .feat-title {
    color: #ffffff;
}

.feat-desc {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.62;
    color: #475569;
    margin-bottom: 22px;
    flex-grow: 1;
}

[data-theme="dark"] .feat-desc {
    color: #94a3b8;
}

.feat-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: #1677f2;
    background: rgba(22, 119, 242, 0.06);
    border: 1px solid rgba(22, 119, 242, 0.16);
    padding: 4px 10px;
    border-radius: 9999px;
    width: fit-content;
}

[data-theme="dark"] .feat-badge-pill {
    color: #60a5fa;
    background: rgba(22, 119, 242, 0.14);
    border-color: rgba(59, 130, 246, 0.28);
}

.feat-check {
    font-weight: 800;
}

/* Responsive Adaptations for Hero, Stats, Features */
@media (max-width: 1080px) {
    .features-quad-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .stats-card-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .hero-grid {
        gap: 36px;
    }
}

@media (max-width: 960px) {
    .hero-split-section {
        padding: 52px 0 44px 0;
        min-height: auto;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .hero-left-content {
        align-items: center;
        text-align: center;
    }
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    .hero-cta-buttons {
        justify-content: center;
    }
    .hero-trust-indicators {
        justify-content: center;
    }
    .hero-service-indicator {
        justify-content: center;
    }
    .hero-right-visual {
        width: 100%;
    }
    .saas-floating-dashboard-card {
        max-width: 440px;
        margin: 0 auto;
    }
}

@media (max-width: 640px) {
    .hero-split-section {
        padding: 32px 0 28px 0;
    }
    .hero-split-container {
        padding: 0 16px;
    }
    .hero-headline {
        font-size: clamp(1.75rem, 7.5vw, 2.3rem);
        line-height: 1.15;
    }
    .hero-cta-buttons {
        flex-direction: column;
        width: 100%;
        gap: 10px;
    }
    .btn-hero-primary,
    .btn-hero-secondary {
        width: 100%;
    }
    .hero-trust-indicators {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }
    .stats-card-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .features-quad-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }
    .saas-floating-dashboard-card {
        padding: 18px 14px;
    }
    .dash-metrics-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
    .dash-metric-card {
        padding: 10px 4px;
    }
    .dash-metric-value {
        font-size: 15px;
    }
    .dash-growth-badge {
        display: none;
    }
    .section-stats {
        padding: 40px 0;
    }
    .section-features-quad {
        padding: 56px 0;
    }
}

/* --------------------------------------------------------------------------
   9. Interactive Growth & ROI Calculator
   -------------------------------------------------------------------------- */
.calc-container {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 28px;
    max-width: 980px;
    margin: 0 auto;
}

/* Service Selector Tabs */
.calc-service-tabs {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 6px;
}

.calc-service-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    background-color: var(--bg-surface);
    border: 2px solid var(--border-medium);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    color: var(--text-secondary);
    box-shadow: var(--shadow-sm);
    user-select: none;
}

.calc-service-tab:hover {
    border-color: var(--brand-indigo-light);
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.calc-service-tab.active {
    background-color: var(--bg-surface-elevated);
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

[data-theme="dark"] .calc-service-tab.active {
    background-color: #18181b;
    border-color: var(--brand-blue);
    color: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.calc-tab-icon {
    font-size: 20px;
    line-height: 1;
    display: inline-block;
}

.calc-tab-title {
    font-size: 15px;
    font-weight: 700;
}

/* Controls Card */
.calc-controls-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 34px 32px;
    box-shadow: var(--shadow-sm);
}

.calc-header-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.calc-label {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.calc-sub-hint {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
}

/* Custom Stepper & Arbitrary Quantity Input Box */
.calc-stepper-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    padding: 12px 18px;
    margin-bottom: 22px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-lg);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

[data-theme="dark"] .calc-stepper-box {
    background: #111114;
    border-color: rgba(255, 255, 255, 0.12);
}

.calc-stepper-box:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--brand-blue-border);
}

.calc-stepper-controls {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.calc-step-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--border-medium);
    background-color: var(--bg-surface);
    color: var(--brand-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
    flex-shrink: 0;
}

.calc-step-btn:hover {
    background-color: var(--brand-indigo);
    color: #ffffff;
    border-color: var(--brand-indigo);
    transform: scale(1.08);
}

.calc-step-btn:active {
    transform: scale(0.95);
}

.calc-input-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.calc-custom-input {
    width: 160px;
    font-size: 34px;
    font-weight: 900;
    color: var(--brand-indigo);
    font-family: var(--font-heading) !important;
    background: transparent;
    border: 1.5px solid transparent;
    border-radius: 8px;
    text-align: center;
    padding: 2px 4px;
    transition: all 0.2s ease;
    outline: none;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
}

.calc-custom-input:hover {
    background: rgba(37, 99, 235, 0.05);
}

.calc-custom-input:focus {
    background: var(--bg-surface);
    border-color: var(--brand-indigo);
}

.calc-vol-unit {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-secondary);
}

/* Slider Section */
.slider-wrapper {
    margin-bottom: 22px;
}

.custom-range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: var(--border-subtle);
    outline: none;
    -webkit-appearance: none;
    cursor: pointer;
}

.custom-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--primary);
    border: 2px solid #ffffff;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    transition: transform 0.15s ease;
}

.custom-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    margin-top: 8px;
}

/* Quick Select Pills */
.calc-quick-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    flex-wrap: wrap;
}

.calc-quick-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.calc-quick-pills {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.calc-quick-pill {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-pill);
    padding: 5px 12px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.18s ease;
    font-family: inherit;
    user-select: none;
}

.calc-quick-pill:hover {
    border-color: var(--brand-indigo-light);
    color: var(--brand-indigo);
    transform: translateY(-1px);
}

.calc-quick-pill.active {
    background-color: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    box-shadow: var(--shadow-xs);
}

/* Dynamic Feature Bullets */
.calc-features-bullets {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding-top: 20px;
    border-top: 1px solid var(--border-subtle);
}

.bullet-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-secondary);
}

.bullet-check {
    color: var(--accent-green);
    font-weight: 800;
}

/* Result Breakdown Card */
.calc-result-card {
    background: var(--bg-card-highlight);
    border: 2px solid var(--border-indigo);
    border-radius: var(--radius-xl);
    padding: 34px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-md);
}

.calc-result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.result-tag {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.comparison-rate-table {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 28px;
}

.rate-compare-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14.5px;
    color: var(--text-secondary);
}

.strike-price {
    text-decoration: line-through;
    color: var(--text-muted);
}

.rate-compare-row.highlight {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    padding: 10px 0;
    border-top: 1px dashed var(--border-medium);
    border-bottom: 1px dashed var(--border-medium);
}

.direct-price {
    color: var(--brand-indigo);
    font-size: 22px;
    font-weight: 800;
}

.rate-savings-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    color: var(--accent-green);
}

.savings-amount {
    font-size: 18px;
    font-weight: 800;
}

.calc-hint {
    display: block;
    text-align: center;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-top: 10px;
}

/* Dark Theme Overrides for Calculator */
[data-theme="dark"] .calc-step-btn {
    background-color: var(--bg-surface-elevated);
    border-color: var(--border-medium);
    color: var(--brand-indigo-light);
}

[data-theme="dark"] .calc-step-btn:hover {
    background-color: var(--brand-indigo);
    color: #ffffff;
}

[data-theme="dark"] .calc-custom-input {
    color: #ffffff;
}

[data-theme="dark"] .calc-custom-input:focus {
    background-color: var(--bg-surface-elevated);
}

[data-theme="dark"] .calc-quick-pill {
    background-color: var(--bg-surface-elevated);
    border-color: var(--border-medium);
    color: var(--text-secondary);
}

[data-theme="dark"] .calc-quick-pill:hover {
    border-color: var(--brand-indigo-light);
    color: #ffffff;
}

[data-theme="dark"] .calc-quick-pill.active {
    background-color: var(--brand-indigo);
    color: #ffffff;
    border-color: var(--brand-indigo);
}

/* Mobile & Tablet Adjustments for Calculator */
@media (max-width: 860px) {
    .calc-service-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 640px) {
    .section-main-title {
        font-size: clamp(1.4rem, 6.2vw, 1.85rem) !important;
        line-height: 1.25 !important;
    }

    .calc-service-tabs {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .calc-service-tab {
        padding: 10px 6px;
        gap: 6px;
        font-size: 13px;
        white-space: nowrap;
    }

    .calc-tab-icon {
        font-size: 16px;
    }

    .calc-tab-title {
        font-size: 13px;
    }

    .calc-controls-card,
    .calc-result-card {
        padding: 22px 16px;
        border-radius: var(--radius-lg);
    }

    .calc-header-row {
        flex-direction: column;
        gap: 4px;
        margin-bottom: 12px;
    }

    .calc-stepper-box {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 12px 10px;
        text-align: center;
    }

    .calc-stepper-controls {
        width: 100%;
        justify-content: center;

    }

    .calc-custom-input {
        width: 130px;
        font-size: 30px;
    }

    .calc-vol-unit {
        font-size: 13px;
        text-align: center;
    }
}

@media (max-width: 440px) {
    .calc-service-tab {
        padding: 9px 4px;
        font-size: 12px;
        gap: 4px;
    }

    .calc-tab-icon {
        font-size: 14px;
    }

    .calc-tab-title {
        font-size: 12px;
    }

    .calc-controls-card,
    .calc-result-card {
        padding: 18px 12px;
    }

    .calc-custom-input {
        width: 110px;
        font-size: 26px;
    }

    .calc-step-btn {
        width: 32px;
        height: 32px;
    }
}

/* --------------------------------------------------------------------------
   10. Comparison Side-by-Side Dual Box
   -------------------------------------------------------------------------- */
.comparison-dual-box {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    max-width: 960px;
    margin: 0 auto;
}

.comp-box {
    border-radius: var(--radius-xl);
    padding: 38px 34px;
}

.comp-box.our-panel {
    background: var(--bg-card-highlight);
    border: 2px solid var(--border-indigo);
    box-shadow: var(--shadow-md);
}

.comp-box.other-panel {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
}

.comp-header {
    margin-bottom: 24px;
}

.comp-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: var(--radius-pill);
    display: inline-block;
    margin-bottom: 10px;
}

.comp-badge.green {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-green);
}

.comp-badge.red {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.comp-header h3 {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.comp-sub {
    font-size: 13px;
    color: var(--text-muted);
}

.comp-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.check-green {
    color: var(--accent-green);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

.cross-red {
    color: var(--accent-red);
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   11. Authenticated Customer Dashboard & Service Marketplace
   -------------------------------------------------------------------------- */
.section-dashboard {
    padding: 60px 0 90px 0;
    background-color: var(--bg-base);
    position: relative;
}

/* Dashboard Top Navigation & User Greeting */
.dashboard-header-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 18px 24px;
    margin-bottom: 34px;
    box-shadow: var(--shadow-sm);
    flex-wrap: wrap;
}

.dash-user-welcome {
    display: flex;
    align-items: center;
    gap: 14px;
}

.dash-avatar {
    width: 42px;
    height: 42px;
    border-radius: var(--radius-pill);
    background: #2563eb !important;
    color: #ffffff !important;
    font-weight: 700;
    font-size: 14.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.25);
    flex-shrink: 0;
}

[data-theme="dark"] .dash-avatar {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.dash-user-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.dash-user-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-user-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-heading);
}

.dash-user-role {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--brand-blue-subtle);
    color: var(--primary);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.03em;
}

.dash-status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-green);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.7);
    display: inline-block;
}

.dash-user-meta {
    font-size: 12.5px;
    color: var(--text-muted);
    margin: 0;
}

.dash-user-meta strong.text-green {
    color: var(--accent-green);
    font-weight: 700;
}

.dash-top-tabs {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(15, 23, 42, 0.04);
    padding: 5px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-subtle);
    flex-wrap: wrap;
}

[data-theme="dark"] .dash-top-tabs {
    background: rgba(255, 255, 255, 0.04);
}

.dash-nav-tab {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.dash-nav-tab:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
}

.dash-nav-tab.active {
    background: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.28);
}

.dash-nav-tab.active span,
.dash-nav-tab.active .dash-tab-icon {
    color: #ffffff !important;
}

.dash-nav-tab.active .dash-counter-badge {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .dash-nav-tab.active {
    background: #3b82f6 !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.35);
}

.dash-tab-icon {
    font-size: 14px;
}

.dash-counter-badge {
    background: rgba(255, 255, 255, 0.28);
    color: inherit;
    font-size: 11px;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: var(--radius-pill);
    margin-left: 2px;
}

/* ==========================================================================
   Compact SMM CATEGORY & SERVICES Selectors (SMM Panel Reference Design)
   ========================================================================== */
.smm-category-services-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 26px;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 18px 22px;
    box-shadow: var(--shadow-sm);
}

.smm-selector-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.smm-selector-label {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
}

/* Category Horizontal Scroll Row - Never wraps, single row with smooth swipe */
.smm-category-scroll {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 2px 2px 6px 2px;
}

.smm-category-scroll::-webkit-scrollbar {
    display: none;
}

.smm-category-pills {
    display: inline-flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 8px;
    min-width: max-content;
}

.smm-cat-pill {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border-radius: var(--radius-pill);
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    color: var(--text-secondary);
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
    flex-shrink: 0;
}

.smm-cat-pill:hover {
    border-color: var(--border-medium);
    color: var(--primary);
    background: var(--bg-surface-elevated);
    transform: translateY(-1px);
}

.smm-cat-pill.active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

.smm-cat-pill.active span,
.smm-cat-pill.active .smm-pill-icon {
    color: #ffffff !important;
    fill: #ffffff !important;
}

[data-theme="dark"] .smm-cat-pill.active {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

.smm-cat-pill.active .smm-pill-icon {
    color: #ffffff;
    fill: #ffffff;
}

.smm-pill-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 15px;
    height: 15px;
    flex-shrink: 0;
}

/* Services Dropdown (Legacy & Custom) */
.smm-select-container {
    position: relative;
    width: 100%;
}

.smm-services-select {
    width: 100%;
    height: 48px;
    padding: 0 42px 0 16px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 700;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
    transition: all 0.2s ease;
    outline: none;
    box-shadow: var(--shadow-xs);
}

.smm-services-select:hover {
    border-color: var(--brand-indigo-light);
}

.smm-services-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--brand-blue-border);
}

.smm-services-select option {
    background: var(--bg-surface);
    color: var(--text-primary);
    padding: 10px 12px;
    font-weight: 600;
}

.smm-select-chevron {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s;
}

.smm-services-select:focus + .smm-select-chevron {
    color: var(--brand-indigo);
}

/* --------------------------------------------------------------------------
   Polished Modern Dashboard Dropdowns (SERVICES & SERVICE TYPE)
   -------------------------------------------------------------------------- */
.smm-custom-dropdown {
    position: relative;
    width: 100%;
}

.smm-hidden-native-select {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
    pointer-events: none;
}

.smm-dropdown-trigger {
    width: 100%;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 16px;
    border-radius: var(--radius-md, 12px);
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-heading);
    font-size: 14.5px;
    font-weight: 650;
    letter-spacing: -0.01em;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    outline: none;
    box-shadow: var(--shadow-xs);
    text-align: left;
    user-select: none;
}

.smm-dropdown-trigger:hover {
    border-color: var(--border-medium);
    background: var(--bg-card-hover, #fcfcfe);
    box-shadow: var(--shadow-xs);
}

.smm-dropdown-trigger:focus-visible,
.smm-custom-dropdown.open .smm-dropdown-trigger {
    border-color: var(--primary);
    background: var(--bg-surface);
    box-shadow: 0 0 0 3px var(--brand-blue-border);
}

.smm-dropdown-selected-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 650;
    color: var(--text-primary);
}

.smm-dropdown-arrow {
    flex-shrink: 0;
    margin-left: 12px;
    color: var(--text-muted);
    transition: transform 0.24s cubic-bezier(0.16, 1, 0.3, 1), color 0.2s ease;
}

.smm-dropdown-trigger:hover .smm-dropdown-arrow {
    color: var(--brand-indigo-light);
}

.smm-custom-dropdown.open .smm-dropdown-arrow {
    transform: rotate(180deg);
    color: var(--brand-indigo);
}

.smm-dropdown-menu {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md, 12px);
    padding: 6px;
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12), 0 4px 12px rgba(15, 23, 42, 0.06);
    z-index: 1000;
    max-height: 280px;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px) scale(0.99);
    pointer-events: none;
    transition: opacity 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.18s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.18s;
    scrollbar-width: thin;
    scrollbar-color: var(--border-medium) transparent;
}

.smm-dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.smm-dropdown-menu::-webkit-scrollbar-track {
    background: transparent;
}

.smm-dropdown-menu::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 999px;
}

.smm-custom-dropdown.open .smm-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.smm-dropdown-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    border-radius: var(--radius-sm, 8px);
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
    gap: 12px;
    user-select: none;
}

.smm-dropdown-item:hover {
    background: rgba(37, 99, 235, 0.05);
    color: var(--text-primary);
}

.smm-dropdown-item.selected {
    background: rgba(37, 99, 235, 0.08);
    color: var(--primary);
    font-weight: 650;
}

.smm-dropdown-item.selected:hover {
    background: rgba(37, 99, 235, 0.12);
}

.smm-item-name {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.smm-item-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-indigo);
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    line-height: 1;
}

.smm-dropdown-empty {
    padding: 12px 14px;
    font-size: 13.5px;
    color: var(--text-muted);
    text-align: center;
    font-style: italic;
}

/* Category Selector Cards */
.dash-category-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.dash-cat-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.dash-cat-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-indigo-light);
    box-shadow: var(--shadow-md);
}

.dash-cat-card.active {
    border-color: var(--primary);
    background: var(--bg-card-highlight);
    box-shadow: var(--shadow-md);
}

.cat-icon-wrap {
    font-size: 26px;
    line-height: 1;
    flex-shrink: 0;
}

.cat-text-wrap {
    display: flex;
    flex-direction: column;
}

.cat-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--text-primary);
    font-family: var(--font-heading);
}

.cat-sub {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Two-Column Marketplace Grid */
.marketplace-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
}

.marketplace-config-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.market-config-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 24px 26px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.market-card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
}

.step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #2563eb !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="dark"] .step-num {
    background: #3b82f6 !important;
    color: #ffffff !important;
}

.step-header-text {
    display: flex;
    flex-direction: column;
}

.step-header-text .step-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
    font-family: var(--font-heading);
}

.step-header-text .step-sub {
    font-size: 12.5px;
    color: var(--text-muted);
}

/* Service Types Grid & Cards */
.service-types-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.service-type-card {
    padding: 16px;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 120px;
    position: relative;
}

.service-type-card:hover {
    border-color: var(--brand-indigo-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.service-type-card.active {
    border-color: var(--primary);
    background: var(--bg-card-highlight);
    box-shadow: var(--shadow-sm);
}

.type-top-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 6px;
}

.type-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
}

.type-check {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1.5px solid var(--border-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    color: transparent;
    flex-shrink: 0;
    transition: all 0.2s;
}

.service-type-card.active .type-check {
    background: var(--brand-indigo);
    border-color: var(--brand-indigo);
    color: #ffffff;
}

.type-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
    margin-bottom: 10px;
    flex-grow: 1;
}

.type-features-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.type-mini-pill {
    font-size: 10.5px;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.05);
    color: var(--text-muted);
    font-weight: 600;
}

[data-theme="dark"] .type-mini-pill {
    background: rgba(255, 255, 255, 0.07);
}

/* Refill Options Pills */
.option-pills-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.refill-pill-btn {
    padding: 10px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.refill-pill-btn:hover:not(:disabled) {
    border-color: var(--brand-indigo-light);
    transform: translateY(-1px);
}

.refill-pill-btn.active {
    border-color: var(--primary);
    background: var(--bg-card-highlight);
    color: var(--primary);
    box-shadow: var(--shadow-xs);
}

.refill-pill-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    background: rgba(15, 23, 42, 0.03);
    border-style: dashed;
}

/* Delivery Options Cards */
.delivery-cards-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
}

.delivery-card {
    padding: 14px 16px;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.delivery-card:hover:not(.disabled) {
    border-color: var(--brand-indigo-light);
    transform: translateY(-1px);
}

.delivery-card.active {
    border-color: var(--primary);
    background: var(--bg-card-highlight);
    box-shadow: var(--shadow-xs);
}

.delivery-card.disabled {
    opacity: 0.38;
    cursor: not-allowed;
    background: rgba(15, 23, 42, 0.03);
    border-style: dashed;
}

.del-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.del-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.del-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    background: var(--brand-blue-subtle);
    color: var(--primary);
}

.del-desc {
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Custom Comments Textarea */
.custom-comments-wrap {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.custom-comments-textarea {
    width: 100%;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    font-size: 13px;
    color: var(--text-primary);
    background: var(--bg-input);
    font-family: var(--font-body);
    resize: vertical;
    line-height: 1.5;
}

.custom-comments-textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--brand-blue-border);
}

.comments-counter-row {
    display: flex;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-muted);
}

/* Custom Quantity Controls */
.market-stepper-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.market-stepper-controls {
    display: flex;
    align-items: center;
    gap: 8px;
}

.market-step-btn {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-medium);
    background: var(--bg-surface);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.market-step-btn:hover {
    border-color: var(--brand-indigo);
    color: var(--brand-indigo);
    transform: scale(1.04);
}

.market-custom-input {
    width: 160px;
    height: 46px;
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    color: var(--text-primary);
    font-family: var(--font-heading);
    transition: border-color 0.2s;
}

.market-custom-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--brand-blue-border);
}

.market-unit-badge {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-blue);
    background: rgba(2, 132, 199, 0.08);
    padding: 8px 14px;
    border-radius: var(--radius-pill);
}

.market-quick-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.quick-pill-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.quick-pills-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.quick-shortcut-pill {
    padding: 6px 14px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-medium);
    background: var(--bg-surface);
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.quick-shortcut-pill:hover {
    border-color: var(--brand-indigo);
    color: var(--brand-indigo);
}

.quick-shortcut-pill.active {
    background: var(--brand-indigo);
    border-color: var(--brand-indigo);
    color: #ffffff;
}

/* Sticky Live Order Summary */
.marketplace-summary-column {
    position: sticky;
    top: 90px;
}

.marketplace-summary-card {
    background: var(--bg-surface);
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 26px 24px;
    box-shadow: var(--shadow-lg);
}

.summary-top-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.summary-badge {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    background: var(--brand-indigo);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    letter-spacing: 0.04em;
}

.summary-live-dot {
    font-size: 11.5px;
    color: var(--accent-green);
    font-weight: 700;
}

.summary-service-lead {
    margin-bottom: 12px;
}

.lead-cat-name {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.lead-type-name {
    font-size: 19px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 2px 0 0 0;
    font-family: var(--font-heading);
}

.summary-chips-row {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.summary-chip {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: var(--radius-pill);
    background: var(--brand-blue-subtle);
    color: var(--primary);
    border: 1px solid var(--brand-blue-border);
}

.summary-divider {
    height: 1px;
    background: var(--border-medium);
    margin: 14px 0;
}

.summary-qty-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 16px;
}

.summary-qty-row .qty-highlight {
    font-size: 18px;
    color: var(--brand-indigo-dark);
    font-family: var(--font-heading);
}

.summary-rates-card {
    background: var(--bg-card-highlight);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rate-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 13px;
    color: var(--text-secondary);
}

.strike-val {
    text-decoration: line-through;
    color: var(--text-muted);
    font-weight: 600;
}

.direct-val {
    font-size: 26px;
    font-weight: 800;
    color: var(--brand-indigo);
    font-family: var(--font-heading);
}

.rate-direct {
    border-top: 1px dashed var(--border-medium);
    border-bottom: 1px dashed var(--border-medium);
    padding: 8px 0;
}

.savings-pill-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.savings-val {
    color: var(--accent-green);
    font-size: 15px;
    font-weight: 800;
}

.savings-percent {
    font-size: 11px;
    font-weight: 700;
    background: var(--accent-green);
    color: #ffffff;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
}

.summary-action-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.summary-security-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-muted);
    text-align: center;
}

/* Orders Table */
.dash-sub-header {
    margin-bottom: 22px;
}

.dash-sub-header h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.dash-sub-header p {
    font-size: 13.5px;
    color: var(--text-muted);
    margin: 0;
}

/* Orders & Live Delivery History Section */
.orders-head-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.orders-head-info h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
}

.orders-head-info p {
    margin: 0;
    font-size: 13.5px;
    color: var(--text-muted);
}

.orders-head-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.btn-sync-orders {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 16px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-sm);
}

.btn-sync-orders:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
    transform: translateY(-1px);
}

.btn-sync-orders:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.sync-icon {
    display: inline-block;
    transition: transform 0.3s ease;
}

.sync-icon.spinning {
    animation: smmSpin 0.9s linear infinite;
}

@keyframes smmSpin {
    to { transform: rotate(360deg); }
}

/* Status Filter Bar */
.orders-filter-bar {
    margin-bottom: 18px;
    overflow-x: auto;
    padding-bottom: 4px;
}

.orders-filter-chips {
    display: flex;
    gap: 8px;
    align-items: center;
    min-width: max-content;
}

.filter-chip {
    padding: 7px 15px;
    border-radius: var(--radius-pill);
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.filter-chip:hover {
    border-color: var(--border-focus);
    color: var(--text-primary);
}

.filter-chip.active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

[data-theme="dark"] .filter-chip.active {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

/* Loading, Error & Empty States */
.orders-loading-state {
    padding: 56px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    background: var(--bg-surface);
    border-radius: var(--radius-xl);
    border: 1px solid var(--border-medium);
    margin-bottom: 20px;
}

.orders-loading-state p {
    color: var(--text-muted);
    font-size: 13.5px;
    margin: 0;
}

.smm-spinner {
    width: 34px;
    height: 34px;
    border: 3px solid var(--brand-blue-border);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: smmSpin 0.8s linear infinite;
}

.orders-error-banner {
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    border-radius: var(--radius-lg);
    padding: 14px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    margin-bottom: 18px;
    color: #ef4444;
    font-size: 13.5px;
    font-weight: 500;
}

.btn-retry-orders {
    padding: 6px 14px;
    background: #ef4444;
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.btn-retry-orders:hover {
    opacity: 0.9;
}

.orders-empty-state {
    background: var(--bg-surface);
    border: 1px dashed var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 56px 24px;
    text-align: center;
    margin-bottom: 20px;
}

.orders-empty-state .empty-icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.orders-empty-state h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.orders-empty-state p {
    font-size: 13.5px;
    color: var(--text-muted);
    max-width: 440px;
    margin: 0 auto 20px auto;
    line-height: 1.5;
}

/* Orders Table Styling */
.orders-table-wrapper,
.wallet-hist-table-wrap,
.data-table-wrapper,
.table-responsive,
.table-scroll-wrapper {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    display: block !important;
    position: relative !important;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
    white-space: nowrap;
}

/* Dedicated table column wrapping & width constraints to prevent layout blowout */
.orders-table td.col-description,
.orders-table td.col-notes,
.orders-table td.col-service,
.orders-table td.col-link,
.orders-table td.col-subject,
.orders-table td.col-details,
.orders-table .txn-description-text,
.orders-table .note-description-text,
.orders-table .service-name-text,
.orders-table .order-target-text {
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: anywhere !important;
    max-width: 380px;
    min-width: 160px;
    line-height: 1.45;
}

.orders-table th.col-description,
.orders-table th.col-notes,
.orders-table th.col-service,
.orders-table th.col-link,
.orders-table th.col-subject,
.orders-table th.col-details {
    white-space: normal !important;
}

.orders-table .text-nowrap,
.orders-table th.col-id,
.orders-table td.col-id,
.orders-table th.col-date,
.orders-table td.col-date,
.orders-table th.col-amount,
.orders-table td.col-amount,
.orders-table th.col-balance,
.orders-table td.col-balance,
.orders-table th.col-badge,
.orders-table td.col-badge {
    white-space: nowrap !important;
}

.orders-table th {
    background: rgba(15, 23, 42, 0.03);
    padding: 14px 16px;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-medium);
}

[data-theme="dark"] .orders-table th {
    background: rgba(255, 255, 255, 0.03);
}

.orders-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-primary);
    vertical-align: middle;
}

.orders-table tr:last-child td {
    border-bottom: none;
}

.orders-table tr:hover td {
    background: rgba(37, 99, 235, 0.02);
}

[data-theme="dark"] .orders-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.order-ref-code {
    font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
    font-weight: 700;
    font-size: 13px;
    color: var(--text-primary);
}

.order-provider-id {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.order-service-cell {
    max-width: 220px;
    white-space: normal;
}

.order-service-name {
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.3;
}

.order-cat-pill {
    display: inline-block;
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    padding: 2px 7px;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-indigo);
    margin-top: 4px;
}

.order-target-link {
    color: var(--brand-indigo);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    max-width: 170px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.order-target-link:hover {
    text-decoration: underline;
}

.order-qty, .order-counter {
    font-weight: 600;
}

.order-amount {
    color: var(--accent-green, #10b981);
    font-weight: 700;
}

.order-date {
    font-size: 12px;
    color: var(--text-muted);
}

.refill-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.06);
    color: var(--text-muted);
    display: inline-block;
}

.refill-badge.active {
    background: rgba(16, 185, 129, 0.12);
    color: var(--accent-green);
}

.btn-order-refill {
    padding: 4px 10px;
    font-size: 11px;
    font-weight: 700;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: var(--brand-indigo);
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-order-refill:hover {
    background: var(--brand-indigo);
    color: #ffffff;
}

/* Status Badges */
.status-chip {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 11px;
    border-radius: var(--radius-pill);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.status-chip.pending {
    background: rgba(245, 158, 11, 0.12);
    color: #d97706;
    border: 1px solid rgba(245, 158, 11, 0.28);
}

.status-chip.in-progress {
    background: rgba(37, 99, 235, 0.12);
    color: var(--brand-indigo);
    border: 1px solid rgba(37, 99, 235, 0.28);
}

.status-chip.completed {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.28);
}

.status-chip.partial {
    background: rgba(249, 115, 22, 0.12);
    color: #ea580c;
    border: 1px solid rgba(249, 115, 22, 0.28);
}

.status-chip.cancelled,
.status-chip.failed {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.28);
}

.status-chip.refunded {
    background: rgba(100, 116, 139, 0.12);
    color: #475569;
    border: 1px solid rgba(100, 116, 139, 0.25);
}

.chip-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: currentColor;
    animation: statusPulse 1.6s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.35; transform: scale(0.75); }
}

/* VIP Support & Account Views */
.support-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.support-card,
.account-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
}

.support-icon {
    font-size: 32px;
    margin-bottom: 14px;
}

.support-card h4,
.account-card h4 {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0 0 8px 0;
}

.support-card p {
    font-size: 13.5px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.account-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 13.5px;
}

.account-row:last-child {
    border-bottom: none;
    padding-top: 18px;
}

/* Auth Modal 1-Click Demo & Tabs */
.btn-demo-auth {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius-md);
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
    cursor: pointer;
    margin-bottom: 18px;
    transition: all 0.2s ease;
    text-align: left;
}

.btn-demo-auth:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
    background: var(--bg-surface-elevated);
}

.demo-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.demo-btn-text {
    display: flex;
    flex-direction: column;
}

.demo-btn-text strong {
    font-size: 13.5px;
    color: var(--brand-indigo-dark);
}

.demo-btn-text span {
    font-size: 11.5px;
    color: var(--text-secondary);
}

.auth-tabs-row {
    display: flex;
    background: rgba(15, 23, 42, 0.05);
    border-radius: var(--radius-pill);
    padding: 4px;
    margin-bottom: 16px;
}

[data-theme="dark"] .auth-tabs-row {
    background: rgba(255, 255, 255, 0.06);
}

.auth-tab-btn {
    flex: 1;
    padding: 7px 14px;
    border-radius: var(--radius-pill);
    border: none;
    background: transparent;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.18s ease;
}

.auth-tab-btn.active {
    background: var(--bg-surface);
    color: var(--brand-indigo);
    font-weight: 700;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Nav user chip */
.nav-user-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-pill);
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.15s ease;
}

.nav-user-chip:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
}

.btn-nav-logout {
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    transition: all 0.15s ease;
}

.btn-nav-logout:hover {
    color: var(--accent-red);
    background: rgba(239, 68, 68, 0.08);
}

/* --------------------------------------------------------------------------
   12. Why Creators Choose ParagX & Customer Feedback
   -------------------------------------------------------------------------- */
.section-why-us {
    position: relative;
}

.why-cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-bottom: 24px;
}

.why-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.25s ease, 
                box-shadow 0.25s ease;
}

.why-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2563eb, #3b82f6, #2563eb);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.why-card:hover {
    border-color: var(--border-indigo);
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.why-card:hover::before {
    opacity: 1;
}

.why-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.why-card-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s ease;
}

.why-card:hover .why-card-icon-wrap {
    transform: scale(1.08);
}

.why-card-icon-wrap.icon-pricing {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.why-card-icon-wrap.icon-speed {
    background: rgba(37, 99, 235, 0.08);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.why-card-icon-wrap.icon-tracking {
    background: rgba(14, 165, 233, 0.08);
    color: #0284c7;
    border: 1px solid rgba(14, 165, 233, 0.2);
}

.why-card-icon-wrap.icon-security {
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
    border: 1px solid rgba(16, 185, 129, 0.22);
}

[data-theme="dark"] .why-card-icon-wrap.icon-pricing {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.32);
}

[data-theme="dark"] .why-card-icon-wrap.icon-speed {
    background: rgba(37, 99, 235, 0.18);
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.35);
}

[data-theme="dark"] .why-card-icon-wrap.icon-tracking {
    background: rgba(14, 165, 233, 0.18);
    color: #38bdf8;
    border-color: rgba(14, 165, 233, 0.35);
}

[data-theme="dark"] .why-card-icon-wrap.icon-security {
    background: rgba(16, 185, 129, 0.16);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.35);
}

.why-card-index {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    opacity: 0.6;
    letter-spacing: 0.5px;
}

.why-card-title {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 10px 0;
    line-height: 1.35;
}

.why-card-desc {
    font-family: var(--font-body);
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-secondary);
    margin: 0 0 20px 0;
    flex-grow: 1;
}

.why-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding-top: 14px;
    border-top: 1px solid var(--border-subtle);
}

.why-card-tag {
    font-size: 11px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: var(--radius-pill);
    background: rgba(15, 23, 42, 0.04);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    letter-spacing: 0.2px;
}

[data-theme="dark"] .why-card-tag {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.09);
    color: var(--text-secondary);
}

/* Customer Feedback Component Container */
.customer-feedback-section {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 28px 32px;
    box-shadow: var(--shadow-sm);
    margin-top: 36px;
    transition: border-color var(--transition);
}

[data-theme="dark"] .customer-feedback-section {
    background: rgba(18, 18, 24, 0.75);
    border-color: rgba(255, 255, 255, 0.09);
}

.feedback-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-subtle);
}

.feedback-header-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feedback-badge-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.feedback-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.6);
    display: inline-block;
}

.feedback-label {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.8px;
    color: var(--brand-indigo);
    text-transform: uppercase;
}

[data-theme="dark"] .feedback-label {
    color: var(--brand-indigo-light);
}

.feedback-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.feedback-subtitle {
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
}

.btn-feedback-track {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: var(--radius-pill);
    background: rgba(37, 99, 235, 0.06);
    border: 1px solid rgba(37, 99, 235, 0.22);
    font-size: 12.5px;
    font-weight: 600;
    color: var(--brand-indigo);
    cursor: pointer;
    transition: all var(--transition);
}

.btn-feedback-track:hover {
    background: rgba(37, 99, 235, 0.14);
    border-color: var(--brand-indigo);
    transform: translateY(-1px);
}

[data-theme="dark"] .btn-feedback-track {
    background: rgba(37, 99, 235, 0.16);
    border-color: rgba(37, 99, 235, 0.35);
    color: #93c5fd;
}

[data-theme="dark"] .btn-feedback-track:hover {
    background: rgba(37, 99, 235, 0.28);
    border-color: #3b82f6;
    color: #ffffff;
}

/* Feedback Grid & Empty Placeholder State */
.customer-feedback-grid {
    width: 100%;
}

.customer-feedback-grid[data-empty="true"] {
    display: block;
}

.customer-feedback-grid[data-empty="false"] {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.feedback-empty-state {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: rgba(37, 99, 235, 0.03);
    border: 1px dashed rgba(37, 99, 235, 0.22);
    flex-wrap: wrap;
}

[data-theme="dark"] .feedback-empty-state {
    background: rgba(37, 99, 235, 0.05);
    border-color: rgba(37, 99, 235, 0.25);
}

.feedback-empty-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.09);
    color: var(--brand-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="dark"] .feedback-empty-icon-wrap {
    background: rgba(37, 99, 235, 0.18);
    color: var(--brand-indigo-light);
}

.feedback-empty-text {
    flex: 1;
    min-width: 260px;
}

.feedback-empty-text h4 {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
}

.feedback-empty-text p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

.feedback-empty-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.22);
    font-size: 11.5px;
    font-weight: 600;
    color: #10b981;
    white-space: nowrap;
}

[data-theme="dark"] .feedback-empty-pill {
    background: rgba(16, 185, 129, 0.15);
    border-color: rgba(16, 185, 129, 0.3);
    color: #34d399;
}

/* Individual Review Card Structure (when reviews are loaded from database) */
.customer-review-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), border-color var(--transition);
}

.customer-review-card:hover {
    transform: translateY(-2px);
    border-color: var(--border-indigo);
}

.review-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.review-order-meta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.review-order-ref {
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    color: var(--brand-indigo);
}

.review-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
}

.review-date {
    font-size: 11.5px;
    color: var(--text-muted);
}

.review-service-pill {
    align-self: flex-start;
    font-size: 11px;
    font-weight: 600;
    color: var(--text-secondary);
    background: rgba(15, 23, 42, 0.05);
    padding: 3px 9px;
    border-radius: 6px;
}

[data-theme="dark"] .review-service-pill {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
}

.review-text {
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--text-primary);
    margin: 0;
}

/* Backward compatibility aliases */
.review-box {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.fampage-cards-grid {
    display: grid;
    gap: 24px;
}

.fampage-cards-grid.three-col {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 1024px) {
    .why-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
    }
}

@media (max-width: 640px) {
    .why-cards-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .customer-feedback-section {
        padding: 20px 18px;
        margin-top: 24px;
    }

    .feedback-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-feedback-track {
        width: 100%;
        justify-content: center;
    }

    .feedback-empty-state {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        padding: 16px;
    }

    .feedback-empty-pill {
        width: 100%;
        justify-content: center;
    }
}

/* --------------------------------------------------------------------------
   13. FAQ Accordion
   -------------------------------------------------------------------------- */
.faq-accordion-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.faq-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: border-color var(--transition);
}

.faq-card.active {
    border-color: var(--border-indigo);
}

.faq-header {
    width: 100%;
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    gap: 16px;
    font-size: 15.5px;
    font-weight: 600;
    color: var(--text-primary);
}

.faq-icon {
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-indigo);
    transition: transform var(--transition);
}

.faq-card.active .faq-icon {
    transform: rotate(45deg);
}

.faq-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
}

.faq-card.active .faq-body {
    max-height: 300px;
    padding: 0 24px 20px 24px;
}

.faq-body p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   14. High-Impact CTA Banner
   -------------------------------------------------------------------------- */
.cta-banner-section {
    padding: 60px 0 100px 0;
}

.cta-banner-card {
    background: var(--bg-card-highlight);
    border: 2px solid var(--border-indigo);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    position: relative;
    overflow: hidden;
}

.cta-content {
    max-width: 660px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(2rem, 3.2vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin: 12px 0 16px 0;
}

.cta-subtitle {
    font-size: 16.5px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 32px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   15. Minimalist SaaS Footer
   -------------------------------------------------------------------------- */
.main-footer {
    background-color: var(--bg-footer);
    border-top: 1px solid var(--border-subtle);
    padding: 56px 0 28px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid var(--border-subtle);
}

.col-brand .logo {
    margin-bottom: 14px;
}

.footer-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.6;
    max-width: 320px;
    margin-bottom: 16px;
}

.footer-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #10b981;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.footer-col h4 {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.footer-col ul li a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s ease;
}

.footer-col ul li a:hover {
    color: var(--brand-blue);
}

.footer-bottom-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 24px;
    font-size: 12.5px;
    color: var(--text-muted);
    flex-wrap: wrap;
    gap: 12px;
}

.footer-legal-links {
    display: flex;
    gap: 16px;
}

.footer-legal-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12.5px;
    transition: color 0.15s ease;
}

.footer-legal-links a:hover {
    color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   16. Modals (Order & Client Sign In)
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition), visibility var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-xl);
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 34px 30px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.active .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-close:hover {
    color: var(--text-primary);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 4px;
}

.modal-plan-summary {
    background-color: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.summary-plan-name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    display: block;
}

.summary-plan-vol {
    font-size: 12.5px;
    color: var(--brand-indigo);
}

.summary-price {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    display: block;
    text-align: right;
}

.summary-note {
    font-size: 11px;
    color: var(--text-muted);
}

.order-form,
.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

.form-group input {
    width: 100%;
    background-color: var(--bg-input);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 12px 14px;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    transition: border-color var(--transition);
}

.form-group input:focus {
    border-color: var(--brand-indigo);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.input-prefix-box {
    display: flex;
    align-items: center;
    background-color: var(--bg-input);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.input-prefix-box:focus-within {
    border-color: var(--brand-indigo);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.25);
}

.input-prefix {
    padding: 0 12px;
    font-weight: 700;
    color: var(--text-muted);
}

.input-prefix-box input {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.input-note {
    font-size: 11.5px;
    color: var(--text-muted);
    line-height: 1.4;
}

.summary-target-row {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    font-size: 12px;
    max-width: 100%;
    overflow: hidden;
}

.summary-target-label {
    font-weight: 700;
    color: var(--brand-indigo, #2563eb);
    text-transform: uppercase;
    font-size: 10.5px;
    letter-spacing: 0.5px;
}

.summary-target-url {
    color: var(--text-primary);
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 11.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 260px;
    display: inline-block;
}

.url-validation-msg {
    font-size: 12px;
    margin-top: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.url-validation-msg.error {
    color: #ef4444;
}

.url-validation-msg.valid {
    color: #10b981;
}

.url-examples-hint {
    margin-top: 5px;
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.5;
}

.url-examples-hint code {
    font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: 10.5px;
    background: rgba(37, 99, 235, 0.08);
    padding: 1px 4px;
    border-radius: 4px;
    color: var(--brand-indigo);
}

/* Legacy support */
.payment-method-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.pay-option {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: var(--bg-base);
    border: 1px solid var(--border-subtle);
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition);
}

.pay-option:has(input:checked) {
    border-color: var(--brand-indigo);
    background-color: rgba(37, 99, 235, 0.12);
    color: var(--brand-indigo-dark);
}

/* ==========================================================================
   Redesigned UPI App Selection Interface (2x2 Grid)
   ========================================================================== */
.pay-header-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.pay-main-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.01em;
    margin: 0;
    cursor: pointer;
}

.pay-label-badge {
    font-size: 10px;
    font-weight: 700;
    color: #4f46e5;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 2px 8px;
    border-radius: var(--radius-pill);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.upi-apps-selector {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.pay-option-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #ffffff;
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 12px;
    padding: 11px 12px;
    cursor: pointer;
    transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    position: relative;
    user-select: none;
    min-height: 80px;
    text-align: left;
}

.pay-option-card:hover {
    border-color: rgba(37, 99, 235, 0.5);
    background-color: #fbfbfe;
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(37, 99, 235, 0.08);
}

.pay-option-card:has(input:checked),
.pay-option-card.selected {
    border-color: var(--brand-indigo, #2563eb);
    background-color: rgba(37, 99, 235, 0.04);
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2), 0 4px 12px rgba(37, 99, 235, 0.08);
}

.pay-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-bottom: 7px;
}

.pay-brand-row {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow: hidden;
}

.pay-brand-row-multi {
    gap: 4px;
}

.pay-brand-logo {
    height: 18px;
    width: auto;
    max-width: 48px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.logo-gpay {
    height: 18px;
    max-width: 44px;
}

.logo-phonepe {
    height: 18px;
    max-width: 48px;
}

.logo-paytm {
    height: 16px;
    max-width: 48px;
}

.logo-fampay,
.logo-navi {
    height: 16px;
    max-width: 40px;
}

.logo-mini {
    height: 15px;
    max-width: 32px;
}

.logo-wa {
    height: 15px;
    width: 15px;
}

.logo-upi-icon {
    height: 14px;
    max-width: 34px;
}

.pay-radio {
    accent-color: var(--brand-indigo, #2563eb);
    width: 16px;
    height: 16px;
    cursor: pointer;
    margin: 0;
    flex-shrink: 0;
}

.pay-card-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.pay-card-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.pay-option-card:has(input:checked) .pay-card-title,
.pay-option-card.selected .pay-card-title {
    color: var(--brand-indigo-dark, #4338ca);
}

.pay-card-subtitle {
    font-size: 10.5px;
    font-weight: 500;
    color: var(--text-muted);
    line-height: 1.25;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.upi-helper-note {
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
    margin: 8px 0 10px 0;
    line-height: 1.35;
}

.order-total-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--border-subtle);
    font-size: 15px;
    font-weight: 600;
}

.order-total-price {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
}

.modal-trust-footnote {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 6px;
}

/* ==========================================================================
   Dynamic UPI QR Code Payment Interface
   ========================================================================== */
.upi-payment-panel {
    margin-top: 14px;
    transition: opacity 0.25s ease, max-height 0.3s ease;
}

.upi-payment-panel.hidden {
    display: none !important;
}

.upi-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 12px 0 14px 0;
}

.upi-divider::before,
.upi-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px dashed var(--border-medium);
}

.upi-divider-text {
    padding: 3px 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--brand-indigo);
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: var(--radius-pill);
}

.upi-card {
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.02);
}

.upi-qr-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.upi-qr-frame {
    background: #ffffff !important;
    padding: 12px;
    border-radius: var(--radius-md);
    border: 2px solid rgba(37, 99, 235, 0.2);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 180px;
    position: relative;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.upi-qr-frame:hover {
    border-color: var(--brand-indigo);
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.18);
    transform: translateY(-2px);
}

.upi-qr-frame svg,
.upi-qr-frame canvas,
.upi-qr-frame img {
    display: block;
    width: 156px !important;
    height: 156px !important;
    border-radius: 4px;
}

.upi-qr-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 600;
    color: var(--accent-green);
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 3px 10px;
    border-radius: var(--radius-pill);
}

.upi-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--accent-green);
    animation: upiPulse 2s infinite ease-in-out;
}

@keyframes upiPulse {
    0% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    }

    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0);
    }

    100% {
        transform: scale(0.9);
        box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
    }
}

.upi-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-align: center;
}

.upi-pay-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle);
}

.upi-scan-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
}

.upi-amount-highlight {
    font-size: 15px;
    font-weight: 800;
    color: var(--brand-indigo);
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 2px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: -0.2px;
}

.upi-instruction {
    font-size: 12px;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.45;
}

.upi-auto-fill-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 600;
    color: #0369a1;
    background: rgba(2, 132, 199, 0.08);
    border: 1px solid rgba(2, 132, 199, 0.18);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
}

.upi-auto-fill-note svg {
    color: #0284c7;
    flex-shrink: 0;
}

.upi-id-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    gap: 8px;
}

.upi-id-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.upi-id-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

.upi-id-value {
    font-family: 'JetBrains Mono', Consolas, monospace;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    user-select: all;
}

.btn-copy-upi {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--brand-indigo);
    color: #ffffff;
    border: none;
    border-radius: var(--radius-sm);
    padding: 7px 12px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.15s ease;
    white-space: nowrap;
}

.btn-copy-upi:hover {
    background: var(--brand-indigo-dark);
    transform: translateY(-1px);
}

.btn-copy-upi:active {
    transform: translateY(0);
}

.btn-copy-upi.copied {
    background: var(--accent-green) !important;
}

.upi-supported-apps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 2px;
}

.supported-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.supported-list {
    font-weight: 500;
    letter-spacing: 0.2px;
}

@media (max-width: 640px) {
    .upi-qr-frame {
        width: 160px;
        height: 160px;
        padding: 10px;
    }

    .upi-qr-frame svg,
    .upi-qr-frame canvas,
    .upi-qr-frame img {
        width: 140px !important;
        height: 140px !important;
    }

    .upi-id-value {
        font-size: 12px;
    }

    .btn-copy-upi {
        padding: 6px 10px;
        font-size: 11px;
    }
}

/* Auth Modal Styles */
.auth-modal-card {
    max-width: 445px;
    max-height: 92vh;
    overflow-y: auto;
}

.auth-header {
    margin-bottom: 18px;
}

.auth-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--text-primary);
    margin: 4px 0 4px 0;
}

.auth-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
}

.btn-google-auth {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background-color: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-pill);
    padding: 11px 16px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-google-auth:hover {
    background-color: var(--bg-card-hover);
    border-color: var(--border-indigo);
}

.auth-divider {
    display: flex;
    align-items: center;
    margin: 16px 0;
    color: var(--text-muted);
    font-size: 11px;
    text-transform: uppercase;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-subtle);
}

.auth-divider span {
    padding: 0 10px;
}

.password-wrap {
    position: relative;
}

.password-wrap input {
    padding-right: 44px;
}

.password-toggle-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
}

.password-toggle-btn:hover {
    color: var(--text-primary);
}

.label-link-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.forgot-link {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

.forgot-below-row {
    display: flex;
    justify-content: flex-end;
    margin-top: 4px;
}

.auth-optional-badge {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    padding: 1px 7px;
    border-radius: var(--radius-pill);
}

.auth-field-error {
    font-size: 12px;
    font-weight: 600;
    color: #ef4444;
    margin-top: 2px;
}

.auth-field-success {
    font-size: 12px;
    font-weight: 600;
    color: #10b981;
    margin-top: 2px;
}

.auth-inline-action {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    padding: 8px 11px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.08);
    border: 1px solid rgba(239, 68, 68, 0.25);
    font-size: 12px;
    color: var(--text-secondary);
}

.auth-inline-action-btn {
    background: none;
    border: none;
    padding: 0;
    font: inherit;
    font-weight: 700;
    color: var(--brand-blue, #4f46e5);
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-inline-action-btn.secondary {
    color: var(--text-primary);
}

.auth-inline-action-btn:hover {
    opacity: 0.85;
}

.auth-inline-sep {
    color: var(--text-muted);
    font-weight: 700;
}

.auth-form input.input-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.12) !important;
}

.auth-form input.input-valid {
    border-color: #10b981 !important;
}

.pwd-checklist {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 10px;
    margin-top: 6px;
    padding: 10px 12px;
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    font-size: 11.5px;
}

.pwd-rule {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-weight: 500;
    transition: color 0.15s ease;
}

.pwd-rule.valid {
    color: #10b981;
    font-weight: 600;
}

.pwd-rule.missing {
    color: #ef4444;
    font-weight: 600;
}

.otp-target-banner {
    padding: 12px 14px;
    background: var(--primary-subtle);
    border: 1px solid var(--primary-border);
    border-radius: var(--radius-md);
    font-size: 13px;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.45;
}

.otp-target-banner strong {
    color: var(--text-primary);
    word-break: break-all;
}

.otp-input-field {
    text-align: center;
    font-family: var(--font-mono) !important;
    font-size: 24px !important;
    font-weight: 800 !important;
    letter-spacing: 10px;
    padding: 14px 16px !important;
}

.otp-meta-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 2px;
}

.otp-resend-btn {
    background: none;
    border: none;
    padding: 0;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--primary);
    cursor: pointer;
}

.otp-resend-btn:disabled {
    color: var(--text-subtle);
    cursor: not-allowed;
}

.auth-back-link {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.auth-back-link:hover {
    color: var(--primary);
}

.forgot-steps-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 16px;
}

.forgot-step-pill {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: var(--radius-pill);
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
}

.forgot-step-pill.active {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}

.forgot-step-pill.done {
    background: rgba(16, 185, 129, 0.12);
    border-color: rgba(16, 185, 129, 0.35);
    color: #10b981;
}

.button-pill:disabled {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
}

.remember-row {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-secondary);
    cursor: pointer;
}

.auth-footer-link {
    text-align: center;
    font-size: 12.5px;
    color: var(--text-muted);
    margin-top: 10px;
}

.auth-footer-link a {
    color: var(--brand-indigo);
    font-weight: 600;
}

@media (max-width: 480px) {
    .pwd-checklist {
        grid-template-columns: 1fr;
    }
    .otp-input-field {
        font-size: 20px !important;
        letter-spacing: 6px;
    }
}

/* --------------------------------------------------------------------------
   17. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .preview-window-body {
        grid-template-columns: 1fr;
    }

    .feature-trio-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-grid {
        grid-template-columns: 1fr;
    }

    .marketplace-summary-column {
        position: static;
        margin-top: 10px;
    }

    .dash-category-selector {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .nav-links,
    #navGetStartedBtn,
    .top-announcement-inner .announcement-links,
    .mobile-toggle,
    .nav-container .currency-toggle,
    #currencyToggle,
    .nav-wholesaler-badge,
    .nav-breadcrumb {
        display: none !important;
    }

    .sidebar-hamburger-btn {
        display: inline-flex !important;
    }

    .nav-container {
        padding: 0 12px;
        gap: 8px;
    }

    .nav-left-brand {
        gap: 8px;
    }

    .brand-name {
        font-size: 16px;
    }

    .brand-badge {
        display: none;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-user-chip {
        padding: 4px 8px;
        gap: 4px;
        font-size: 11.5px;
    }

    .user-email-mini {
        display: none !important;
    }

    .btn-nav-logout {
        display: none !important;
    }

    .main-hero-section {
        padding: 50px 0 40px 0;
    }

    .feature-trio-grid,
    .why-cards-grid,
    .fampage-cards-grid.three-col,
    .comparison-dual-box,
    .support-grid,
    .security-badges-row {
        grid-template-columns: 1fr;
    }

    .dashboard-header-bar {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
        padding: 16px;
    }

    .dash-top-tabs {
        width: 100%;
        overflow-x: auto;
        padding: 4px;
        justify-content: flex-start;
    }

    .dash-category-selector {
        grid-template-columns: 1fr;
    }

    .smm-category-services-wrapper {
        padding: 14px 14px;
        margin-bottom: 20px;
        border-radius: var(--radius-lg);
    }

    .smm-cat-pill {
        padding: 7px 13px;
        font-size: 12.5px;
    }

    .smm-services-select {
        height: 44px;
        font-size: 13.5px;
    }

    .smm-dropdown-trigger {
        height: 46px;
        font-size: 13.5px;
        padding: 0 14px;
    }

    .market-stepper-box {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }

    .market-stepper-controls {
        justify-content: center;
    }

    .market-unit-badge {
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --------------------------------------------------------------------------
   Authenticated Customer Portal Page (.portal-navbar, .portal-main-wrap)
   -------------------------------------------------------------------------- */
.portal-navbar {
    background-color: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

[data-theme="dark"] .portal-navbar {
    background-color: rgba(9, 9, 11, 0.88);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.25);
}

.portal-nav-links {
    display: flex;
    align-items: center;
    gap: 16px;
}

.portal-home-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 5px 12px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    transition: all 0.15s ease;
}

.portal-home-link:hover {
    color: var(--brand-blue);
    border-color: var(--brand-blue);
    background: var(--bg-card-hover);
}

[data-theme="dark"] .portal-home-link {
    background: var(--bg-surface);
    border-color: var(--border-subtle);
    color: var(--text-secondary);
}

[data-theme="dark"] .portal-home-link:hover {
    background: var(--bg-card-hover);
    border-color: #3b82f6;
    color: #60a5fa;
}

.portal-main-wrap {
    min-height: calc(100vh - 120px);
    padding-bottom: 60px;
}

.portal-mini-footer {
    border-top: 1px solid var(--border-subtle);
    padding: 18px 0;
    font-size: 12px;
    color: var(--text-muted);
    background-color: var(--bg-footer);
}

[data-theme="dark"] .portal-mini-footer {
    background-color: var(--bg-footer);
    border-top-color: var(--border-subtle);
}

.portal-footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.portal-footer-links {
    display: flex;
    align-items: center;
    gap: 14px;
}

.portal-footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 12.5px;
    transition: color 0.15s ease;
}

.portal-footer-links a:hover {
    color: var(--brand-blue);
}

/* ==========================================================================
   Order Tracking & Contact Results Styling
   ========================================================================== */
.track-status-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
    font-size: 15px;
    font-weight: 700;
}

.track-badge-live {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.track-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    font-size: 13.5px;
}

.track-details-grid div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.track-details-grid div strong {
    font-size: 11.5px;
    text-transform: uppercase;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.track-details-grid div span {
    font-weight: 600;
    color: var(--text-primary);
}

/* ==============================================================================
   Live Wholesaler SMM Services Dropdown & Dynamic Information Cards
   ============================================================================== */
.smm-service-card-item {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    padding: 12px 14px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.15s ease;
    gap: 12px;
}

.smm-service-card-item:last-child {
    border-bottom: none;
}

.smm-service-card-item:hover {
    background: rgba(37, 99, 235, 0.05) !important;
}

.smm-service-card-item.selected {
    background: rgba(37, 99, 235, 0.08) !important;
    border-left: 3px solid var(--primary);
}

.smm-item-main {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.smm-item-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.smm-item-top .smm-item-name {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.smm-item-rate {
    font-size: 12px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 2px 7px;
    border-radius: 6px;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.2px;
}

.smm-item-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.smm-meta-pill {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-muted, #94a3b8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    padding: 1px 6px;
    border-radius: 4px;
    white-space: nowrap;
}

.smm-meta-pill.id-pill {
    color: var(--primary);
    background: var(--brand-blue-subtle);
    border-color: var(--brand-blue-border);
    font-weight: 600;
}

.smm-meta-pill.refill-badge {
    color: #38bdf8;
    background: rgba(56, 189, 248, 0.12);
    border-color: rgba(56, 189, 248, 0.25);
    font-weight: 600;
}

.smm-meta-pill.speed-pill {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
    border-color: rgba(251, 191, 36, 0.2);
}

/* Active Service Details Card */
.smm-active-service-info {
    margin-top: 14px;
    padding: 16px 18px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    gap: 10px;
    animation: fadeInService 0.25s ease-out;
}

@keyframes fadeInService {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.active-svc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.active-svc-title-row {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.active-svc-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 7px;
    background: rgba(37, 99, 235, 0.22);
    color: #c7d2fe;
    border: 1px solid rgba(37, 99, 235, 0.4);
    border-radius: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}

.active-svc-name {
    font-size: 13.5px;
    font-weight: 650;
    color: #f8fafc;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.active-svc-rate-badge {
    font-size: 13px;
    font-weight: 700;
    color: #34d399;
    background: rgba(16, 185, 129, 0.16);
    border: 1px solid rgba(52, 211, 153, 0.35);
    padding: 3px 10px;
    border-radius: 6px;
    flex-shrink: 0;
}

.active-svc-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 8px 14px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.active-svc-meta-grid .meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.active-svc-meta-grid .m-lbl {
    font-size: 10.5px;
    color: var(--text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.active-svc-meta-grid strong {
    font-size: 12.5px;
    color: var(--text-primary, #f1f5f9);
    font-weight: 600;
}

.active-svc-desc {
    font-size: 12px;
    color: #94a3b8;
    line-height: 1.45;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 8px 12px;
    border-radius: 6px;
    margin: 0;
    white-space: pre-line;
    max-height: 75px;
    overflow-y: auto;
}

.smm-error-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #fca5a5;
    border-radius: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

.smm-error-banner .btn-retry {
    background: #ef4444;
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.15s ease;
}

.smm-error-banner .btn-retry:hover {
    opacity: 0.9;
}

/* ==========================================================================
   Wallet & Add Funds System Styles
   ========================================================================== */

.nav-admin-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 8px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--brand-blue);
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.15s ease;
    margin-right: 6px;
}

.nav-admin-link:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--brand-blue);
    color: var(--brand-blue);
}

.pay-wallet-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-radius: 4px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.green-badge {
    background: rgba(16, 185, 129, 0.15) !important;
    color: #10b981 !important;
    border: 1px solid rgba(16, 185, 129, 0.3) !important;
}

.wallet-overview-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 20px;
    margin-bottom: 24px;
}

.wallet-balance-card {
    background: linear-gradient(135deg, rgba(30, 41, 59, 0.85) 0%, rgba(15, 23, 42, 0.95) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-xl, 16px);
    padding: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.wallet-balance-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

.wallet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.wallet-label {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted, #94a3b8);
}

.wallet-balance-row {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 8px;
}

.wallet-currency-symbol {
    font-size: 26px;
    font-weight: 700;
    color: #10b981;
}

.wallet-balance-val {
    font-size: 42px;
    font-weight: 900;
    color: var(--text-primary, #ffffff);
    letter-spacing: -0.02em;
    line-height: 1;
}

.wallet-desc {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 18px;
    line-height: 1.5;
}

.wallet-quick-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.wallet-stats-card {
    background: var(--bg-surface, rgba(30, 41, 59, 0.6));
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-xl, 16px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    gap: 14px;
}

.wallet-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.wallet-stat-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.wallet-stat-item .stat-lbl {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
}

.wallet-stat-item .stat-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
}

.text-green { color: #10b981 !important; }
.text-orange { color: #f59e0b !important; }
.text-danger { color: #ef4444 !important; }

/* Deposit / Add Funds Card */
.deposit-section-card {
    background: var(--bg-surface, rgba(30, 41, 59, 0.7));
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-xl, 16px);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm, 0 4px 6px -1px rgba(0, 0, 0, 0.1));
}

.deposit-header {
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding-bottom: 16px;
}

.deposit-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary, #f1f5f9);
    margin: 8px 0 4px 0;
}

.deposit-sub {
    font-size: 13.5px;
    color: var(--text-muted, #94a3b8);
    margin: 0;
}

.deposit-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: start;
}

.deposit-input-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary, #cbd5e1);
    margin-bottom: 10px;
}

.deposit-presets-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}

.deposit-preset-btn {
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md, 8px);
    color: var(--text-primary, #f1f5f9);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.deposit-preset-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.3);
    color: var(--primary);
}

.deposit-preset-btn.active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.25);
}

[data-theme="dark"] .deposit-preset-btn.active {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

.deposit-custom-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px solid var(--border-medium, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius-md, 8px);
    padding: 0 16px;
    margin-bottom: 16px;
    transition: border-color 0.2s ease;
}

.deposit-custom-input-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--brand-blue-border);
}

.input-curr-prefix {
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
    margin-right: 8px;
}

.deposit-amount-input {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-primary, #f1f5f9);
    font-size: 16px;
    font-weight: 700;
    padding: 12px 0;
    outline: none;
}

.upi-id-box-styled {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    background: rgba(15, 23, 42, 0.5);
    border: 1px dashed rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-md, 8px);
    padding: 12px 16px;
    margin-bottom: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.upi-id-left {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    flex: 1 1 180px;
    max-width: 100%;
    overflow: hidden;
}

.upi-tag {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #94a3b8;
    font-weight: 600;
}

.upi-id-text {
    font-size: 14px;
    color: #10b981;
    font-family: monospace;
    font-weight: 700;
    word-break: break-all;
    overflow-wrap: anywhere;
    white-space: normal;
    display: block;
    line-height: 1.4;
}

.deposit-utr-input {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1.5px solid var(--border-medium, rgba(255, 255, 255, 0.12));
    border-radius: var(--radius-md, 8px);
    padding: 12px 14px;
    color: var(--text-primary, #f1f5f9);
    font-size: 14px;
    font-weight: 600;
    outline: none;
    transition: all 0.2s ease;
}

.deposit-utr-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--brand-blue-border);
}

.deposit-status-alert {
    padding: 12px 16px;
    border-radius: var(--radius-md, 8px);
    font-size: 13px;
    font-weight: 600;
    margin-top: 14px;
    line-height: 1.45;
}

.deposit-status-alert.success {
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #34d399;
}

.deposit-status-alert.error {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.35);
    color: #fca5a5;
}

/* Deposit QR Card */
.deposit-qr-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-lg, 12px);
    padding: 24px;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

.deposit-qr-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.qr-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary, #f1f5f9);
}

.qr-amount-badge {
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid rgba(16, 185, 129, 0.35);
    color: #10b981;
    font-size: 13px;
    font-weight: 800;
    border-radius: 20px;
}

.deposit-qr-frame-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 14px;
}

.deposit-qr-frame {
    background: #ffffff;
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    display: inline-block;
    margin-bottom: 10px;
}

.deposit-qr-frame img, .deposit-qr-frame canvas {
    display: block;
    width: 160px !important;
    height: 160px !important;
}

.qr-verified-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 3px 10px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 20px;
    font-size: 11.5px;
    font-weight: 600;
    color: #10b981;
}

.live-dot-green {
    width: 6px;
    height: 6px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 6px #10b981;
}

.deposit-qr-hint {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    margin: 8px 0;
    line-height: 1.4;
}

.deposit-supported-logos {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-top: 10px;
}

/* Wallet History & Passbook Section */
.wallet-history-section {
    background: var(--bg-surface, rgba(30, 41, 59, 0.6));
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-xl, 16px);
    padding: 20px;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}

.wallet-hist-table-wrap {
    background: rgba(15, 23, 42, 0.25);
    border: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    border-radius: var(--radius-lg, 12px);
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
    display: block !important;
    margin-top: 8px;
    margin-bottom: 0 !important;
}

.wallet-history-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    flex-wrap: wrap;
    gap: 12px;
}

.history-tab-buttons {
    display: flex;
    gap: 8px;
}

.hist-tab-btn {
    padding: 7px 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    color: var(--text-muted, #94a3b8);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.hist-tab-btn:hover {
    color: var(--text-primary, #ffffff);
    border-color: rgba(255, 255, 255, 0.2);
}

.hist-tab-btn.active {
    background: rgba(37, 99, 235, 0.2);
    border-color: #2563eb;
    color: #ffffff;
}

.btn-refresh-wallet {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm, 6px);
    color: var(--text-muted, #94a3b8);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-refresh-wallet:hover {
    color: var(--text-primary, #ffffff);
    border-color: rgba(255, 255, 255, 0.3);
}

/* Status Badges */
.status-badge-pending {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge-approved, .status-badge-completed {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.status-badge-rejected, .status-badge-failed {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Mobile responsive for wallet */
@media (max-width: 840px) {
    .wallet-overview-grid {
        grid-template-columns: 1fr;
    }
    .deposit-grid {
        grid-template-columns: 1fr;
    }
    .deposit-presets-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Deposit Status Alerts */
.deposit-status-alert {
    margin-top: 14px;
    padding: 12px 16px;
    border-radius: var(--radius-md, 8px);
    font-size: 13px;
    line-height: 1.5;
}

.deposit-status-alert.alert-success {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.deposit-status-alert.alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.deposit-status-alert.alert-warning {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.35);
}

/* ==========================================================================
   Admin Panel Component Styles (Sleek Dark / Light Glassmorphism)
   ========================================================================== */
.admin-header-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.15), rgba(37, 99, 235, 0.2));
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 20px;
    color: #f43f5e;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.admin-stat-card {
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-lg, 12px);
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.admin-stat-card:hover {
    transform: translateY(-2px);
    border-color: rgba(37, 99, 235, 0.4);
}

.admin-stat-card[style*="cursor:pointer"],
.admin-stat-card[onclick] {
    cursor: pointer !important;
}

.admin-stat-card[style*="cursor:pointer"]:hover,
.admin-stat-card[onclick]:hover {
    transform: translateY(-3px) scale(1.008);
    border-color: rgba(37, 99, 235, 0.6);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.admin-stat-card[style*="cursor:pointer"]:active,
.admin-stat-card[onclick]:active {
    transform: translateY(-1px) scale(0.995);
}

.admin-stat-icon {
    font-size: 22px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(37, 99, 235, 0.1);
    color: #2563eb;
}

.admin-stat-card.stat-green .admin-stat-icon {
    background: rgba(16, 185, 129, 0.12);
    color: #10b981;
}

.admin-stat-card.stat-amber .admin-stat-icon {
    background: rgba(245, 158, 11, 0.12);
    color: #f59e0b;
}

.admin-stat-card.stat-purple .admin-stat-icon {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.admin-stat-lbl {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-secondary, #94a3b8);
}

.admin-stat-val {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-primary, #ffffff);
    letter-spacing: -0.5px;
}

.admin-stat-sub {
    font-size: 11.5px;
    color: var(--text-muted, #64748b);
}

.admin-section-box {
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-xl, 16px);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.admin-actions-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.admin-search-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 13px;
    color: var(--text-primary, #ffffff);
    min-width: 240px;
    outline: none;
    transition: border-color 0.2s;
}

.admin-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px var(--brand-blue-border);
}

.admin-filter-tabs {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.btn-admin-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.15s ease;
}

.btn-admin-action.btn-approve {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.btn-admin-action.btn-approve:hover {
    background: #10b981;
    color: #ffffff;
}

.btn-admin-action.btn-reject {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-admin-action.btn-reject:hover {
    background: #ef4444;
    color: #ffffff;
}

.btn-admin-action.btn-edit {
    background: var(--brand-blue-subtle);
    color: var(--primary);
    border: 1px solid var(--brand-blue-border);
}

.btn-admin-action.btn-edit:hover {
    background: var(--primary);
    color: #ffffff;
}

.btn-admin-action.btn-retry {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.btn-admin-action.btn-retry:hover {
    background: #f59e0b;
    color: #ffffff;
}

.admin-actions-cell {
    display: flex;
    gap: 6px;
    align-items: center;
}

/* ==========================================================================
   MIGRATION EXTENSION STYLES: TICKETS, API, CHILD PANELS, AFFILIATES, SETTINGS
   ========================================================================== */

/* System Announcement / Notification Banner */
.portal-notification-banner {
    background: var(--brand-blue-subtle);
    border: 1px solid var(--brand-blue-border);
    border-radius: var(--radius-md, 10px);
    padding: 12px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.portal-notification-content {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 13.5px;
    color: var(--text-primary, #ffffff);
}
.notification-icon-pulse {
    font-size: 18px;
    animation: iconBounce 2s infinite ease-in-out;
}
@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

/* Support Tickets Desk */
.tickets-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 24px;
}
.ticket-thread-modal-card {
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.1));
    border-radius: var(--radius-xl, 16px);
    padding: 24px;
    display: flex;
    flex-direction: column;
    max-height: 85vh;
}
.ticket-thread-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    margin-bottom: 16px;
}
.ticket-messages-stream {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 12px 0 20px 0;
}
.ticket-message-bubble {
    display: flex;
    gap: 12px;
    max-width: 85%;
}
.ticket-message-bubble.user-msg {
    align-self: flex-start;
}
.ticket-message-bubble.admin-msg {
    align-self: flex-end;
    flex-direction: row-reverse;
}
.ticket-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}
.user-msg .ticket-avatar {
    background: linear-gradient(135deg, #2563eb, #2563eb);
    color: #fff;
}
.admin-msg .ticket-avatar {
    background: linear-gradient(135deg, #2563eb, #f43f5e);
    color: #fff;
}
.ticket-bubble-body {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    padding: 12px 16px;
}
.admin-msg .ticket-bubble-body {
    background: rgba(37, 99, 235, 0.12);
    border-color: rgba(37, 99, 235, 0.25);
}
.ticket-meta-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 6px;
    font-size: 11.5px;
    color: var(--text-muted, #94a3b8);
}
.ticket-text-body {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--text-primary, #ffffff);
    white-space: pre-wrap;
}
.ticket-reply-box {
    border-top: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    padding-top: 16px;
}

/* Reseller API v2 UI */
.api-key-display-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.1), rgba(37, 99, 235, 0.05));
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-xl, 16px);
    padding: 24px;
    margin-bottom: 24px;
}
.api-key-box {
    display: flex;
    align-items: center;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.1));
    border-radius: 10px;
    padding: 10px 16px;
    margin: 12px 0;
    gap: 12px;
}
.api-key-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 14px;
    color: #a5b4fc;
    letter-spacing: 0.5px;
    flex: 1;
    overflow-x: auto;
}
.api-docs-endpoint-card {
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-xl, 16px);
    padding: 20px;
    margin-bottom: 20px;
}
.endpoint-method-badge {
    background: #10b981;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    letter-spacing: 0.5px;
}
.code-block-syntax {
    background: #0f172a;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 14px 18px;
    font-family: 'Courier New', Courier, monospace;
    font-size: 12.5px;
    color: #e2e8f0;
    overflow-x: auto;
    line-height: 1.5;
    margin: 10px 0;
}

/* Child Panel & Affiliate Cards */
.promo-banner-card {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(37, 99, 235, 0.12));
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: var(--radius-xl, 16px);
    padding: 28px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.nameserver-box-styled {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    background: rgba(0, 0, 0, 0.25);
    border: 1px dashed rgba(37, 99, 235, 0.3);
    border-radius: 10px;
    padding: 14px;
    margin: 14px 0;
}
.referral-link-styled-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 12px 18px;
    margin: 14px 0;
}
.referral-link-input {
    background: transparent;
    border: none;
    color: #34d399;
    font-family: monospace;
    font-size: 14px;
    flex: 1;
    outline: none;
}

/* Settings Form Grid */
.settings-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}
.settings-card-group {
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: var(--radius-xl, 16px);
    padding: 22px;
}
.settings-group-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-primary, #ffffff);
    border-bottom: 1px solid var(--border-medium, rgba(255, 255, 255, 0.06));
    padding-bottom: 10px;
}

/* Cron Automation Monitor Bar */
.cron-status-bar {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg, 12px);
    padding: 14px 20px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.cron-live-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
    display: inline-block;
    animation: livePulse 1.5s infinite;
}
@keyframes livePulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* ==========================================================================
   PARAGX MODERN HAMBURGER MENU & SLIDE-OUT SIDEBAR NAVIGATION
   ========================================================================== */

/* Left Brand & Hamburger Arrangement */
.nav-left-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Modern 3-line Hamburger Button */
.sidebar-hamburger-btn {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    width: 34px;
    height: 34px;
    padding: 0;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.15s ease;
    color: var(--text-secondary);
    flex-shrink: 0;
    outline: none;
}

.sidebar-hamburger-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

.sidebar-hamburger-btn:active {
    transform: scale(0.97);
}

.sidebar-hamburger-btn .hamburger-bar {
    display: block;
    width: 15px;
    height: 1.5px;
    background-color: currentColor;
    border-radius: 1px;
    transition: all 0.2s ease;
}

/* Backdrop Overlay */
.sidebar-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9998;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.sidebar-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

/* Slide-out Sidebar Drawer */
.app-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 280px;
    max-width: 86vw;
    height: 100vh;
    height: 100dvh;
    background: var(--bg-surface);
    border-right: 1px solid var(--border-subtle);
    box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    transform: translateX(-102%);
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

[data-theme="light"] .app-sidebar {
    background: #ffffff;
    border-right: 1px solid var(--border-subtle);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.06);
}

[data-theme="dark"] .app-sidebar {
    background: #111114;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5);
}

.app-sidebar.open {
    transform: translateX(0);
}

.sidebar-inner {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/* Sidebar Header */
.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 56px;
    padding: 0 16px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.sidebar-close-btn {
    width: 30px;
    height: 30px;
    border-radius: var(--radius-sm);
    background: transparent;
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.15s ease;
}

.sidebar-close-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-medium);
    color: var(--text-primary);
}

/* Sidebar User & Balance Card */
.sidebar-user-card {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-subtle);
    flex-shrink: 0;
    background: transparent;
}

.sidebar-user-box {
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px;
}

[data-theme="light"] .sidebar-user-box {
    background: #f8fafc;
    border-color: var(--border-subtle);
}

.sidebar-user-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sidebar-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-md);
    background: #2563eb;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
}

.sidebar-username {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.sidebar-role-pill {
    display: inline-block;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    margin-top: 2px;
}

.sidebar-role-pill.admin {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.sidebar-role-pill.client {
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.sidebar-balance-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 8px 10px;
    margin-top: 8px;
}

[data-theme="light"] .sidebar-balance-row {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
}

.sidebar-balance-label {
    font-size: 10px;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.sidebar-balance-amount {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary);
}

.sidebar-add-funds-btn {
    font-size: 11px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    background: #2563eb;
    color: #ffffff !important;
    border: none;
    cursor: pointer;
    transition: all 0.15s ease;
    white-space: nowrap;
    text-decoration: none;
}

.sidebar-add-funds-btn:hover {
    background: #1d4ed8;
}

/* Guest State in User Card */
.sidebar-guest-box {
    text-align: center;
    padding: 4px 0;
}

.sidebar-guest-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 3px;
}

.sidebar-guest-sub {
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    line-height: 1.4;
}

.sidebar-guest-actions {
    display: flex;
    gap: 8px;
}

.sidebar-guest-btn {
    flex: 1;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

.sidebar-guest-btn.primary {
    background: #2563eb;
    color: #ffffff;
    border: 1px solid transparent;
}

.sidebar-guest-btn.primary:hover {
    background: #1d4ed8;
}

.sidebar-guest-btn.secondary {
    background: transparent;
    border: 1px solid var(--border-medium);
    color: var(--text-primary);
}

.sidebar-guest-btn.secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--text-primary);
}

/* Scrollable Content */
.sidebar-scrollable-content {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 12px 10px;
    -webkit-overflow-scrolling: touch;
}

.sidebar-scrollable-content::-webkit-scrollbar {
    width: 4px;
}

.sidebar-scrollable-content::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-scrollable-content::-webkit-scrollbar-thumb {
    background: var(--border-medium);
    border-radius: 4px;
}

/* Sections */
.sidebar-nav-section {
    margin-bottom: 16px;
}

.sidebar-section-title {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    padding: 6px 8px 4px 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sidebar-admin-title {
    color: var(--text-secondary);
}

.sidebar-admin-badge {
    font-size: 8.5px;
    font-weight: 700;
    background: rgba(37, 99, 235, 0.08);
    color: var(--brand-blue);
    border: 1px solid rgba(37, 99, 235, 0.2);
    padding: 1px 5px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.04em;
}

.sidebar-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.15s ease;
    border: 1px solid transparent;
    cursor: pointer;
    user-select: none;
}

.sidebar-nav-link:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
}

[data-theme="light"] .sidebar-nav-link:hover {
    background: #f1f5f9;
}

.sidebar-nav-link.active {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
    color: var(--brand-blue);
    font-weight: 600;
}

[data-theme="dark"] .sidebar-nav-link.active {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
}

.sidebar-nav-icon {
    font-size: 14px;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-nav-label {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-badge-count {
    background: rgba(37, 99, 235, 0.1);
    color: var(--brand-blue);
    font-size: 10px;
    font-weight: 700;
    padding: 1px 6px;
    border-radius: var(--radius-pill);
    border: 1px solid rgba(37, 99, 235, 0.2);
}

.sidebar-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ef4444;
}

.sidebar-pill-tag {
    font-size: 9px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: var(--radius-pill);
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.sidebar-nav-link.admin-link:hover {
    background: var(--bg-card-hover);
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 12px 14px;
    border-top: 1px solid var(--border-subtle);
    flex-shrink: 0;
    background: var(--bg-surface);
}

[data-theme="light"] .sidebar-footer {
    background: #f8fafc;
}

.sidebar-footer-links {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sidebar-footer-btn {
    flex: 1;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}

[data-theme="light"] .sidebar-footer-btn {
    background: #ffffff;
    border-color: var(--border-subtle);
}

.sidebar-footer-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: var(--border-medium);
}

.sidebar-footer-copy {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
}

/* Prevent body scroll when sidebar is open */
body.sidebar-open {
    overflow: hidden !important;
}

/* Header User Chip Mini Details */
.nav-user-details-mini {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1.2;
}

.nav-user-balance-mini {
    font-size: 11px;
    font-weight: 700;
    color: var(--accent-green, #10b981);
}

/* ==========================================================================
   ACTIVE INTEGRATIONS MODULE (Google Tag Manager, reCAPTCHA v2, SEO)
   ========================================================================== */

.integrations-container {
    max-width: 100%;
    margin-top: 8px;
}

.integrations-active-heading {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin: 0 0 12px 2px;
    letter-spacing: -0.2px;
}

.integrations-list-card {
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.09));
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

[data-theme="light"] .integrations-list-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.integration-row-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    transition: background 0.15s ease;
    gap: 20px;
}

[data-theme="light"] .integration-row-item {
    border-bottom-color: #f1f5f9;
}

.integration-row-item:last-child {
    border-bottom: none;
}

.integration-row-item:hover {
    background: rgba(255, 255, 255, 0.015);
}

[data-theme="light"] .integration-row-item:hover {
    background: #f8fafc;
}

.integration-item-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex: 1;
    min-width: 0;
}

.integration-icon-box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.integration-icon-box svg {
    width: 40px;
    height: 40px;
    display: block;
}

.integration-item-text {
    flex: 1;
    min-width: 0;
}

.integration-title-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 3px;
    flex-wrap: wrap;
}

.integration-item-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin: 0;
    line-height: 1.3;
}

[data-theme="light"] .integration-item-title {
    color: #1e293b;
}

.integration-status-pill {
    font-size: 11px;
    font-weight: 600;
    padding: 1px 7px;
    border-radius: 10px;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.integration-status-pill.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.integration-status-pill.inactive {
    background: rgba(148, 163, 184, 0.12);
    color: #94a3b8;
    border: 1px solid rgba(148, 163, 184, 0.25);
}

.integration-item-desc {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin: 0;
    line-height: 1.45;
}

[data-theme="light"] .integration-item-desc {
    color: #64748b;
}

.integration-btn-edit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary, #ffffff);
    background: transparent;
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.18));
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    text-decoration: none;
}

[data-theme="light"] .integration-btn-edit {
    color: #334155;
    border-color: #cbd5e1;
    background: #ffffff;
}

.integration-btn-edit:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(37, 99, 235, 0.06);
    transform: translateY(-1px);
    box-shadow: var(--shadow-xs);
}

[data-theme="light"] .integration-btn-edit:hover {
    color: var(--primary);
    border-color: var(--primary);
    background: var(--brand-blue-subtle);
}

/* Integration Modal Customizations */
.modal-integration-body {
    padding: 20px 24px;
}

.modal-integration-body .form-group {
    margin-bottom: 16px;
}

.modal-integration-body .form-group:last-child {
    margin-bottom: 0;
}

.modal-integration-body label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin-bottom: 6px;
}

.modal-integration-body input[type="text"],
.modal-integration-body input[type="password"],
.modal-integration-body textarea,
.modal-integration-body select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg-card, #0f172a);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.12));
    border-radius: 8px;
    color: var(--text-primary, #ffffff);
    font-size: 13.5px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

[data-theme="light"] .modal-integration-body input[type="text"],
[data-theme="light"] .modal-integration-body input[type="password"],
[data-theme="light"] .modal-integration-body textarea,
[data-theme="light"] .modal-integration-body select {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #1e293b;
}

.modal-integration-body input:focus,
.modal-integration-body textarea:focus,
.modal-integration-body select:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.integration-status-switch {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 8px;
    margin-bottom: 18px;
}

[data-theme="light"] .integration-status-switch {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.integration-switch-input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: #10b981;
}

.integration-hint {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    margin-top: 5px;
    display: block;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .integration-row-item {
        flex-direction: column;
        align-items: flex-start;
        padding: 16px;
    }
    .integration-btn-edit {
        align-self: flex-end;
        margin-top: 8px;
    }
}

/* ==========================================================================
   MODERN PARAGX SMM ORDER & RESELLER SYSTEM (SaaS Two-Column Architecture)
   ========================================================================== */

.paragx-order-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 28px;
    align-items: start;
    margin-top: 24px;
}

@media (max-width: 960px) {
    .paragx-order-grid {
        grid-template-columns: 1fr;
    }
}

/* Left / Main Card */
.paragx-order-card {
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .paragx-order-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.order-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
}

[data-theme="light"] .order-card-header {
    border-bottom-color: #f1f5f9;
}

.order-header-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(37, 99, 235, 0.15);
    color: #818cf8;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

[data-theme="light"] .order-header-icon {
    background: #eef2ff;
    color: #4f46e5;
}

.order-header-title {
    font-size: 19px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin: 0 0 3px 0;
}

[data-theme="light"] .order-header-title {
    color: #0f172a;
}

.order-header-sub {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin: 0;
}

.order-form-group {
    margin-bottom: 22px;
}

.order-field-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
    margin-bottom: 8px;
}

[data-theme="light"] .order-field-label {
    color: #1e293b;
}

.label-step-badge {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.label-with-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    flex-wrap: wrap;
    gap: 8px;
}

.service-search-inline {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.1));
    border-radius: 6px;
    padding: 3px 8px;
}

[data-theme="light"] .service-search-inline {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.service-search-inline input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-primary, #ffffff);
    font-size: 12px;
    width: 140px;
}

[data-theme="light"] .service-search-inline input {
    color: #0f172a;
}

.order-select-wrapper,
.order-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.order-form-select,
.order-form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-card, #0f172a);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
    color: var(--text-primary, #ffffff);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

[data-theme="light"] .order-form-select,
[data-theme="light"] .order-form-input {
    background: #f8fafc;
    border-color: #cbd5e1;
    color: #0f172a;
}

.order-form-select:focus,
.order-form-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.order-select-chevron {
    position: absolute;
    right: 14px;
    pointer-events: none;
    color: var(--text-muted, #94a3b8);
}

.order-input-prefix {
    position: absolute;
    left: 14px;
    color: var(--text-muted, #94a3b8);
    pointer-events: none;
}

.order-input-wrapper .order-form-input {
    padding-left: 40px;
}

.order-input-hint {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    margin-top: 5px;
    display: block;
}

/* Service Details Card */
.order-service-details-card {
    background: rgba(15, 23, 42, 0.65);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    padding: 16px 18px;
    margin-bottom: 22px;
}

[data-theme="light"] .order-service-details-card {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.svc-details-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.svc-id-pill {
    font-size: 11.5px;
    font-weight: 700;
    color: #818cf8;
    background: rgba(37, 99, 235, 0.15);
    padding: 3px 8px;
    border-radius: 6px;
    font-family: monospace;
}

.svc-rate-badge {
    font-size: 14px;
    font-weight: 700;
    color: #10b981;
    background: rgba(16, 185, 129, 0.15);
    padding: 3px 10px;
    border-radius: 8px;
}

.svc-specs-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-medium, rgba(255, 255, 255, 0.06));
}

@media (max-width: 600px) {
    .svc-specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.spec-cell {
    display: flex;
    flex-direction: column;
}

.spec-lbl {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-bottom: 2px;
}

.spec-cell strong {
    font-size: 13px;
    color: var(--text-primary, #ffffff);
}

[data-theme="light"] .spec-cell strong {
    color: #0f172a;
}

.svc-desc-box {
    font-size: 12.5px;
    color: var(--text-muted, #94a3b8);
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.2);
    padding: 10px 12px;
    border-radius: 8px;
}

[data-theme="light"] .svc-desc-box {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
}

/* Quantity Control */
.qty-bounds-text {
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
    font-weight: 500;
}

.order-qty-stepper-box {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
    background: var(--bg-card, #0f172a);
    overflow: hidden;
    margin-bottom: 10px;
}

[data-theme="light"] .order-qty-stepper-box {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.qty-step-btn {
    width: 48px;
    height: 46px;
    background: transparent;
    border: none;
    color: var(--text-primary, #ffffff);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.15s ease;
}

[data-theme="light"] .qty-step-btn {
    color: #0f172a;
}

.qty-step-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    color: #818cf8;
}

.order-qty-input {
    flex: 1;
    height: 46px;
    background: transparent;
    border: none;
    text-align: center;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    outline: none;
}

[data-theme="light"] .order-qty-input {
    color: #0f172a;
}

.order-quick-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.order-quick-btn {
    padding: 5px 12px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.1));
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-theme="light"] .order-quick-btn {
    background: #f1f5f9;
    border-color: #cbd5e1;
    color: #475569;
}

.order-quick-btn:hover {
    background: rgba(37, 99, 235, 0.08);
    border-color: var(--primary);
    color: var(--primary);
}

.order-quick-btn.active {
    background: #2563eb !important;
    border-color: #2563eb !important;
    color: #ffffff !important;
}

[data-theme="dark"] .order-quick-btn.active {
    background: #3b82f6 !important;
    border-color: #3b82f6 !important;
    color: #ffffff !important;
}

/* Charge Inline Bar */
.order-charge-inline-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 10px;
    margin-top: 20px;
}

[data-theme="light"] .order-charge-inline-bar {
    background: #eef2ff;
    border-color: #c7d2fe;
}

.charge-inline-label {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-primary, #ffffff);
}

[data-theme="light"] .charge-inline-label {
    color: #1e293b;
}

.charge-inline-val {
    font-size: 18px;
    font-weight: 800;
    color: #818cf8;
}

[data-theme="light"] .charge-inline-val {
    color: #4f46e5;
}

/* Reseller Profit Calculator Card */
.reseller-calc-card {
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    overflow: hidden;
    margin-top: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

[data-theme="light"] .reseller-calc-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}

.reseller-calc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.02);
    cursor: pointer;
    transition: background 0.15s ease;
}

.reseller-calc-header:hover {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="light"] .reseller-calc-header:hover {
    background: #f8fafc;
}

.calc-header-icon {
    font-size: 20px;
}

.btn-calc-toggle {
    font-size: 12px;
    font-weight: 600;
    color: #818cf8;
    background: transparent;
    border: none;
    cursor: pointer;
}

.reseller-calc-body {
    padding: 20px;
    border-top: 1px solid var(--border-medium, rgba(255, 255, 255, 0.06));
}

[data-theme="light"] .reseller-calc-body {
    border-top-color: #f1f5f9;
}

.calc-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 18px;
}

@media (max-width: 600px) {
    .calc-inputs-grid {
        grid-template-columns: 1fr;
    }
}

.calc-field label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 6px;
}

.calc-metrics-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

@media (max-width: 600px) {
    .calc-metrics-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.calc-metric-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.06));
    border-radius: 10px;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
}

[data-theme="light"] .calc-metric-box {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.calc-metric-box.highlight-green {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.25);
}

.metric-lbl {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 4px;
}

.metric-val {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
}

[data-theme="light"] .metric-val {
    color: #0f172a;
}

/* Right Column: Order Summary Card */
.paragx-summary-card {
    position: sticky;
    top: 90px;
    background: var(--bg-surface, #1e293b);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .paragx-summary-card {
    background: #ffffff;
    border-color: #e2e8f0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.summary-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.summary-top-badge {
    font-size: 11.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #818cf8;
}

.summary-sync-dot {
    font-size: 11px;
    color: #10b981;
    display: flex;
    align-items: center;
    gap: 4px;
}

.summary-lead-service {
    margin-bottom: 18px;
}

.summary-cat-pill {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 6px;
}

[data-theme="light"] .summary-cat-pill {
    background: #f1f5f9;
    color: #475569;
}

.summary-service-name {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin: 0;
    line-height: 1.35;
}

[data-theme="light"] .summary-service-name {
    color: #0f172a;
}

.summary-rows-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 18px;
}

.summary-spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}

.spec-name {
    color: var(--text-muted, #94a3b8);
}

.spec-value {
    color: var(--text-primary, #ffffff);
    font-weight: 500;
}

[data-theme="light"] .spec-value {
    color: #1e293b;
}

.spec-value.highlight-num {
    font-weight: 700;
    color: #818cf8;
}

.summary-divider-line {
    height: 1px;
    background: var(--border-medium, rgba(255, 255, 255, 0.08));
    margin-bottom: 18px;
}

[data-theme="light"] .summary-divider-line {
    background: #e2e8f0;
}

.summary-charge-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 15px;
    color: var(--text-primary, #ffffff);
}

[data-theme="light"] .summary-charge-row {
    color: #0f172a;
}

.summary-charge-number {
    font-size: 24px;
    font-weight: 800;
    color: #10b981;
}

/* Wallet Panel */
.summary-wallet-panel {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 12px;
    padding: 14px;
    margin-bottom: 20px;
}

[data-theme="light"] .summary-wallet-panel {
    background: #f8fafc;
    border-color: #e2e8f0;
}

.wallet-balance-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.wallet-lbl {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    display: block;
}

.wallet-val {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
}

[data-theme="light"] .wallet-val {
    color: #0f172a;
}

.btn-mini-add-funds {
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #818cf8;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-mini-add-funds:hover {
    background: #2563eb;
    color: #ffffff;
}

.balance-status-alert {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 8px;
    border-radius: 6px;
}

.balance-status-alert.sufficient {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.balance-status-alert.insufficient {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Action button */
.btn-order-place {
    height: 48px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.3px;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
}

.btn-order-place:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.45);
}

.order-guarantee-note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11.5px;
    color: var(--text-muted, #94a3b8);
    margin-top: 12px;
}

/* ==========================================================================
   PARAGX ADMIN PANEL — MODERN HAMBURGER SIDEBAR & MINIMAL TOP NAVIGATION
   ========================================================================== */

/* Modern Inline SVG Icons for Sidebar */
.sidebar-svg-icon {
    width: 16px;
    height: 16px;
    stroke: currentColor;
    stroke-width: 2;
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
    opacity: 0.85;
    transition: stroke 0.15s ease;
}

.sidebar-nav-link:hover .sidebar-svg-icon {
    opacity: 1;
    stroke: var(--brand-blue);
    transform: none;
}

.sidebar-nav-link.active .sidebar-svg-icon {
    opacity: 1;
    stroke: var(--brand-blue);
}

/* Header Dynamic Breadcrumb */
.nav-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-left: 8px;
    padding-left: 12px;
    border-left: 1px solid var(--border-subtle);
}

.nav-breadcrumb .crumb-sep {
    color: var(--text-muted);
    font-size: 13px;
    opacity: 0.6;
}

.nav-breadcrumb .crumb-active {
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

/* Wholesaler API Balance Pill in Header */
.nav-wholesaler-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-pill);
    padding: 4px 10px;
    font-size: 11.5px;
    font-weight: 600;
    color: #10b981;
    cursor: pointer;
    transition: all 0.15s ease;
    user-select: none;
}

.nav-wholesaler-badge:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: #10b981;
}

/* Admin Quick Header Action Controls */
.admin-quick-header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Admin User Box in Sidebar */
.sidebar-user-box.admin-user-box {
    background: var(--bg-base);
    border: 1px solid var(--border-subtle);
    box-shadow: none;
}

[data-theme="light"] .sidebar-user-box.admin-user-box {
    background: #f8fafc;
    border: 1px solid var(--border-subtle);
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 860px) {
    .nav-breadcrumb {
        display: none;
    }
}

@media (max-width: 680px) {
    .nav-wholesaler-badge {
        display: none !important;
    }
    .admin-quick-header-actions {
        width: 100% !important;
        display: flex !important;
        gap: 8px !important;
        margin-top: 10px;
    }
    .admin-quick-header-actions .button-pill {
        flex: 1 1 0 !important;
        padding: 8px 6px !important;
        font-size: 12px !important;
        justify-content: center !important;
        white-space: nowrap !important;
    }
}

/* ==========================================================================
   Admin Authentication Gate Overlay (Smooth In-Page Login)
   ========================================================================== */
.admin-auth-gate-overlay {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(8, 12, 24, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    animation: adminFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.admin-auth-gate-card {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-medium, #e2e8f0);
    border-radius: var(--radius-xl, 18px);
    padding: 36px 32px;
    box-shadow: var(--shadow-xl);
    color: var(--text-primary);
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    transform: translateY(0);
    transition: transform 0.25s ease;
}

[data-theme="dark"] .admin-auth-gate-card {
    background: #111114;
    border-color: rgba(255, 255, 255, 0.1);
    color: #f8fafc;
}

.admin-auth-gate-header {
    text-align: center;
    margin-bottom: 24px;
}

.admin-auth-icon-badge {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--primary, #2563eb);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25);
    margin-bottom: 16px;
}

.admin-auth-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px 0;
    letter-spacing: -0.02em;
}

.admin-auth-subtitle {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
}

.admin-auth-error-box {
    background: rgba(239, 68, 68, 0.12);
    border: 1px solid rgba(239, 68, 68, 0.35);
    border-radius: 10px;
    color: #fca5a5;
    padding: 12px 16px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-auth-field {
    margin-bottom: 18px;
    text-align: left;
}

.admin-auth-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
}

.admin-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.admin-input-wrap svg {
    position: absolute;
    left: 14px;
    color: #2563eb;
    pointer-events: none;
}

.admin-input-wrap input {
    width: 100%;
    padding: 12px 14px 12px 42px;
    background: rgba(15, 23, 42, 0.7);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.admin-input-wrap input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
    background: rgba(15, 23, 42, 0.9);
}

.admin-auth-submit-btn {
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #2563eb);
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.35);
    transition: all 0.2s ease;
    margin-top: 8px;
}

.admin-auth-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.5);
    filter: brightness(1.08);
}

.admin-auth-submit-btn:active {
    transform: translateY(0);
}

.admin-auth-divider {
    position: relative;
    text-align: center;
    margin: 22px 0 18px 0;
}

.admin-auth-divider::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 1px;
    background: rgba(148, 163, 184, 0.15);
}

.admin-auth-divider span {
    position: relative;
    background: #141b2d;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    letter-spacing: 0.08em;
}

.admin-auth-quick-actions {
    display: flex;
    gap: 10px;
}

.admin-auth-quick-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 11px 12px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    border-radius: 12px;
    color: #c4b5fd;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.admin-auth-quick-btn:hover {
    background: rgba(37, 99, 235, 0.24);
    border-color: rgba(37, 99, 235, 0.55);
    color: #ffffff;
    transform: translateY(-1px);
}

.admin-auth-quick-btn.secondary {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: #94a3b8;
}

.admin-auth-quick-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.25);
    color: #f1f5f9;
}

.admin-auth-footer-nav {
    margin-top: 22px;
    text-align: center;
    border-top: 1px solid rgba(148, 163, 184, 0.1);
    padding-top: 16px;
}

.admin-auth-back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 12.5px;
    text-decoration: none;
    transition: color 0.2s;
}

.admin-auth-back-link:hover {
    color: #cbd5e1;
}

@keyframes adminFadeIn {
    from { opacity: 0; transform: scale(0.98); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   COMPREHENSIVE RESPONSIVE SUITE — MOBILE, TABLET & DESKTOP STABILIZATION
   ========================================================================== */

/* 1. Universal Layout & Viewport Safety */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden !important;
    position: relative;
    -webkit-text-size-adjust: 100%;
}

img, svg, video, canvas {
    max-width: 100%;
    height: auto;
}

/* Ensure all cards & layout containers never cause horizontal overflow */
.card,
.admin-card,
.admin-section-box,
.dash-tab-content,
.admin-dual-grid,
.paragx-order-card,
.paragx-summary-card,
.support-card,
.account-card,
.calc-controls-card,
.calc-result-card,
.why-card,
.trio-card,
.feature-card,
.modal-card,
.service-spec-panel,
.deposit-method-card,
.integration-card {
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

.admin-section-box {
    overflow: hidden;
}

/* 2. Responsive Tables — Smooth horizontal swipe inside wrapper without body blowout */
.orders-table-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    box-sizing: border-box !important;
}

.orders-table {
    min-width: 600px;
    width: 100%;
}

/* 3. Horizontal Touch Scroll for All Chip / Tab Rows */
.admin-filter-tabs,
.hist-tabs-row,
.order-filter-chips,
.services-cat-tabs,
.dash-top-tabs {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    max-width: 100% !important;
}

.admin-filter-tabs::-webkit-scrollbar,
.hist-tabs-row::-webkit-scrollbar,
.order-filter-chips::-webkit-scrollbar,
.services-cat-tabs::-webkit-scrollbar,
.dash-top-tabs::-webkit-scrollbar {
    display: none !important;
}

/* 4. Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
    .container {
        padding: 0 20px;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .why-cards-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px;
    }

    .dash-category-selector {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 14px;
    }
}

/* 5. Medium Screens & Small Tablets (max-width: 860px) */
@media (max-width: 860px) {
    /* Calculators: Stack vertically (Controls on top, Result card below) */
    .calc-container {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        max-width: 100% !important;
    }

    .calc-service-tabs {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }

    .calc-result-card {
        margin-top: 0 !important;
    }

    /* Order Flow Architecture: 1-Column Stack */
    .paragx-order-grid {
        grid-template-columns: 1fr !important;
        gap: 22px !important;
    }

    .paragx-summary-card {
        position: static !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-top: 16px !important;
    }

    /* Admin Slide-Out Drawer Sidebar */
    .admin-sidebar {
        position: fixed !important;
        top: 0 !important;
        left: -285px !important;
        width: 280px !important;
        height: 100vh !important;
        z-index: 10000 !important;
        transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        box-shadow: 4px 0 24px rgba(0, 0, 0, 0.5) !important;
        overflow-y: auto !important;
    }

    .admin-sidebar.open {
        transform: translateX(285px) !important;
    }

    .sidebar-hamburger-btn {
        display: inline-flex !important;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    .admin-dual-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .settings-grid-layout {
        grid-template-columns: 1fr !important;
    }

    .cron-status-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
    }
}

/* 6. Standard Mobile Phones (max-width: 768px) */
@media (max-width: 768px) {
    /* Prevent iOS auto-zoom on input focus */
    input, select, textarea {
        font-size: 16px !important;
    }

    .container {
        padding: 0 16px;
    }

    /* Clean Mobile Header: [☰] [ParagX] ....... [Profile / Login] */
    .navbar .currency-toggle,
    .top-nav .currency-toggle,
    #currencyToggle,
    .nav-breadcrumb,
    .nav-wholesaler-badge,
    .nav-links,
    #navGetStartedBtn,
    .brand-badge {
        display: none !important;
    }

    .nav-container {
        padding: 0 12px !important;
        gap: 8px !important;
    }

    .nav-actions {
        gap: 6px !important;
    }

    .nav-user-chip {
        padding: 4px 8px !important;
        gap: 4px !important;
        font-size: 11.5px !important;
    }

    .nav-user-chip .btn-nav-logout,
    .nav-user-chip .user-email-mini {
        display: none !important;
    }

    .btn-nav-login {
        padding: 6px 14px !important;
        font-size: 12.5px !important;
    }

    /* Hero Section */
    .hero-split-section {
        padding: 40px 0 32px 0 !important;
        min-height: auto !important;
    }

    .hero-title {
        font-size: clamp(26px, 8vw, 36px) !important;
        line-height: 1.22 !important;
    }

    .hero-subtitle {
        font-size: 14.5px !important;
        line-height: 1.55 !important;
    }

    .hero-cta-group {
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .hero-cta-group .button-pill {
        width: 100% !important;
        justify-content: center !important;
    }

    .hero-stats-row {
        flex-wrap: wrap !important;
        gap: 12px !important;
    }

    .hero-stat-pill {
        flex: 1 1 45% !important;
    }

    /* Marketplace / Services Flow */
    .marketplace-grid {
        grid-template-columns: 1fr !important;
    }

    .marketplace-summary-column {
        position: static !important;
        width: 100% !important;
        margin-top: 14px !important;
    }

    .smm-dropdown-trigger {
        font-size: 13.5px !important;
        padding: 0 12px !important;
    }

    /* Grids & Cards */
    .wallet-overview-grid,
    .deposit-grid,
    .support-grid,
    .track-details-grid,
    .feature-trio-grid,
    .comparison-dual-box {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .deposit-presets-row {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .why-cards-grid {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }

    .feedback-header {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
    }

    .btn-feedback-track {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Dashboard Header Bar */
    .dashboard-header-bar {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 12px !important;
        padding: 16px !important;
    }

    .dashboard-header-right {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 10px !important;
    }

    .dashboard-header-right .btn-admin-action {
        width: 100% !important;
        justify-content: center !important;
    }

    /* Admin Top Header Actions */
    .admin-quick-header-actions {
        gap: 6px !important;
    }

    .cron-actions {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
    }

    .cron-actions button {
        flex: 1 1 calc(50% - 4px) !important;
    }

    /* Reseller Profit Engine Grid */
    .calc-inputs-grid {
        grid-template-columns: 1fr !important;
    }

    .calc-metrics-row {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 8px !important;
    }
}

/* 7. Compact Smartphone Breakpoint (max-width: 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 12px !important;
    }

    .brand-name {
        font-size: 15px !important;
    }

    .brand-logo-icon {
        width: 26px !important;
        height: 26px !important;
    }

    /* Modals */
    .modal-overlay {
        padding: 12px !important;
    }

    .modal-card {
        padding: 22px 14px !important;
        border-radius: 16px !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: 90vh !important;
    }

    /* Calculators */
    .calc-controls-card,
    .calc-result-card {
        padding: 20px 14px !important;
        border-radius: 16px !important;
    }

    .calc-service-tabs {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 6px !important;
    }

    .calc-service-tab {
        padding: 8px 6px !important;
        font-size: 12px !important;
        gap: 6px !important;
    }

    .calc-tab-icon {
        font-size: 14px !important;
    }

    .calc-tab-title {
        font-size: 12px !important;
    }

    .calc-stepper-box {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .calc-stepper-controls {
        width: 100% !important;
        justify-content: center !important;
    }

    .calc-quick-pills {
        gap: 6px !important;
    }

    .calc-quick-pill {
        padding: 4px 8px !important;
        font-size: 11.5px !important;
    }

    .calc-price-huge {
        font-size: 28px !important;
    }

    /* Reseller Metrics */
    .calc-metric-box {
        padding: 10px 8px !important;
    }

    .calc-metric-val {
        font-size: 16px !important;
    }

    /* Order Page Controls */
    .paragx-order-card,
    .paragx-summary-card {
        padding: 18px 14px !important;
    }

    .order-quick-pills {
        gap: 6px !important;
    }

    .order-quick-pill {
        padding: 4px 8px !important;
        font-size: 11.5px !important;
    }

    .summary-charge-number {
        font-size: 20px !important;
    }

    .btn-order-place {
        height: 44px !important;
        font-size: 14px !important;
    }

    /* Admin Auth Gate Card */
    .admin-auth-gate-card {
        padding: 22px 14px !important;
    }

    .admin-auth-quick-actions {
        flex-direction: column !important;
    }

    .admin-auth-quick-btn {
        width: 100% !important;
    }

    /* Admin Stats Grid: 1 column */
    .admin-stats-grid {
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    .stat-card-modern {
        padding: 14px !important;
    }

    .dash-category-selector {
        grid-template-columns: 1fr !important;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }

    .footer-bottom-bar {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 12px !important;
    }
}

/* 8. Ultra-Narrow Phone Breakpoint (max-width: 360px - e.g. Galaxy Fold / iPhone SE) */
@media (max-width: 360px) {
    .container {
        padding: 0 8px !important;
    }

    .nav-container {
        padding: 0 6px !important;
    }

    .brand-name {
        font-size: 14px !important;
    }

    .btn-nav-login {
        padding: 5px 10px !important;
        font-size: 11.5px !important;
    }

    .calc-service-tabs {
        grid-template-columns: 1fr !important;
    }

    .calc-metrics-row {
        grid-template-columns: 1fr !important;
    }

    .deposit-presets-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ==========================================================================
   WEBSITE STRUCTURE & UI LAYOUT MANAGER — ADMIN & STOREFRONT STYLES
   ========================================================================== */

/* Structure Cards Grid in Admin */
.structure-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 22px;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .structure-cards-grid {
        grid-template-columns: 1fr;
    }
}

.ws-structure-card {
    position: relative;
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    display: flex;
    flex-direction: column;
}

[data-theme="dark"] .ws-structure-card {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-structure-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.ws-structure-card.ws-active {
    border-color: #10b981 !important;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.25), 0 16px 36px rgba(16, 185, 129, 0.12);
}

.ws-card-glow {
    height: 6px;
    width: 100%;
}

.ws-card-inner {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.ws-card-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}

.ws-icon-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

.ws-card-title-block {
    flex: 1;
}

.ws-card-name {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px 0;
    color: var(--text-primary, #0f172a);
}

.ws-card-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    letter-spacing: 0.5px;
}

.ws-active-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.ws-live-dot {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
    animation: wsPulse 1.8s infinite;
}

@keyframes wsPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.ws-card-tagline {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary, #2563eb);
    margin: 0 0 6px 0;
}

.ws-card-desc {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.ws-layout-preview {
    background: rgba(0, 0, 0, 0.03);
    border: 1px dashed var(--border-medium, #cbd5e1);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 18px;
}

[data-theme="dark"] .ws-layout-preview {
    background: rgba(255, 255, 255, 0.03);
    border-color: #334155;
}

.ws-preview-label {
    font-size: 10.5px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted, #94a3b8);
    letter-spacing: 0.5px;
    margin-bottom: 8px;
}

.ws-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
}

.ws-preview-chip {
    font-size: 11px;
    padding: 4px 8px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-subtle, #e2e8f0);
    border-radius: 6px;
    color: var(--text-secondary, #475569);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

[data-theme="dark"] .ws-preview-chip {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.ws-chip-icon {
    margin-right: 4px;
}

.ws-hero-indicator {
    font-size: 11px;
    font-weight: 600;
    color: #10b981;
    margin-top: 8px;
}

.ws-hero-indicator.ws-disabled {
    color: var(--text-muted, #94a3b8);
}

.ws-card-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
    flex-wrap: wrap;
}

.ws-btn {
    border: none;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.ws-btn-activate {
    background: #10b981;
    color: #ffffff;
    flex: 1;
}

.ws-btn-activate:hover {
    background: #059669;
    transform: translateY(-1px);
}

.ws-btn-active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    flex: 1;
    cursor: default;
}

.ws-btn-customize {
    background: var(--bg-input, #f1f5f9);
    color: var(--text-primary, #0f172a);
    border: 1px solid var(--border-medium, #cbd5e1);
}

[data-theme="dark"] .ws-btn-customize {
    background: #1e293b;
    color: #f8fafc;
    border-color: #334155;
}

.ws-btn-customize:hover {
    background: var(--primary, #2563eb);
    color: #ffffff;
    border-color: var(--primary, #2563eb);
}

.ws-btn-preview {
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.3);
}

.ws-btn-preview:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Customizer Modal Styles */
.ws-customizer-group {
    background: var(--bg-card-highlight, #f8fafc);
    border: 1px solid var(--border-medium, #e2e8f0);
    border-radius: 10px;
    padding: 14px;
}

[data-theme="dark"] .ws-customizer-group {
    background: #111827;
    border-color: #1f2937;
}

.ws-customizer-group-title {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary, #0f172a);
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 1px solid var(--border-subtle, #e2e8f0);
}

.ws-customizer-fields {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.ws-customizer-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ws-customizer-field.ws-full-width {
    grid-column: 1 / -1;
}

.ws-customizer-field label {
    font-size: 11.5px;
    font-weight: 600;
    color: var(--text-secondary, #475569);
}

.ws-customizer-check {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
    padding: 6px 0;
}

/* Device Preview Modal Frame */
.ws-preview-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    z-index: 100000;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px;
}

.ws-preview-topbar {
    width: 100%;
    max-width: 1320px;
    background: #1e293b;
    border-radius: 12px;
    padding: 10px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #ffffff;
    margin-bottom: 14px;
    flex-wrap: wrap;
    gap: 10px;
}

.ws-device-btn-group {
    display: flex;
    gap: 6px;
    background: #0f172a;
    padding: 4px;
    border-radius: 8px;
}

.ws-device-btn {
    background: transparent;
    border: none;
    color: #94a3b8;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ws-device-btn.active, .ws-device-btn:hover {
    background: #2563eb;
    color: #ffffff;
}

.ws-preview-frame-wrap {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.ws-preview-iframe {
    height: 100%;
    border: none;
    background: #ffffff;
    border-radius: 14px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ws-device-frame-desktop { width: 100%; max-width: 1280px; }
.ws-device-frame-tablet { width: 768px; }
.ws-device-frame-mobile { width: 375px; }
.ws-device-frame-small-mobile { width: 320px; }

/* --------------------------------------------------------------------------
   CUSTOMER STOREFRONT LAYOUT STYLES (5 Distinct Experiences)
   -------------------------------------------------------------------------- */

.ws-container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 18px;
}

.ws-badge-pill {
    display: inline-block;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.28);
    margin-bottom: 12px;
}

.ws-hero-title {
    font-size: clamp(28px, 4.5vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    margin: 0 0 14px 0;
    color: var(--text-primary, #0f172a);
}

.ws-hero-sub {
    font-size: clamp(14px, 1.8vw, 17px);
    color: var(--text-secondary, #64748b);
    line-height: 1.55;
    max-width: 680px;
    margin: 0 0 24px 0;
}

.ws-form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ws-form-group label {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-primary, #0f172a);
}

.ws-input-field {
    width: 100%;
    padding: 12px 14px;
    font-size: 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border-medium, #cbd5e1);
    background: var(--bg-card, #ffffff);
    color: var(--text-primary, #0f172a);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

[data-theme="dark"] .ws-input-field {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

.ws-input-field:focus {
    border-color: var(--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.ws-input-hint {
    font-size: 11.5px;
    color: var(--text-muted, #94a3b8);
}

/* 1. BEGINNER STRUCTURE */
.ws-beginner-layout {
    padding: 30px 0 80px 0;
}

.ws-beg-hero {
    text-align: center;
    padding: 30px 0 40px 0;
}

.ws-beg-hero .ws-hero-sub {
    margin: 0 auto 30px auto;
}

.ws-beg-cat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 10px;
}

.ws-beg-cat-card {
    background: var(--bg-card, #ffffff);
    border: 2px solid var(--border-medium, #e2e8f0);
    border-radius: 16px;
    padding: 24px 16px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

[data-theme="dark"] .ws-beg-cat-card {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-beg-cat-card:hover {
    transform: translateY(-4px);
    border-color: #10b981;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.12);
}

.ws-beg-cat-card.active {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.05);
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
}

.ws-cat-icon {
    font-size: 34px;
    margin-bottom: 8px;
}

.ws-beg-cat-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin: 0 0 4px 0;
}

.ws-beg-cat-card p {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    margin: 0;
}

.ws-wizard-card {
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.06);
    max-width: 820px;
    margin: 0 auto;
}

[data-theme="dark"] .ws-wizard-card {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-wizard-header {
    text-align: center;
    margin-bottom: 28px;
}

.ws-wizard-step-pill {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    color: #10b981;
    background: rgba(16, 185, 129, 0.12);
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

.ws-wizard-steps-indicator {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.ws-step-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted, #94a3b8);
    background: rgba(0, 0, 0, 0.04);
    padding: 6px 14px;
    border-radius: 20px;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ws-step-indicator {
    background: rgba(255, 255, 255, 0.05);
}

.ws-step-indicator span {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #cbd5e1;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
}

.ws-step-indicator.active {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.ws-step-indicator.active span {
    background: #10b981;
}

.ws-step-indicator.completed span {
    background: #10b981;
}

.ws-step-heading {
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 6px 0;
}

.ws-step-sub {
    font-size: 13px;
    color: var(--text-secondary, #64748b);
    margin: 0 0 18px 0;
}

.ws-service-selection-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 22px;
}

.ws-service-select-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card-highlight, #f8fafc);
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 12px;
    padding: 14px 18px;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ws-service-select-item {
    background: #111827;
    border-color: #1f2937;
}

.ws-service-select-item:hover, .ws-service-select-item.selected {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.04);
}

.ws-item-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-item-icon {
    font-size: 24px;
}

.ws-item-left h4 {
    margin: 0 0 2px 0;
    font-size: 14px;
    font-weight: 600;
}

.ws-item-left p {
    margin: 0;
    font-size: 12px;
    color: var(--text-muted, #94a3b8);
}

.ws-item-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ws-item-price {
    font-size: 14px;
    font-weight: 700;
    color: #10b981;
}

.ws-item-check {
    font-weight: 800;
    color: #10b981;
    font-size: 16px;
    width: 20px;
}

.ws-qty-presets {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ws-preset-chip {
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    background: var(--bg-card-highlight, #f1f5f9);
    border: 1.5px solid var(--border-medium, #cbd5e1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ws-preset-chip {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.ws-preset-chip.active, .ws-preset-chip:hover {
    background: #10b981;
    color: #ffffff;
    border-color: #10b981;
}

.ws-calc-summary-box {
    margin-top: 18px;
    padding: 16px 20px;
    background: rgba(16, 185, 129, 0.08);
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ws-calc-big-price {
    font-size: 26px;
    font-weight: 800;
    color: #10b981;
}

.ws-step-btn-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
}

.ws-wizard-btn {
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 700;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ws-wizard-btn.next, .ws-wizard-btn.order {
    background: #10b981;
    color: #ffffff;
    margin-left: auto;
}

.ws-wizard-btn.next:hover, .ws-wizard-btn.order:hover {
    background: #059669;
    transform: translateY(-1px);
}

.ws-wizard-btn.prev {
    background: var(--bg-input, #f1f5f9);
    color: var(--text-primary, #0f172a);
    border: 1.5px solid var(--border-medium, #cbd5e1);
}

.ws-summary-card {
    background: var(--bg-card-highlight, #f8fafc);
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

[data-theme="dark"] .ws-summary-card {
    background: #111827;
    border-color: #1f2937;
}

.ws-sum-row {
    display: flex;
    justify-content: space-between;
    font-size: 13.5px;
}

.ws-sum-row.total {
    border-top: 1px solid var(--border-medium, #cbd5e1);
    padding-top: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #10b981;
}

.ws-beg-how-section {
    padding: 60px 0 20px 0;
    text-align: center;
}

.ws-sec-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 30px;
}

.ws-how-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.ws-how-card {
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 14px;
    padding: 24px;
    text-align: left;
}

[data-theme="dark"] .ws-how-card {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-how-num {
    width: 36px;
    height: 36px;
    background: #10b981;
    color: #ffffff;
    font-weight: 800;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

/* 2. MARKETPLACE STRUCTURE */
.ws-marketplace-layout {
    padding-bottom: 80px;
}

.ws-market-banner {
    background: linear-gradient(135deg, #1e3a8a, #2563eb);
    color: #ffffff;
    padding: 10px 0;
    font-size: 13px;
}

.ws-market-badge {
    background: #f59e0b;
    color: #0f172a;
    font-size: 11px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 20px;
}

.ws-market-toolbar {
    background: var(--bg-card, #ffffff);
    border-bottom: 1px solid var(--border-medium, #e2e8f0);
    padding: 16px 0;
    position: sticky;
    top: 60px;
    z-index: 10;
}

[data-theme="dark"] .ws-market-toolbar {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-market-search-wrap {
    position: relative;
    margin-bottom: 12px;
}

.ws-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 15px;
    color: var(--text-muted, #94a3b8);
}

.ws-market-search {
    width: 100%;
    padding: 12px 14px 12px 42px;
    font-size: 14px;
    border-radius: 10px;
    border: 1.5px solid var(--border-medium, #cbd5e1);
    background: var(--bg-card-highlight, #f8fafc);
    box-sizing: border-box;
}

[data-theme="dark"] .ws-market-search {
    background: #111827;
    border-color: #334155;
    color: #ffffff;
}

.ws-market-cat-chips {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.ws-market-cat-chips::-webkit-scrollbar {
    display: none;
}

.ws-chip {
    padding: 6px 14px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 20px;
    background: var(--bg-card-highlight, #f1f5f9);
    border: 1px solid var(--border-medium, #cbd5e1);
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ws-chip {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.ws-chip.active, .ws-chip:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.ws-market-catalog {
    padding: 30px 0;
}

.ws-market-sec-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 22px;
}

.ws-market-sec-head h2 {
    font-size: 24px;
    font-weight: 800;
    margin: 0 0 4px 0;
}

.ws-market-sec-head p {
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    margin: 0;
}

.ws-product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.ws-product-card {
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 14px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    transition: all 0.25s ease;
}

[data-theme="dark"] .ws-product-card {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(37, 99, 235, 0.1);
    border-color: #2563eb;
}

.ws-prod-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ws-prod-badge {
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
    border-radius: 6px;
}

.ws-prod-refill {
    font-size: 10px;
    font-weight: 700;
    color: #10b981;
}

.ws-prod-title {
    font-size: 15px;
    font-weight: 700;
    margin: 0 0 6px 0;
    line-height: 1.35;
}

.ws-prod-desc {
    font-size: 12px;
    color: var(--text-secondary, #64748b);
    line-height: 1.45;
    margin: 0 0 12px 0;
    flex: 1;
}

.ws-prod-meta-row {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border-subtle, #f1f5f9);
}

.ws-prod-pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ws-prod-price {
    font-size: 20px;
    font-weight: 800;
    color: #2563eb;
}

.ws-prod-per {
    font-size: 11px;
    color: var(--text-muted, #94a3b8);
}

.ws-prod-retail {
    font-size: 10.5px;
    color: #ef4444;
    text-decoration: line-through;
}

.ws-btn-buy {
    background: #2563eb;
    color: #ffffff;
    border: none;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.ws-btn-buy:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Shopping Cart Drawer */
.ws-drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.ws-drawer-overlay.open {
    opacity: 1;
    visibility: visible;
}

.ws-cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 100%;
    max-width: 400px;
    height: 100%;
    background: var(--bg-card, #ffffff);
    z-index: 10000;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] .ws-cart-drawer {
    background: #0d121f;
}

.ws-cart-drawer.open {
    right: 0;
}

.ws-drawer-header {
    padding: 18px 22px;
    border-bottom: 1px solid var(--border-medium, #e2e8f0);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ws-drawer-header h3 {
    margin: 0;
    font-size: 17px;
}

.ws-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-muted, #94a3b8);
}

.ws-drawer-body {
    padding: 22px;
    flex: 1;
    overflow-y: auto;
}

.ws-drawer-item-card {
    background: var(--bg-card-highlight, #f8fafc);
    border: 1px solid var(--border-medium, #e2e8f0);
    border-radius: 12px;
    padding: 14px;
}

[data-theme="dark"] .ws-drawer-item-card {
    background: #111827;
    border-color: #1f2937;
}

.ws-drawer-summary {
    background: var(--bg-card-highlight, #f8fafc);
    border: 1px solid var(--border-medium, #e2e8f0);
    border-radius: 12px;
    padding: 14px;
    margin-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 3. DASHBOARD STRUCTURE */
.ws-dashboard-layout {
    padding: 20px 0 80px 0;
}

.ws-dash-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 18px;
}

.ws-dash-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-medium, #e2e8f0);
    border-radius: 14px;
    padding: 14px 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}

[data-theme="dark"] .ws-dash-topbar {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-dash-brand {
    font-size: 14px;
    font-weight: 800;
    color: #2563eb;
    letter-spacing: 0.5px;
}

.ws-dash-status-dot {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    color: #10b981;
    font-weight: 600;
    margin-top: 2px;
}

.ws-pulse-green {
    width: 7px;
    height: 7px;
    background: #10b981;
    border-radius: 50%;
    box-shadow: 0 0 8px #10b981;
}

.ws-dash-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ws-dash-balance-chip {
    font-size: 13px;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    padding: 6px 14px;
    border-radius: 8px;
    color: #10b981;
}

.ws-dash-btn-fund {
    background: #10b981;
    color: #ffffff;
    border: none;
    padding: 8px 14px;
    font-size: 12.5px;
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
}

.ws-dash-metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.ws-metric-box {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-medium, #e2e8f0);
    border-radius: 12px;
    padding: 16px 20px;
}

[data-theme="dark"] .ws-metric-box {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-m-lbl {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted, #94a3b8);
    letter-spacing: 0.5px;
}

.ws-m-val {
    font-size: 24px;
    font-weight: 800;
    margin: 4px 0;
    color: var(--text-primary, #0f172a);
}

.ws-m-sub {
    font-size: 11.5px;
    color: var(--text-secondary, #64748b);
}

.ws-dash-working-grid {
    display: grid;
    grid-template-columns: 420px 1fr;
    gap: 20px;
}

@media (max-width: 992px) {
    .ws-dash-working-grid {
        grid-template-columns: 1fr;
    }
}

.ws-dash-panel {
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-medium, #e2e8f0);
    border-radius: 14px;
    padding: 22px;
}

[data-theme="dark"] .ws-dash-panel {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-panel-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-medium, #e2e8f0);
}

.ws-panel-head h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
}

.ws-panel-badge {
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    background: rgba(37, 99, 235, 0.12);
    color: #2563eb;
}

.ws-service-info-snippet {
    font-size: 12px;
    padding: 8px 12px;
    background: rgba(37, 99, 235, 0.08);
    border-radius: 8px;
    color: var(--text-secondary, #475569);
}

.ws-dash-charge-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: rgba(16, 185, 129, 0.08);
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
}

.ws-dash-total-price {
    font-size: 20px;
    font-weight: 800;
    color: #10b981;
}

.ws-dash-table-wrap {
    overflow-x: auto;
    margin-top: 14px;
}

.ws-dash-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.ws-dash-table th {
    text-align: left;
    padding: 10px 14px;
    background: var(--bg-card-highlight, #f8fafc);
    color: var(--text-muted, #94a3b8);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

[data-theme="dark"] .ws-dash-table th {
    background: #111827;
}

.ws-dash-table td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--border-subtle, #f1f5f9);
}

[data-theme="dark"] .ws-dash-table td {
    border-bottom-color: #1f2937;
}

/* 4. SOCIAL VISUAL STRUCTURE */
.ws-social-visual-layout {
    padding: 30px 0 80px 0;
}

.ws-vis-hero {
    text-align: center;
    margin-bottom: 40px;
}

.ws-vis-hero .ws-hero-sub {
    margin: 0 auto;
}

.ws-vis-platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 28px;
}

.ws-vis-plat-card {
    background: var(--card-grad);
    border-radius: 18px;
    padding: 24px 18px;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.ws-vis-plat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.25);
}

.ws-vis-plat-card.active {
    outline: 3px solid #ffffff;
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.4), 0 20px 48px rgba(0, 0, 0, 0.3);
}

.ws-vis-plat-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.ws-vis-plat-card h3 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 700;
}

.ws-vis-plat-card p {
    margin: 0;
    font-size: 11.5px;
    opacity: 0.85;
}

.ws-sim-split-card {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 30px;
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    align-items: center;
}

[data-theme="dark"] .ws-sim-split-card {
    background: #0d121f;
    border-color: #1e293b;
}

@media (max-width: 860px) {
    .ws-sim-split-card {
        grid-template-columns: 1fr;
        padding: 24px;
    }
}

.ws-metric-type-selector {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.ws-mtype-btn {
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    border: 1.5px solid var(--border-medium, #cbd5e1);
    background: var(--bg-card-highlight, #f8fafc);
    cursor: pointer;
    transition: all 0.2s ease;
    color: var(--text-primary, #0f172a);
}

[data-theme="dark"] .ws-mtype-btn {
    background: #1e293b;
    border-color: #334155;
    color: #f8fafc;
}

.ws-mtype-btn.active, .ws-mtype-btn:hover {
    background: #2563eb;
    color: #ffffff;
    border-color: #2563eb;
}

.ws-range-slider {
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: #cbd5e1;
    outline: none;
    -webkit-appearance: none;
}

.ws-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    box-shadow: 0 0 10px rgba(37, 99, 235, 0.6);
}

.ws-vis-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--border-medium, #cbd5e1);
}

.ws-vis-price-val {
    font-size: 28px;
    font-weight: 800;
    color: #2563eb;
}

/* Phone Screen Simulation */
.ws-sim-preview {
    display: flex;
    justify-content: center;
}

.ws-phone-frame {
    width: 280px;
    background: #1e293b;
    border: 10px solid #0f172a;
    border-radius: 36px;
    padding: 14px 10px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
    position: relative;
}

.ws-phone-notch {
    width: 80px;
    height: 14px;
    background: #0f172a;
    border-radius: 0 0 10px 10px;
    margin: -14px auto 14px auto;
}

.ws-phone-screen {
    background: #070a11;
    border-radius: 20px;
    padding: 16px;
    color: #ffffff;
}

.ws-phone-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.ws-phone-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e1306c, #833ab4);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.ws-phone-name {
    font-size: 13px;
    font-weight: 700;
}

.ws-phone-bio {
    font-size: 10.5px;
    color: #94a3b8;
}

.ws-phone-stats-row {
    display: flex;
    justify-content: space-around;
    background: #0d121f;
    border-radius: 10px;
    padding: 10px 6px;
    margin-bottom: 14px;
}

.ws-phone-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.ws-phone-stat strong {
    font-size: 14px;
    color: #2563eb;
}

.ws-phone-stat span {
    font-size: 10px;
    color: #94a3b8;
}

.ws-phone-boost-meter {
    background: #0d121f;
    border-radius: 10px;
    padding: 10px;
}

.ws-meter-bar {
    width: 100%;
    height: 6px;
    background: #1e293b;
    border-radius: 3px;
    margin-top: 6px;
    overflow: hidden;
}

.ws-meter-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #2563eb);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* 5. QUICK ORDER STRUCTURE */
.ws-quick-box {
    background: var(--bg-card, #ffffff);
    border: 1.5px solid var(--border-medium, #e2e8f0);
    border-radius: 20px;
    padding: 32px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .ws-quick-box {
    background: #0d121f;
    border-color: #1e293b;
}

.ws-quick-header {
    text-align: center;
    margin-bottom: 20px;
}

.ws-quick-shortcuts {
    background: var(--bg-card-highlight, #f8fafc);
    border: 1px solid var(--border-medium, #e2e8f0);
    border-radius: 12px;
    padding: 12px 14px;
    margin-bottom: 10px;
}

[data-theme="dark"] .ws-quick-shortcuts {
    background: #111827;
    border-color: #1f2937;
}

.ws-shortcut-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.ws-short-chip {
    font-size: 11.5px;
    font-weight: 600;
    padding: 4px 10px;
    background: var(--bg-card, #ffffff);
    border: 1px solid var(--border-medium, #cbd5e1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
}

[data-theme="dark"] .ws-short-chip {
    background: #1e293b;
    border-color: #334155;
    color: #cbd5e1;
}

.ws-short-chip:hover {
    background: #f59e0b;
    color: #ffffff;
    border-color: #f59e0b;
}

.ws-quick-price-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 18px;
    padding-top: 14px;
    border-top: 1.5px solid var(--border-medium, #cbd5e1);
}

.ws-quick-big-price {
    font-size: 26px;
    font-weight: 800;
    color: #f59e0b;
}

/* --------------------------------------------------------------------------
   DEDICATED MOBILE BOTTOM NAVIGATION BAR (Viewport < 768px)
   -------------------------------------------------------------------------- */
.ws-mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 64px;
    background: var(--bg-card, #ffffff);
    border-top: 1.5px solid var(--border-medium, #e2e8f0);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.08);
    z-index: 9998;
    justify-content: space-around;
    align-items: center;
    padding: 0 8px;
}

[data-theme="dark"] .ws-mobile-bottom-nav {
    background: #0a0e17;
    border-top-color: #1e293b;
}

@media (max-width: 768px) {
    .ws-mobile-bottom-nav {
        display: flex;
    }

    body {
        padding-bottom: 74px !important;
    }
}

.ws-nav-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--text-muted, #94a3b8);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    min-width: 48px;
    height: 48px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.ws-nav-icon {
    font-size: 19px;
    line-height: 1;
    margin-bottom: 3px;
}

.ws-nav-tab.active, .ws-nav-tab:hover {
    color: var(--primary, #2563eb);
}

.ws-nav-order-highlight {
    background: var(--primary, #2563eb);
    color: #ffffff !important;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    margin-bottom: 12px;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.4);
}

.ws-nav-order-highlight .ws-nav-lbl {
    display: none;
}

.ws-nav-order-highlight .ws-nav-icon {
    margin-bottom: 0;
    font-size: 20px;
}

/* ==========================================================================
   PRODUCTION CLIENT PANEL ENHANCEMENTS & MOBILE RESPONSIVENESS
   ========================================================================== */

/* Search & Date Filter Bar */
.orders-search-date-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    margin-bottom: 12px;
    width: 100%;
}

.orders-search-box {
    position: relative;
    flex: 1 1 240px;
    display: flex;
    align-items: center;
}

.search-icon-prefix {
    position: absolute;
    left: 12px;
    font-size: 13px;
    color: var(--text-muted, #94a3b8);
    pointer-events: none;
}

.orders-search-input {
    width: 100%;
    height: 40px;
    padding: 8px 36px 8px 34px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
    color: var(--text-primary, #ffffff);
    font-size: 13.5px;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.orders-search-input:focus {
    outline: none;
    border-color: var(--primary, #2563eb);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}

.btn-clear-search, .btn-clear-date {
    position: absolute;
    right: 10px;
    background: none;
    border: none;
    color: var(--text-muted, #94a3b8);
    cursor: pointer;
    font-size: 12px;
    padding: 4px;
}

.orders-date-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 0 auto;
}

.date-filter-label {
    font-size: 12.5px;
    color: var(--text-muted, #94a3b8);
    font-weight: 500;
}

.orders-date-filter {
    height: 40px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.12));
    border-radius: 10px;
    color: var(--text-primary, #ffffff);
    font-size: 13px;
    color-scheme: dark;
}

.orders-date-filter:focus {
    outline: none;
    border-color: var(--primary, #2563eb);
}

.btn-mini-details {
    padding: 4px 10px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #818cf8;
    border-radius: 6px;
    font-size: 11.5px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-mini-details:hover {
    background: #2563eb;
    color: #ffffff;
}

/* Mobile Orders Cards List (hidden on desktop, active <= 768px) */
.orders-mobile-cards-list {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.order-mobile-card {
    background: var(--bg-card, rgba(26, 29, 45, 0.85));
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: transform 0.15s, border-color 0.2s;
}

.order-mobile-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    transform: translateY(-1px);
}

.omc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
}

.omc-id {
    font-family: monospace;
    font-size: 12.5px;
    color: #818cf8;
    font-weight: 700;
}

.omc-service-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-primary, #ffffff);
    margin-top: 2px;
    line-height: 1.3;
}

.omc-badge {
    flex-shrink: 0;
}

.omc-body-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 12px;
    padding: 10px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.omc-spec-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
}

.omc-lbl {
    color: var(--text-muted, #94a3b8);
}

.omc-val {
    color: var(--text-primary, #ffffff);
    font-weight: 600;
}

.omc-action-row {
    display: flex;
    justify-content: flex-end;
}

.omc-btn-view {
    padding: 6px 14px;
    font-size: 12px;
}

/* Account Layout Grid */
.account-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    width: 100%;
}

.account-details-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Mobile Wallet Cards List (hidden on desktop, active <= 768px) */
.wallet-mobile-cards-list {
    display: none;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 10px;
}

.wallet-mobile-card {
    background: var(--bg-card, rgba(26, 29, 45, 0.85));
    border: 1px solid var(--border-medium, rgba(255, 255, 255, 0.08));
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    transition: transform 0.15s, border-color 0.2s;
}

.wallet-mobile-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
}

.wmc-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 8px;
    flex-wrap: wrap;
}

.wmc-id {
    font-family: monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-primary);
}

.wmc-date {
    font-size: 11.5px;
    color: var(--text-muted);
}

.wmc-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 8px 0;
    border-top: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
    border-bottom: 1px solid var(--border-subtle, rgba(255, 255, 255, 0.06));
}

.wmc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
}

.wmc-label {
    color: var(--text-secondary);
    font-size: 12px;
}

.wmc-value {
    color: var(--text-primary);
    font-weight: 600;
    text-align: right;
}

.wmc-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.45;
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* Tablet & Mobile Admin Dual Grid Layout Helper */
@media (max-width: 900px) {
    .admin-dual-grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }
    #providersCardsGrid {
        grid-template-columns: 1fr !important;
    }
}

/* Mobile Responsiveness Overrides */
@media (max-width: 768px) {
    #ordersTableWrapper {
        display: none !important;
    }

    .orders-mobile-cards-list {
        display: flex !important;
    }

    #wrapDepositsTable,
    #wrapPassbookTable {
        display: none !important;
    }

    .wallet-mobile-cards-list.active {
        display: flex !important;
    }

    .account-grid-layout {
        grid-template-columns: 1fr !important;
    }

    .deposit-grid {
        grid-template-columns: 1fr !important;
    }

    .deposit-qr-card {
        margin: 0 auto;
        max-width: 100%;
    }

    .deposit-presets-row {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 8px !important;
    }

    .dash-sub-header.orders-head-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .orders-head-actions {
        width: 100%;
        display: flex;
        gap: 8px;
    }

    .orders-head-actions button {
        flex: 1;
    }

    .orders-filter-chips {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 6px;
        -webkit-overflow-scrolling: touch;
    }

    /* Modal responsiveness */
    .modal-card {
        width: 94% !important;
        max-width: 94% !important;
        margin: 16px auto !important;
        padding: 20px !important;
        border-radius: 16px !important;
    }
}

/* Ultra small screens (320px to 375px) */
@media (max-width: 375px) {
    .deposit-presets-row {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    .deposit-qr-frame svg, .deposit-qr-frame img {
        max-width: 180px !important;
        height: auto !important;
    }

    .order-mobile-card {
        padding: 12px;
    }

    .omc-body-grid {
        grid-template-columns: 1fr;
    }
}

/* Brand Logo Image (Uploaded dynamically via Admin Panel) */
.brand-logo-img {
    max-height: 38px;
    max-width: 150px;
    object-fit: contain;
    vertical-align: middle;
    border-radius: 4px;
    transition: transform 0.2s ease;
}
.sidebar-brand .brand-logo-img {
    max-height: 32px;
    max-width: 120px;
}
.brand-logo-img:hover {
    transform: scale(1.02);
}

/* ==========================================================================
   PARAGX BLACK PORTAL THEME (Customer Portal, Drawer, Stat Cards & Tabs)
   ========================================================================== */
body.px-purple-portal {
    --px-purple: #000000;
    --px-purple-mid: #000000;
    --px-purple-dark: #000000;
    --px-purple-light: #262626;
    --px-purple-soft: #f4f4f5;
    --px-purple-border: rgba(0, 0, 0, 0.18);
    --px-gradient: linear-gradient(135deg, #000000 0%, #171717 100%);
    --px-surface: #ffffff;
    --px-bg: #f6f6f7;
    --px-text: #0a0a0a;
    --px-muted: #52525b;
    background-color: var(--px-bg) !important;
    background-image: none !important;
    color: var(--px-text);
    overflow-x: hidden;
}

html[data-theme="dark"] body.px-purple-portal {
    --px-purple: #000000;
    --px-purple-mid: #ffffff;
    --px-purple-dark: #e5e5e5;
    --px-purple-light: #d4d4d8;
    --px-surface: #0d0d0d;
    --px-bg: #000000;
    --px-text: #ffffff;
    --px-muted: #a1a1aa;
    --px-purple-soft: #18181b;
    --px-purple-border: rgba(255, 255, 255, 0.16);
    --px-gradient: linear-gradient(135deg, #000000 0%, #1c1c1e 100%);
    background-color: var(--px-bg) !important;
    color: var(--px-text);
}

/* Sticky Clean Top Navigation Bar */
.px-purple-portal .px-topbar {
    position: sticky;
    top: 0;
    z-index: 1050;
    background: rgba(255, 255, 255, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.05) !important;
    padding: 10px 0 !important;
}

html[data-theme="dark"] .px-purple-portal .px-topbar {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom-color: rgba(255, 255, 255, 0.14) !important;
}

.px-purple-portal .px-topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.px-purple-portal .px-topbar .brand-name {
    color: #000000;
    font-weight: 800;
}

html[data-theme="dark"] .px-purple-portal .px-topbar .brand-name {
    color: #ffffff;
}

.px-purple-portal .px-topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.px-purple-portal .px-icon-btn {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    border: 1px solid var(--px-purple-border);
    background: var(--px-surface);
    color: var(--px-purple-mid);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.18s ease;
}

.px-purple-portal .px-icon-btn:hover {
    background: var(--px-purple-soft);
    border-color: #000000;
}

.px-purple-portal .px-desktop-chip {
    background: var(--px-purple-soft) !important;
    border: 1px solid var(--px-purple-border) !important;
    border-radius: 999px;
    padding: 5px 12px 5px 6px;
    gap: 8px;
    cursor: pointer;
}

.px-purple-portal .px-desktop-chip .user-avatar-mini {
    background: #000000;
    color: #ffffff;
}

.px-purple-portal .px-desktop-chip .nav-user-balance-mini {
    color: var(--px-purple-mid) !important;
    font-weight: 800;
}

html[data-theme="dark"] .px-purple-portal .px-desktop-chip .nav-user-balance-mini {
    color: #ffffff !important;
}

.px-purple-portal .px-hamburger-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 12px;
    border: 1.5px solid var(--px-purple-border);
    background: var(--px-surface);
    color: var(--px-purple-mid);
    cursor: pointer;
    transition: all 0.2s ease;
}

.px-purple-portal .px-hamburger-btn:hover {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
}

/* Slide-Out Drawer Backdrop & Panel */
.px-purple-portal .px-sidebar-backdrop.active {
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.px-purple-portal .app-sidebar.px-drawer {
    width: 300px;
    max-width: 84vw;
    background: #ffffff !important;
    border-right: 1px solid rgba(0, 0, 0, 0.12) !important;
    box-shadow: 10px 0 36px rgba(0, 0, 0, 0.18) !important;
    z-index: 9999;
}

html[data-theme="dark"] .px-purple-portal .app-sidebar.px-drawer {
    background: #0a0a0a !important;
    border-right-color: rgba(255, 255, 255, 0.14) !important;
}

.px-purple-portal .px-drawer-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.09);
    padding: 0 16px;
    height: 56px;
}

.px-purple-portal .px-drawer-close {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid var(--px-purple-border);
    color: var(--px-purple-mid);
    background: var(--px-purple-soft);
}

.px-purple-portal .px-drawer-close:hover {
    background: #000000;
    color: #ffffff;
}

.px-purple-portal .px-drawer-scroll {
    padding: 12px 14px 20px 14px;
}

.px-purple-portal .sidebar-user-card.px-drawer-profile-wrap {
    padding: 0 0 14px 0;
    border-bottom: none;
}

/* Centered Welcome Profile Card inside Drawer */
.px-drawer-welcome-card {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 18px;
    padding: 18px 16px 16px 16px;
    text-align: center;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.09);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

html[data-theme="dark"] .px-drawer-welcome-card {
    background: #141414;
    border-color: rgba(255, 255, 255, 0.16);
}

.px-drawer-avatar-ring {
    width: 62px;
    height: 62px;
    border-radius: 16px;
    border: 2px solid rgba(0, 0, 0, 0.28);
    background: linear-gradient(135deg, #f4f4f5 0%, #e4e4e7 100%);
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] .px-drawer-avatar-ring {
    border-color: rgba(255, 255, 255, 0.25);
    background: #1f1f23;
    color: #ffffff;
}

.px-drawer-welcome-title {
    font-size: 19px;
    font-weight: 800;
    color: var(--px-text);
    line-height: 1.15;
    margin-top: 2px;
}

.px-drawer-username {
    font-size: 16px;
    font-weight: 700;
    color: var(--px-purple-mid);
    word-break: break-word;
}

html[data-theme="dark"] .px-drawer-username {
    color: #ffffff;
}

.px-drawer-balance-pill {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 3px 12px;
    border-radius: 999px;
}

.px-drawer-btn-stack {
    display: flex;
    flex-direction: column;
    gap: 9px;
    width: 100%;
    max-width: 190px;
    margin-top: 4px;
}

.px-drawer-action-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 10px 16px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: #000000;
    color: #ffffff !important;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.px-drawer-action-btn:hover {
    background: #171717;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

/* Unified Clean Vertical Sidebar Navigation (Black Active + Premium Colorful Gradient Icons) */
.px-drawer-nav-list,
.px-purple-portal .px-drawer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    padding: 0;
    margin: 0;
}

.px-drawer-nav-list li {
    width: 100%;
}

.sidebar-nav-link.px-drawer-item,
.px-purple-portal .sidebar-nav-link.px-drawer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    height: 46px;
    min-height: 46px;
    padding: 0 14px !important;
    border-radius: 12px !important;
    background: #f5f5f6 !important;
    border: 1px solid rgba(0, 0, 0, 0.08) !important;
    color: #27272a !important;
    font-family: var(--font-body);
    font-size: 14px !important;
    font-weight: 600 !important;
    letter-spacing: -0.01em;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
    transition: background 0.2s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.2s ease, color 0.2s ease, transform 0.18s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}

html[data-theme="dark"] .sidebar-nav-link.px-drawer-item,
html[data-theme="dark"] .px-purple-portal .sidebar-nav-link.px-drawer-item {
    background: #141416 !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
    color: #e4e4e7 !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.24);
}

.sidebar-nav-link.px-drawer-item:hover,
.px-purple-portal .sidebar-nav-link.px-drawer-item:hover {
    background: #ededf0 !important;
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #000000 !important;
    transform: translateX(3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.07);
}

html[data-theme="dark"] .sidebar-nav-link.px-drawer-item:hover,
html[data-theme="dark"] .px-purple-portal .sidebar-nav-link.px-drawer-item:hover {
    background: #1f1f24 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
}

/* Keep Sleek Black Active Menu Background with Brighter Glowing Gradient Icon */
.sidebar-nav-link.px-drawer-item.active,
.px-purple-portal .sidebar-nav-link.px-drawer-item.active {
    background: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .sidebar-nav-link.px-drawer-item.active,
html[data-theme="dark"] .px-purple-portal .sidebar-nav-link.px-drawer-item.active {
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.26) !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.52) !important;
}

.sidebar-nav-link.px-drawer-item.active .sidebar-nav-label,
.px-purple-portal .sidebar-nav-link.px-drawer-item.active .sidebar-nav-label {
    color: #ffffff !important;
}

/* Premium Colorful Gradient Icon Container & Glow Effects */
.px-nav-ico {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

html[data-theme="dark"] .px-nav-ico {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.08);
}

.px-nav-ico svg {
    display: block;
    transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), filter 0.22s ease;
}

/* Hover Glow & Scale Animations */
.sidebar-nav-link.px-drawer-item:hover .px-nav-ico {
    transform: scale(1.08);
}

.sidebar-nav-link.px-drawer-item:hover .px-ico-new-order {
    box-shadow: 0 0 12px rgba(124, 58, 237, 0.35);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-orders {
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.35);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-add-funds {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.35);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-services {
    box-shadow: 0 0 12px rgba(249, 115, 22, 0.35);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-tickets {
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-mass-order {
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.35);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-child-panel {
    box-shadow: 0 0 12px rgba(6, 182, 212, 0.38);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-api {
    box-shadow: 0 0 12px rgba(168, 85, 247, 0.38);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-notifications {
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.4);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-transactions {
    box-shadow: 0 0 12px rgba(16, 185, 129, 0.38);
}
.sidebar-nav-link.px-drawer-item:hover .px-ico-payments {
    box-shadow: 0 0 12px rgba(236, 72, 153, 0.35);
}

/* Active State: Brighter Vivid Gradient Icon on Black Pill */
.sidebar-nav-link.px-drawer-item.active .px-nav-ico,
.px-purple-portal .sidebar-nav-link.px-drawer-item.active .px-nav-ico {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    transform: scale(1.06);
}

.sidebar-nav-link.px-drawer-item.active .px-nav-ico svg {
    filter: brightness(1.22) saturate(1.25) drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.sidebar-nav-link.px-drawer-item.active .px-ico-new-order { box-shadow: 0 0 14px rgba(139, 92, 246, 0.5); }
.sidebar-nav-link.px-drawer-item.active .px-ico-orders { box-shadow: 0 0 14px rgba(6, 182, 212, 0.5); }
.sidebar-nav-link.px-drawer-item.active .px-ico-add-funds { box-shadow: 0 0 14px rgba(52, 211, 153, 0.5); }
.sidebar-nav-link.px-drawer-item.active .px-ico-services { box-shadow: 0 0 14px rgba(251, 146, 60, 0.5); }
.sidebar-nav-link.px-drawer-item.active .px-ico-tickets { box-shadow: 0 0 14px rgba(236, 72, 153, 0.5); }
.sidebar-nav-link.px-drawer-item.active .px-ico-mass-order { box-shadow: 0 0 14px rgba(99, 102, 241, 0.5); }
.sidebar-nav-link.px-drawer-item.active .px-ico-child-panel { box-shadow: 0 0 14px rgba(6, 182, 212, 0.55); }
.sidebar-nav-link.px-drawer-item.active .px-ico-api { box-shadow: 0 0 14px rgba(168, 85, 247, 0.55); }
.sidebar-nav-link.px-drawer-item.active .px-ico-notifications { box-shadow: 0 0 14px rgba(250, 204, 21, 0.55); }
.sidebar-nav-link.px-drawer-item.active .px-ico-transactions { box-shadow: 0 0 14px rgba(16, 185, 129, 0.55); }
.sidebar-nav-link.px-drawer-item.active .px-ico-payments { box-shadow: 0 0 14px rgba(236, 72, 153, 0.5); }

.sidebar-nav-link.px-drawer-item .sidebar-nav-label {
    flex: 1;
    min-width: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

/* Main Portal Container & Section */
.px-purple-portal .px-main-wrap {
    padding-top: 16px;
    padding-bottom: 76px;
}

.px-purple-portal .px-dashboard-section {
    padding: 4px 0 32px 0 !important;
}

.px-purple-portal .px-container {
    max-width: 1160px;
}

/* Promotional Announcement Card */
.px-promo-card {
    background: var(--px-surface);
    border: 1px solid rgba(0, 0, 0, 0.14);
    border-radius: 20px;
    padding: 20px 22px;
    text-align: center;
    box-shadow: 0 10px 28px -8px rgba(0, 0, 0, 0.12);
    margin-bottom: 18px;
}

.px-promo-text {
    margin: 0 0 14px 0;
    font-size: 16px;
    font-weight: 800;
    color: var(--px-text);
    line-height: 1.45;
}

.px-promo-highlight {
    color: #10b981;
}

.px-promo-accent {
    color: #dc2626;
}

html[data-theme="dark"] .px-promo-accent {
    color: #f87171;
}

.px-promo-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.px-promo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 10px;
    border: none;
    background: #000000;
    color: #ffffff !important;
    font-size: 12.5px;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.24);
    transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.px-promo-btn.secondary-link {
    background: #171717;
}

.px-promo-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.34);
}

/* Four Statistics Cards Grid (Stripe & Linear Premium SaaS Aesthetic) */
.px-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-bottom: 22px;
    align-items: stretch;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .px-stats-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }
}

/* ==========================================================================
   Mobile Dashboard — Merge 4 Summary Cards into ONE Unified 2x2 Container
   ========================================================================== */
@media (max-width: 768px) {
    .px-stats-grid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 0 !important;
        background: var(--px-surface, #ffffff) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 18px !important;
        box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
        overflow: hidden !important;
        margin-bottom: 16px !important;
        align-items: stretch !important;
    }

    html[data-theme="dark"] .px-stats-grid {
        background: #0d0d0d !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
    }

    .px-stats-grid .px-stat-card {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: auto !important;
        padding: 13px 14px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    .px-stats-grid .px-stat-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Subtle 2x2 grid separators */
    .px-stats-grid .px-stat-card:nth-child(odd) {
        border-right: 1px solid rgba(0, 0, 0, 0.07) !important;
    }

    .px-stats-grid .px-stat-card:nth-child(1),
    .px-stats-grid .px-stat-card:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    }

    html[data-theme="dark"] .px-stats-grid .px-stat-card:nth-child(odd) {
        border-right-color: rgba(255, 255, 255, 0.08) !important;
    }

    html[data-theme="dark"] .px-stats-grid .px-stat-card:nth-child(1),
    html[data-theme="dark"] .px-stats-grid .px-stat-card:nth-child(2) {
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }

    .px-stats-grid .px-stat-card-header {
        margin-bottom: 8px !important;
        min-height: 32px !important;
    }

    .px-stats-grid .px-stat-icon-box {
        width: 32px !important;
        height: 32px !important;
        border-radius: 8px !important;
    }

    .px-stats-grid .px-stat-icon-box svg {
        width: 16px !important;
        height: 16px !important;
    }

    .px-stats-grid .px-stat-value {
        font-size: 18px !important;
        line-height: 1.25 !important;
    }

    .px-stats-grid .px-stat-label {
        font-size: 11.5px !important;
    }

    .px-stats-grid .px-stat-inline-link {
        font-size: 11px !important;
        padding: 2px 6px !important;
        gap: 3px !important;
        height: 22px !important;
    }

    .px-stats-grid .px-stat-inline-link svg {
        width: 10px !important;
        height: 10px !important;
    }
}

.px-stat-card {
    background: var(--px-surface, #ffffff);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 142px;
    min-width: 0;
    box-sizing: border-box;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04), 0 1px 2px -1px rgba(0, 0, 0, 0.04);
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.2s cubic-bezier(0.16, 1, 0.3, 1), 
                border-color 0.2s ease;
    position: relative;
}

html[data-theme="dark"] .px-stat-card {
    background: #0d0d0d;
    border-color: rgba(255, 255, 255, 0.08);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
}

.px-stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.07), 0 2px 6px -1px rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.14);
}

html[data-theme="dark"] .px-stat-card:hover {
    box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.16);
}

/* Card Header: Icon Badge + Top Navigation Link */
.px-stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    min-height: 38px;
}

/* Minimalist Outline Icon Boxes */
.px-stat-icon-box {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.px-stat-icon-box svg {
    width: 19px;
    height: 19px;
    display: block;
}

/* Card 1: Neutral / Slate profile icon */
.px-stat-icon-neutral {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.06);
}
html[data-theme="dark"] .px-stat-icon-neutral {
    background: rgba(255, 255, 255, 0.06);
    color: #cbd5e1;
    border-color: rgba(255, 255, 255, 0.08);
}

/* Card 2: Subtle Blue accent */
.px-stat-icon-blue {
    background: #eff6ff;
    color: #2563eb;
    border: 1px solid rgba(37, 99, 235, 0.12);
}
html[data-theme="dark"] .px-stat-icon-blue {
    background: rgba(37, 99, 235, 0.14);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.22);
}

/* Card 3: Subtle Purple / Indigo accent */
.px-stat-icon-purple {
    background: #f5f3ff;
    color: #7c3aed;
    border: 1px solid rgba(124, 58, 237, 0.12);
}
html[data-theme="dark"] .px-stat-icon-purple {
    background: rgba(124, 58, 237, 0.14);
    color: #a78bfa;
    border-color: rgba(167, 139, 250, 0.22);
}

/* Card 4: Subtle Green accent */
.px-stat-icon-green {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid rgba(5, 150, 105, 0.14);
}
html[data-theme="dark"] .px-stat-icon-green {
    background: rgba(16, 185, 129, 0.14);
    color: #34d399;
    border-color: rgba(52, 211, 153, 0.22);
}

/* Card Content / Metric Body */
.px-stat-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.px-stat-value {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.25;
    color: var(--px-text, #0f172a);
    letter-spacing: -0.025em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-variant-numeric: tabular-nums;
}

html[data-theme="dark"] .px-stat-value {
    color: #ffffff;
}

.px-stat-meta {
    display: flex;
    align-items: center;
    min-width: 0;
}

.px-stat-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: var(--px-muted, #64748b);
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

html[data-theme="dark"] .px-stat-label {
    color: #a1a1aa;
}

/* Verified Customer Subtle Green Indicator */
.px-stat-verified-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.px-stat-verified-dot {
    width: 6.5px;
    height: 6.5px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.2);
    flex-shrink: 0;
}

html[data-theme="dark"] .px-stat-verified-dot {
    background-color: #34d399;
    box-shadow: 0 0 0 2px rgba(52, 211, 153, 0.25);
}

.px-stat-verified-text {
    color: #059669 !important;
    font-weight: 500 !important;
}

html[data-theme="dark"] .px-stat-verified-text {
    color: #34d399 !important;
}

/* Navigation Links with Clean Arrow Icons */
.px-stat-inline-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: transparent;
    border: none;
    padding: 4px 8px;
    margin: -4px -8px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.5px;
    font-weight: 500;
    color: var(--px-muted, #64748b);
    cursor: pointer;
    text-decoration: none;
    border-radius: 6px;
    transition: color 0.15s ease, background-color 0.15s ease;
}

.px-stat-inline-link:hover {
    color: var(--px-text, #0f172a);
    background-color: rgba(0, 0, 0, 0.04);
}

.px-stat-inline-link:hover .px-stat-arrow-icon {
    transform: translateX(2px);
}

.px-stat-arrow-icon {
    transition: transform 0.15s ease;
    flex-shrink: 0;
}

html[data-theme="dark"] .px-stat-inline-link {
    color: #a1a1aa;
}

html[data-theme="dark"] .px-stat-inline-link:hover {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.06);
}

.px-stat-inline-link.px-stat-link-highlight {
    color: #059669;
    font-weight: 600;
}

.px-stat-inline-link.px-stat-link-highlight:hover {
    color: #047857;
    background-color: rgba(16, 185, 129, 0.08);
}

html[data-theme="dark"] .px-stat-inline-link.px-stat-link-highlight {
    color: #34d399;
}

html[data-theme="dark"] .px-stat-inline-link.px-stat-link-highlight:hover {
    color: #6ee7b7;
    background-color: rgba(52, 211, 153, 0.12);
}

.px-stat-divider {
    display: none !important;
}

@media (max-width: 767px) {
    .px-stat-card {
        padding: 16px;
        min-height: 130px;
    }
    .px-stat-value {
        font-size: 21px;
    }
}

/* Black Wave / Policy Ribbon */
.px-section-ribbon {
    position: relative;
    background: var(--px-surface);
    border: 1px solid var(--px-purple-border);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
}

.px-ribbon-wave {
    height: 10px;
    background: #000000;
}

.px-ribbon-content {
    padding: 9px 14px;
    text-align: center;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--px-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Quick Tab Bar */
.px-purple-portal .px-tabs-shell {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin-bottom: 18px !important;
}

.px-purple-portal .px-top-tabs {
    background: var(--px-surface) !important;
    border: 1px solid var(--px-purple-border) !important;
    border-radius: 16px !important;
    padding: 6px !important;
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.px-purple-portal .px-top-tabs::-webkit-scrollbar {
    display: none;
}

.px-purple-portal .dash-nav-tab {
    flex-shrink: 0;
    border-radius: 11px !important;
    color: var(--px-muted) !important;
    padding: 9px 14px !important;
    font-weight: 700 !important;
}

.px-purple-portal .dash-nav-tab:hover {
    background: var(--px-purple-soft) !important;
    color: var(--px-purple-mid) !important;
}

.px-purple-portal .dash-nav-tab.active {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
}

/* Unified White + Black Cards Across All Customer Pages */
.px-purple-portal .px-surface-card {
    background: var(--px-surface) !important;
    border: 1.5px solid var(--px-purple-border) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 28px -10px rgba(0, 0, 0, 0.1) !important;
    color: var(--px-text);
}

.px-purple-portal .px-section-card {
    padding: 24px !important;
}

.px-purple-portal .order-header-icon {
    background: #000000 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.22);
}

.px-purple-portal .order-header-icon.px-icon-new-order {
    background: linear-gradient(135deg, #eff6ff 0%, #ecfeff 100%) !important;
    border: 1.5px solid rgba(14, 165, 233, 0.32);
    color: #2563eb !important;
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.12);
}

html[data-theme="dark"] .px-purple-portal .order-header-icon.px-icon-new-order {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(6, 182, 212, 0.2) 100%) !important;
    border-color: rgba(56, 189, 248, 0.35);
}

.px-purple-portal .order-header-icon.px-icon-mass-order {
    background: linear-gradient(135deg, #eff6ff 0%, #fff7ed 100%) !important;
    border: 1.5px solid rgba(249, 115, 22, 0.3);
    color: #2563eb !important;
    box-shadow: 0 6px 14px rgba(249, 115, 22, 0.12);
}

html[data-theme="dark"] .px-purple-portal .order-header-icon.px-icon-mass-order {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(249, 115, 22, 0.2) 100%) !important;
    border-color: rgba(251, 146, 60, 0.35);
}

.px-purple-portal .label-step-badge {
    background: #000000 !important;
    color: #ffffff !important;
}

.px-purple-portal .button-pill.primary,
.px-purple-portal .btn-order-place {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    box-shadow: 0 8px 20px -4px rgba(0, 0, 0, 0.32) !important;
}

.px-purple-portal .button-pill.primary:hover,
.px-purple-portal .btn-order-place:hover {
    background: #171717 !important;
    transform: translateY(-1px);
}

.px-purple-portal .badge-tag.brand,
.px-purple-portal .summary-top-badge {
    background: var(--px-purple-soft) !important;
    color: var(--px-purple-mid) !important;
    border: 1px solid var(--px-purple-border) !important;
}

html[data-theme="dark"] .px-purple-portal .badge-tag.brand,
html[data-theme="dark"] .px-purple-portal .summary-top-badge {
    color: #ffffff !important;
}

.px-purple-portal .filter-chip.active,
.px-purple-portal .deposit-preset-btn.active,
.px-purple-portal .order-quick-btn.active,
.px-purple-portal .hist-tab-btn.active {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
}

html[data-theme="dark"] .px-purple-portal .filter-chip.active,
html[data-theme="dark"] .px-purple-portal .deposit-preset-btn.active,
html[data-theme="dark"] .px-purple-portal .order-quick-btn.active,
html[data-theme="dark"] .px-purple-portal .hist-tab-btn.active {
    border-color: rgba(255, 255, 255, 0.28) !important;
}

.px-purple-portal .orders-search-input,
.px-purple-portal .orders-date-filter,
.px-purple-portal .order-form-input,
.px-purple-portal .order-form-select,
.px-purple-portal .deposit-amount-input,
.px-purple-portal .deposit-utr-input,
.px-purple-portal .px-textarea-code {
    background: #f8fafc !important;
    border: 1.5px solid #e2e8f0 !important;
    color: #0f172a !important;
    border-radius: 12px;
}

html[data-theme="dark"] .px-purple-portal .orders-search-input,
html[data-theme="dark"] .px-purple-portal .orders-date-filter,
html[data-theme="dark"] .px-purple-portal .order-form-input,
html[data-theme="dark"] .px-purple-portal .order-form-select,
html[data-theme="dark"] .px-purple-portal .deposit-amount-input,
html[data-theme="dark"] .px-purple-portal .deposit-utr-input,
html[data-theme="dark"] .px-purple-portal .px-textarea-code {
    background: #141416 !important;
    border-color: rgba(255, 255, 255, 0.18) !important;
    color: #ffffff !important;
    color-scheme: dark;
}

.px-purple-portal .orders-search-input:focus,
.px-purple-portal .order-form-input:focus,
.px-purple-portal .order-form-select:focus,
.px-purple-portal .deposit-amount-input:focus,
.px-purple-portal .px-textarea-code:focus {
    outline: none;
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.14) !important;
}

html[data-theme="dark"] .px-purple-portal .orders-search-input:focus,
html[data-theme="dark"] .px-purple-portal .order-form-input:focus,
html[data-theme="dark"] .px-purple-portal .order-form-select:focus,
html[data-theme="dark"] .px-purple-portal .deposit-amount-input:focus,
html[data-theme="dark"] .px-purple-portal .px-textarea-code:focus {
    border-color: rgba(255, 255, 255, 0.5) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12) !important;
}

.px-purple-portal .order-form-input::placeholder,
.px-purple-portal .orders-search-input::placeholder,
.px-purple-portal .deposit-amount-input::placeholder {
    color: #94a3b8;
}

/* Mobile Order & Service Cards in Light/Dark Black Theme */
.px-purple-portal .order-mobile-card {
    background: var(--px-surface) !important;
    border: 1.5px solid var(--px-purple-border) !important;
    box-shadow: 0 6px 18px -6px rgba(0, 0, 0, 0.1) !important;
}

.px-purple-portal .omc-service-title,
.px-purple-portal .omc-val {
    color: var(--px-text) !important;
}

.px-purple-portal .omc-body-grid {
    border-color: rgba(0, 0, 0, 0.1) !important;
}

html[data-theme="dark"] .px-purple-portal .omc-body-grid {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

/* Mass Order, Transfer & Helper Tiles */
.px-textarea-code {
    width: 100%;
    padding: 12px 14px;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    font-size: 13px;
    line-height: 1.55;
    resize: vertical;
}

.px-mass-preview-box {
    margin-top: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: var(--px-purple-soft);
    border: 1px dashed var(--px-purple-border);
    font-size: 12.5px;
    color: var(--px-muted);
    max-height: 220px;
    overflow-y: auto;
}

.px-transfer-bal-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.09);
    border: 1px solid rgba(16, 185, 129, 0.28);
    font-size: 13px;
}

.px-transfer-bal-pill strong {
    color: #059669;
    font-size: 16px;
}

.px-spec-tile {
    background: var(--px-purple-soft);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--px-purple-border);
}

.spec-tile-lbl {
    font-size: 11px;
    color: var(--px-muted);
    text-transform: uppercase;
    font-weight: 700;
}

.spec-tile-val {
    font-weight: 800;
    margin-top: 4px;
    font-size: 14px;
}

.px-modal-box {
    background: var(--px-purple-soft);
    padding: 14px;
    border-radius: 12px;
    border: 1px solid var(--px-purple-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.px-kv-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    font-size: 13px;
}

.px-metric-mini {
    background: var(--px-purple-soft);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid var(--px-purple-border);
    text-align: center;
}

.px-metric-mini span {
    display: block;
    font-size: 11px;
    color: var(--px-muted);
}

.px-metric-mini strong {
    font-size: 15px;
    font-weight: 800;
}

.px-bonus-tile {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: 14px;
    padding: 16px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.px-success-orb {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.14);
    border: 2px solid #10b981;
    color: #10b981;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px auto;
}

/* Floating Support Action Button (Blue & Cyan) */
.px-floating-support-btn {
    position: fixed;
    right: 18px;
    bottom: 20px;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: linear-gradient(135deg, #2563eb 0%, #0284c7 55%, #06b6d4 100%);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 26px rgba(2, 132, 199, 0.42);
    z-index: 950;
    transition: transform 0.18s ease, box-shadow 0.2s ease;
}

.px-floating-support-btn:hover {
    transform: translateY(-2px) scale(1.04);
    box-shadow: 0 14px 32px rgba(2, 132, 199, 0.54);
}

/* Mobile Responsive Adjustments (320px+) */
@media (max-width: 768px) {
    .px-purple-portal {
        padding-bottom: 0 !important;
    }

    .px-purple-portal .px-main-wrap {
        padding-bottom: 84px !important;
    }

    .px-purple-portal .px-hide-sm,
    .px-purple-portal .px-desktop-chip {
        display: none !important;
    }

    .px-purple-portal .px-section-card {
        padding: 16px !important;
    }

    .px-purple-portal .px-promo-card {
        padding: 16px 14px;
    }

    .px-purple-portal .px-promo-text {
        font-size: 14.5px;
    }

    .px-purple-portal .px-stat-card {
        padding: 14px;
    }
}

@media (max-width: 480px) {
    .px-purple-portal .px-hide-xs {
        display: none !important;
    }

    .px-purple-portal .brand-badge {
        display: none;
    }
}

/* ==========================================================================
   CHILD PANEL MANAGEMENT WORKSPACE STYLES
   ========================================================================== */
.cp-kpi-strip {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
    margin-bottom: 18px;
}

.cp-kpi-card {
    padding: 16px 18px !important;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.cp-kpi-lbl {
    font-size: 12px;
    font-weight: 600;
    color: var(--px-muted);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.cp-kpi-val {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: var(--px-text);
    line-height: 1.2;
}

.cp-kpi-sub {
    font-size: 12px;
    color: var(--px-muted);
}

.cp-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
    gap: 18px;
    align-items: start;
}

.px-purple-portal .order-header-icon.cp-purple-header-ico {
    background: linear-gradient(135deg, #6d28d9 0%, #7c3aed 55%, #8b5cf6 100%) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 18px rgba(109, 40, 217, 0.28);
}

.cp-ns-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(124, 58, 237, 0.07);
    border: 1px solid rgba(124, 58, 237, 0.22);
}

.cp-ns-title {
    display: block;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6d28d9;
}

html[data-theme="dark"] .cp-ns-title {
    color: #c4b5fd;
}

.cp-ns-values {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: 13px;
    font-weight: 700;
    color: var(--px-text);
    margin-top: 2px;
}

.cp-form-row-2 {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.cp-manager-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cp-bottom-split {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.cp-sub-card {
    background: var(--px-purple-soft);
    border: 1px solid var(--px-purple-border);
    border-radius: 16px;
    padding: 18px;
}

.cp-sub-title {
    font-family: var(--font-heading);
    font-size: 15.5px;
    font-weight: 800;
    color: var(--px-text);
    margin: 0 0 12px 0;
}

.cp-bal-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 12px;
    border-radius: 12px;
    background: var(--px-surface);
    border: 1px solid var(--px-purple-border);
}

.cp-bal-compare span {
    display: block;
    font-size: 11.5px;
    color: var(--px-muted);
    font-weight: 600;
}

.cp-bal-compare strong {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
}

@media (max-width: 1024px) {
    .cp-kpi-strip {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .cp-top-grid,
    .cp-manager-grid,
    .cp-bottom-split {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .cp-kpi-strip,
    .cp-form-row-2 {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   ADMIN PANEL PURE BLACK THEME (Scoped Strictly to admin.html)
   Replaces all blue accents in Admin Operations Center with crisp pure black
   ========================================================================== */
body.admin-black-theme {
    --brand-blue: #000000;
    --brand-blue-hover: #171717;
    --brand-blue-active: #000000;
    --brand-blue-subtle: #f4f4f5;
    --brand-blue-border: rgba(0, 0, 0, 0.18);

    --primary: #000000;
    --primary-hover: #171717;
    --primary-active: #000000;
    --primary-subtle: #f4f4f5;
    --primary-border: rgba(0, 0, 0, 0.18);
    --primary-glow: rgba(0, 0, 0, 0.14);

    --brand-indigo: #000000;
    --brand-indigo-light: #27272a;
    --brand-indigo-dark: #000000;
    --brand-purple: #000000;
    --brand-purple-light: #27272a;
    --brand-purple-dark: #000000;
    --brand-glow: rgba(0, 0, 0, 0.12);

    --accent-blue: #000000;
    --accent-blue-bg: #f4f4f5;
    --accent-pink: #000000;

    --border-indigo: rgba(0, 0, 0, 0.22);
    --border-focus: #000000;
    --shadow-glow: 0 0 0 3px rgba(0, 0, 0, 0.12);
}

html[data-theme="dark"] body.admin-black-theme {
    --brand-blue: #000000;
    --brand-blue-hover: #1c1c1e;
    --brand-blue-active: #000000;
    --brand-blue-subtle: rgba(255, 255, 255, 0.08);
    --brand-blue-border: rgba(255, 255, 255, 0.2);

    --primary: #000000;
    --primary-hover: #1c1c1e;
    --primary-active: #000000;
    --primary-subtle: rgba(255, 255, 255, 0.08);
    --primary-border: rgba(255, 255, 255, 0.2);
    --primary-glow: rgba(0, 0, 0, 0.45);

    --brand-indigo: #ffffff;
    --brand-indigo-light: #e4e4e7;
    --brand-indigo-dark: #d4d4d8;
    --brand-purple: #ffffff;
    --brand-purple-light: #e4e4e7;
    --brand-purple-dark: #d4d4d8;
    --brand-glow: rgba(255, 255, 255, 0.1);

    --accent-blue: #e4e4e7;
    --accent-blue-bg: rgba(255, 255, 255, 0.08);
    --accent-pink: #e4e4e7;

    --bg-base: #050505;
    --bg-surface: #0d0d0e;
    --bg-surface-elevated: #141416;
    --bg-card: #0d0d0e;
    --bg-card-hover: #161618;
    --bg-input: #0a0a0c;
    --bg-nav: rgba(5, 5, 5, 0.92);

    --border-indigo: rgba(255, 255, 255, 0.22);
    --border-focus: rgba(255, 255, 255, 0.55);
    --shadow-glow: 0 0 0 3px rgba(255, 255, 255, 0.12);
}

/* Remove any blue ambient radial background glow on admin page */
body.admin-black-theme .ambient-gradient-layer {
    background: none !important;
    opacity: 0 !important;
}

/* Admin Auth Gate */
body.admin-black-theme .admin-auth-icon-badge {
    background: #000000 !important;
    border-color: rgba(255, 255, 255, 0.22) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}

body.admin-black-theme .admin-auth-submit-btn {
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.32) !important;
}

body.admin-black-theme .admin-auth-submit-btn:hover {
    background: #1a1a1a !important;
    box-shadow: 0 12px 26px rgba(0, 0, 0, 0.42) !important;
}

body.admin-black-theme .admin-input-wrap svg {
    color: #71717a !important;
}

body.admin-black-theme .admin-input-wrap input:focus,
body.admin-black-theme .admin-search-input:focus,
body.admin-black-theme input:focus,
body.admin-black-theme select:focus,
body.admin-black-theme textarea:focus {
    border-color: #000000 !important;
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.14) !important;
}

html[data-theme="dark"] body.admin-black-theme .admin-input-wrap input:focus,
html[data-theme="dark"] body.admin-black-theme .admin-search-input:focus,
html[data-theme="dark"] body.admin-black-theme input:focus,
html[data-theme="dark"] body.admin-black-theme select:focus,
html[data-theme="dark"] body.admin-black-theme textarea:focus {
    border-color: rgba(255, 255, 255, 0.45) !important;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.12) !important;
}

/* Header, Brand Badges, Currency Toggle & Sidebar */
body.admin-black-theme .logo-icon-wrap,
body.admin-black-theme .admin-header-badge,
body.admin-black-theme .sidebar-add-funds-btn,
body.admin-black-theme .currency-badge.active,
body.admin-black-theme .currency-toggle .curr-slider {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
}

body.admin-black-theme .sidebar-role-pill.admin {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

body.admin-black-theme .sidebar-nav-link:hover {
    background: rgba(0, 0, 0, 0.06) !important;
    color: #000000 !important;
}

html[data-theme="dark"] body.admin-black-theme .sidebar-nav-link:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

body.admin-black-theme .sidebar-nav-link.active,
body.admin-black-theme .dash-nav-tab.active,
body.admin-black-theme .filter-chip.active,
body.admin-black-theme .button-pill.primary {
    background: #000000 !important;
    color: #ffffff !important;
    border-color: #000000 !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.24) !important;
}

html[data-theme="dark"] body.admin-black-theme .sidebar-nav-link.active,
html[data-theme="dark"] body.admin-black-theme .dash-nav-tab.active,
html[data-theme="dark"] body.admin-black-theme .filter-chip.active,
html[data-theme="dark"] body.admin-black-theme .button-pill.primary {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5) !important;
}

body.admin-black-theme .sidebar-nav-link.active span {
    color: #ffffff !important;
}

body.admin-black-theme .sidebar-nav-link.active .sidebar-svg-icon {
    filter: brightness(1.18) saturate(1.22) drop-shadow(0 0 8px var(--adm-glow, rgba(139, 92, 246, 0.55))) !important;
    transform: scale(1.06);
}

/* Admin Stat Cards & Icons */
body.admin-black-theme .admin-stat-card:hover {
    border-color: rgba(0, 0, 0, 0.28) !important;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08) !important;
}

html[data-theme="dark"] body.admin-black-theme .admin-stat-card:hover {
    border-color: rgba(255, 255, 255, 0.26) !important;
}

body.admin-black-theme .admin-stat-icon,
body.admin-black-theme .admin-stat-card.stat-purple .admin-stat-icon,
body.admin-black-theme .admin-stat-card.stat-blue .admin-stat-icon,
body.admin-black-theme .admin-stat-card.stat-indigo .admin-stat-icon,
body.admin-black-theme .admin-stat-card.stat-green .admin-stat-icon,
body.admin-black-theme .admin-stat-card.stat-amber .admin-stat-icon {
    background: var(--adm-badge-bg, rgba(99, 102, 241, 0.1)) !important;
    border: 1px solid var(--adm-badge-border, rgba(99, 102, 241, 0.24)) !important;
    box-shadow: 0 4px 14px var(--adm-glow, rgba(99, 102, 241, 0.16)) !important;
    color: inherit !important;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.24s ease, filter 0.24s ease;
}

html[data-theme="dark"] body.admin-black-theme .admin-stat-icon,
html[data-theme="dark"] body.admin-black-theme .admin-stat-card.stat-purple .admin-stat-icon,
html[data-theme="dark"] body.admin-black-theme .admin-stat-card.stat-blue .admin-stat-icon,
html[data-theme="dark"] body.admin-black-theme .admin-stat-card.stat-indigo .admin-stat-icon,
html[data-theme="dark"] body.admin-black-theme .admin-stat-card.stat-green .admin-stat-icon,
html[data-theme="dark"] body.admin-black-theme .admin-stat-card.stat-amber .admin-stat-icon {
    background: var(--adm-badge-bg-dark, rgba(255, 255, 255, 0.06)) !important;
    border: 1px solid var(--adm-badge-border-dark, rgba(255, 255, 255, 0.14)) !important;
    box-shadow: 0 4px 16px var(--adm-glow, rgba(99, 102, 241, 0.26)) !important;
}

/* Admin Action Buttons, Tags, Chips & Links */
body.admin-black-theme .btn-admin-action.btn-edit,
body.admin-black-theme .btn-admin-action.btn-retry,
body.admin-black-theme .btn-admin-action.btn-sync,
body.admin-black-theme .btn-admin-action.btn-view,
body.admin-black-theme .btn-admin-action.btn-primary {
    background: #000000 !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
}

body.admin-black-theme .btn-admin-action.btn-edit:hover,
body.admin-black-theme .btn-admin-action.btn-retry:hover,
body.admin-black-theme .btn-admin-action.btn-sync:hover,
body.admin-black-theme .btn-admin-action.btn-view:hover,
body.admin-black-theme .btn-admin-action.btn-primary:hover {
    background: #262626 !important;
    color: #ffffff !important;
}

body.admin-black-theme .badge-tag.brand,
body.admin-black-theme .badge-chip.brand,
body.admin-black-theme .badge-chip.blue,
body.admin-black-theme .status-badge-processing,
body.admin-black-theme .status-badge-inprogress {
    background: rgba(0, 0, 0, 0.08) !important;
    color: #000000 !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

html[data-theme="dark"] body.admin-black-theme .badge-tag.brand,
html[data-theme="dark"] body.admin-black-theme .badge-chip.brand,
html[data-theme="dark"] body.admin-black-theme .badge-chip.blue,
html[data-theme="dark"] body.admin-black-theme .status-badge-processing,
html[data-theme="dark"] body.admin-black-theme .status-badge-inprogress {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
}

body.admin-black-theme .order-ref-code,
body.admin-black-theme .order-cat-pill,
body.admin-black-theme .admin-msg .ticket-avatar,
body.admin-black-theme .admin-msg .ticket-bubble-body {
    border-color: rgba(0, 0, 0, 0.2) !important;
}

body.admin-black-theme .order-ref-code {
    background: rgba(0, 0, 0, 0.07) !important;
    color: #000000 !important;
}

html[data-theme="dark"] body.admin-black-theme .order-ref-code {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

body.admin-black-theme .admin-msg .ticket-avatar {
    background: #000000 !important;
    color: #ffffff !important;
}

body.admin-black-theme .admin-msg .ticket-bubble-body {
    background: rgba(0, 0, 0, 0.05) !important;
}

html[data-theme="dark"] body.admin-black-theme .admin-msg .ticket-bubble-body {
    background: rgba(255, 255, 255, 0.07) !important;
}

/* Toggle Switches & Active Checkboxes in Admin */
body.admin-black-theme input[type="checkbox"],
body.admin-black-theme input[type="radio"] {
    accent-color: #000000;
}

body.admin-black-theme .nav-breadcrumb .crumb-active {
    color: #000000 !important;
}

html[data-theme="dark"] body.admin-black-theme .nav-breadcrumb .crumb-active {
    color: #ffffff !important;
}

body.admin-black-theme .admin-auth-quick-btn {
    background: #000000 !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

body.admin-black-theme .admin-auth-quick-btn:hover {
    background: #262626 !important;
}

/* ==========================================================================
   ADMIN PANEL PREMIUM MULTICOLOR GRADIENT ICON SYSTEM
   Scoped Strictly to body.admin-black-theme (Admin Panel Only)
   ========================================================================== */

/* Shared Icon Color Family Glow & Tinted Badge Tokens */
body.admin-black-theme .adm-ico-blue-purple {
    --adm-glow: rgba(99, 102, 241, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.13), rgba(139, 92, 246, 0.14));
    --adm-badge-border: rgba(99, 102, 241, 0.28);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.22));
    --adm-badge-border-dark: rgba(129, 140, 248, 0.34);
}
body.admin-black-theme .adm-ico-blue-cyan {
    --adm-glow: rgba(6, 182, 212, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(6, 182, 212, 0.14));
    --adm-badge-border: rgba(6, 182, 212, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(6, 182, 212, 0.22));
    --adm-badge-border-dark: rgba(34, 211, 238, 0.34);
}
body.admin-black-theme .adm-ico-purple-blue {
    --adm-glow: rgba(139, 92, 246, 0.44);
    --adm-badge-bg: linear-gradient(135deg, rgba(139, 92, 246, 0.14), rgba(59, 130, 246, 0.13));
    --adm-badge-border: rgba(139, 92, 246, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(139, 92, 246, 0.22), rgba(59, 130, 246, 0.2));
    --adm-badge-border-dark: rgba(167, 139, 250, 0.36);
}
body.admin-black-theme .adm-ico-orange-yellow {
    --adm-glow: rgba(249, 115, 22, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(249, 115, 22, 0.13), rgba(250, 204, 21, 0.14));
    --adm-badge-border: rgba(249, 115, 22, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(249, 115, 22, 0.2), rgba(250, 204, 21, 0.18));
    --adm-badge-border-dark: rgba(251, 146, 60, 0.36);
}
body.admin-black-theme .adm-ico-pink-purple {
    --adm-glow: rgba(236, 72, 153, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(236, 72, 153, 0.13), rgba(139, 92, 246, 0.14));
    --adm-badge-border: rgba(236, 72, 153, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(236, 72, 153, 0.2), rgba(139, 92, 246, 0.22));
    --adm-badge-border-dark: rgba(244, 114, 182, 0.36);
}
body.admin-black-theme .adm-ico-green-emerald {
    --adm-glow: rgba(16, 185, 129, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(16, 185, 129, 0.13), rgba(52, 211, 153, 0.14));
    --adm-badge-border: rgba(16, 185, 129, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(52, 211, 153, 0.2));
    --adm-badge-border-dark: rgba(52, 211, 153, 0.36);
}
body.admin-black-theme .adm-ico-cyan-blue {
    --adm-glow: rgba(14, 165, 233, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(6, 182, 212, 0.13), rgba(59, 130, 246, 0.14));
    --adm-badge-border: rgba(14, 165, 233, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(59, 130, 246, 0.22));
    --adm-badge-border-dark: rgba(56, 189, 248, 0.36);
}
body.admin-black-theme .adm-ico-purple-violet {
    --adm-glow: rgba(168, 85, 247, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(124, 58, 237, 0.13), rgba(192, 132, 252, 0.14));
    --adm-badge-border: rgba(168, 85, 247, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(124, 58, 237, 0.22), rgba(192, 132, 252, 0.2));
    --adm-badge-border-dark: rgba(192, 132, 252, 0.36);
}
body.admin-black-theme .adm-ico-purple-pink {
    --adm-glow: rgba(217, 70, 239, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(147, 51, 234, 0.13), rgba(236, 72, 153, 0.14));
    --adm-badge-border: rgba(217, 70, 239, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(147, 51, 234, 0.22), rgba(236, 72, 153, 0.22));
    --adm-badge-border-dark: rgba(232, 121, 249, 0.36);
}
body.admin-black-theme .adm-ico-blue-green {
    --adm-glow: rgba(20, 184, 166, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(59, 130, 246, 0.13), rgba(16, 185, 129, 0.14));
    --adm-badge-border: rgba(20, 184, 166, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(16, 185, 129, 0.22));
    --adm-badge-border-dark: rgba(45, 212, 191, 0.36);
}
body.admin-black-theme .adm-ico-indigo-purple {
    --adm-glow: rgba(99, 102, 241, 0.44);
    --adm-badge-bg: linear-gradient(135deg, rgba(99, 102, 241, 0.14), rgba(168, 85, 247, 0.14));
    --adm-badge-border: rgba(99, 102, 241, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(99, 102, 241, 0.22), rgba(168, 85, 247, 0.22));
    --adm-badge-border-dark: rgba(129, 140, 248, 0.36);
}
body.admin-black-theme .adm-ico-rose-orange {
    --adm-glow: rgba(244, 63, 94, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(244, 63, 94, 0.13), rgba(251, 146, 60, 0.14));
    --adm-badge-border: rgba(244, 63, 94, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(244, 63, 94, 0.22), rgba(251, 146, 60, 0.2));
    --adm-badge-border-dark: rgba(251, 113, 133, 0.36);
}
body.admin-black-theme .adm-ico-amber-gold {
    --adm-glow: rgba(245, 158, 11, 0.42);
    --adm-badge-bg: linear-gradient(135deg, rgba(245, 158, 11, 0.14), rgba(253, 224, 71, 0.16));
    --adm-badge-border: rgba(245, 158, 11, 0.3);
    --adm-badge-bg-dark: linear-gradient(135deg, rgba(245, 158, 11, 0.22), rgba(253, 224, 71, 0.18));
    --adm-badge-border-dark: rgba(251, 191, 36, 0.38);
}

/* Sidebar Gradient Icons: Crisp Lucide Geometry + Glow + Hover/Active Motion */
body.admin-black-theme .sidebar-nav-link .sidebar-svg-icon {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 5px var(--adm-glow, rgba(99, 102, 241, 0.22)));
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), filter 0.22s ease;
    will-change: transform, filter;
}

body.admin-black-theme .sidebar-nav-link:hover .sidebar-svg-icon {
    transform: scale(1.12) translateY(-0.5px);
    filter: brightness(1.08) saturate(1.16) drop-shadow(0 0 8px var(--adm-glow, rgba(99, 102, 241, 0.48)));
}

body.admin-black-theme .sidebar-nav-link.active:hover .sidebar-svg-icon {
    transform: scale(1.12);
    filter: brightness(1.24) saturate(1.28) drop-shadow(0 0 10px var(--adm-glow, rgba(139, 92, 246, 0.65))) !important;
}

/* Sidebar Footer Action Icons */
body.admin-black-theme .sidebar-footer-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

body.admin-black-theme .sidebar-footer-btn .adm-inline-icon {
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), filter 0.22s ease;
}

body.admin-black-theme .sidebar-footer-btn:hover .adm-inline-icon {
    transform: scale(1.14);
    filter: brightness(1.12) drop-shadow(0 0 7px var(--adm-glow, rgba(245, 158, 11, 0.48)));
}

/* Admin Brand Logos & Top Navbar Icons */
body.admin-black-theme .logo-icon-wrap svg,
body.admin-black-theme .admin-auth-icon-badge svg {
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.55));
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease;
}

body.admin-black-theme .logo:hover .logo-icon-wrap svg,
body.admin-black-theme .sidebar-brand:hover .logo-icon-wrap svg {
    transform: scale(1.1) rotate(-3deg);
    filter: brightness(1.18) drop-shadow(0 0 11px rgba(56, 189, 248, 0.72));
}

body.admin-black-theme .theme-toggle-btn svg {
    transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), filter 0.25s ease;
}

body.admin-black-theme .theme-toggle-btn:hover svg {
    transform: scale(1.12) rotate(12deg);
    filter: brightness(1.15) drop-shadow(0 0 8px var(--adm-glow, rgba(245, 158, 11, 0.55)));
}

body.admin-black-theme .user-avatar-mini {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

body.admin-black-theme .user-avatar-mini svg {
    filter: drop-shadow(0 0 6px rgba(99, 102, 241, 0.5));
    transition: transform 0.22s ease, filter 0.22s ease;
}

body.admin-black-theme .nav-user-chip:hover .user-avatar-mini svg {
    transform: scale(1.1);
    filter: brightness(1.18) drop-shadow(0 0 9px rgba(56, 189, 248, 0.65));
}

/* Dashboard & Analytics KPI Stat Card Gradient Icons */
body.admin-black-theme .admin-stat-icon svg {
    width: 24px;
    height: 24px;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 2px 6px var(--adm-glow, rgba(99, 102, 241, 0.32)));
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), filter 0.24s ease;
}

body.admin-black-theme .admin-stat-card:hover .admin-stat-icon {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px var(--adm-glow, rgba(99, 102, 241, 0.32)) !important;
}

body.admin-black-theme .admin-stat-card:hover .admin-stat-icon svg {
    transform: scale(1.08);
    filter: brightness(1.12) saturate(1.18) drop-shadow(0 0 9px var(--adm-glow, rgba(99, 102, 241, 0.55)));
}

/* Inline Section, Button, Settings, Modal & Table Action Icons */
body.admin-black-theme .adm-inline-icon {
    display: inline-block;
    vertical-align: -0.18em;
    flex-shrink: 0;
    stroke-width: 2.1;
    stroke-linecap: round;
    stroke-linejoin: round;
    filter: drop-shadow(0 1px 4px var(--adm-glow, rgba(99, 102, 241, 0.25)));
    transition: transform 0.2s cubic-bezier(0.22, 1, 0.36, 1), filter 0.2s ease;
}

body.admin-black-theme button:hover .adm-inline-icon,
body.admin-black-theme a:hover .adm-inline-icon {
    transform: scale(1.12);
    filter: brightness(1.16) saturate(1.18) drop-shadow(0 0 7px var(--adm-glow, rgba(99, 102, 241, 0.5)));
}

body.admin-black-theme .button-pill.primary .adm-inline-icon,
body.admin-black-theme .btn-admin-action.btn-edit .adm-inline-icon,++++
body.admin-black-theme .btn-admin-action.btn-retry .adm-inline-icon,
body.admin-black-theme .btn-admin-action.btn-sync .adm-inline-icon,
body.admin-black-theme .btn-admin-action.btn-view .adm-inline-icon,
body.admin-black-theme .admin-auth-submit-btn .adm-inline-icon {
    filter: brightness(1.16) saturate(1.22) drop-shadow(0 0 6px var(--adm-glow, rgba(99, 102, 241, 0.52)));
}

body.admin-black-theme .settings-group-title > span,
body.admin-black-theme .adm-title-with-icon {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

body.admin-black-theme .btn-admin-action,
body.admin-black-theme .button-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

body.admin-black-theme .adm-spotlight-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--adm-badge-bg, linear-gradient(135deg, rgba(249, 115, 22, 0.14), rgba(250, 204, 21, 0.16)));
    border: 1px solid var(--adm-badge-border, rgba(249, 115, 22, 0.32));
    box-shadow: 0 4px 16px var(--adm-glow, rgba(249, 115, 22, 0.25));
    flex-shrink: 0;
}

html[data-theme="dark"] body.admin-black-theme .adm-spotlight-icon {
    background: var(--adm-badge-bg-dark, linear-gradient(135deg, rgba(249, 115, 22, 0.22), rgba(250, 204, 21, 0.18)));
    border-color: var(--adm-badge-border-dark, rgba(251, 146, 60, 0.36));
}

body.admin-black-theme .adm-spotlight-icon svg {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 2px 8px var(--adm-glow, rgba(249, 115, 22, 0.48)));
}

/* Auth Gate Input Gradient Icons */
body.admin-black-theme .admin-input-wrap svg.adm-inline-icon {
    color: inherit !important;
    filter: drop-shadow(0 1px 4px var(--adm-glow, rgba(99, 102, 241, 0.3)));
}

body.admin-black-theme .admin-input-wrap:focus-within svg.adm-inline-icon {
    transform: scale(1.08);
    filter: brightness(1.15) drop-shadow(0 0 7px var(--adm-glow, rgba(99, 102, 241, 0.55)));
}

/* Ticket Admin Avatar Icon Alignment */
body.admin-black-theme .ticket-avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Integration Logos Subtle Hover Lift */
body.admin-black-theme .integration-icon-box svg {
    transition: transform 0.22s cubic-bezier(0.22, 1, 0.36, 1), filter 0.22s ease;
}

body.admin-black-theme .integration-row-item:hover .integration-icon-box svg {
    transform: scale(1.08);
    filter: drop-shadow(0 4px 10px rgba(66, 133, 244, 0.35));
}






/* ==========================================================================
   Live Sparkling Icon Animation Effect (Soft Blue-White Star Twinkle)
   ========================================================================== */

/* Anchor elements for sparkling star */
.px-sparkle-icon,
.px-stat-icon-box,
.px-nav-ico,
.order-header-icon,
.feat-icon-box,
.stat-box-icon,
.dash-user-avatar {
    position: relative;
}

/* 4-point glowing star sparkle pseudo-element */
.px-sparkle-icon::after,
.px-stat-icon-box::after,
.px-nav-ico::after,
.order-header-icon::after,
.feat-icon-box::after,
.stat-box-icon::after,
.dash-user-avatar::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 9px;
    height: 9px;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(circle, #ffffff 28%, #38bdf8 72%, #1677f2 100%);
    clip-path: polygon(
        50% 0%, 
        62% 38%, 
        100% 50%, 
        62% 62%, 
        50% 100%, 
        38% 62%, 
        0% 50%, 
        38% 38%
    );
    filter: drop-shadow(0 0 2px #ffffff) 
            drop-shadow(0 0 5px rgba(56, 189, 248, 0.9)) 
            drop-shadow(0 0 8px rgba(22, 119, 242, 0.65));
    opacity: 0;
    transform: scale(0) rotate(0deg);
    animation: pxSparkleStar 3.5s infinite ease-in-out;
    will-change: transform, opacity, filter;
}

/* Dark mode sparkle glow boost */
html[data-theme="dark"] .px-sparkle-icon::after,
html[data-theme="dark"] .px-stat-icon-box::after,
html[data-theme="dark"] .px-nav-ico::after,
html[data-theme="dark"] .order-header-icon::after,
html[data-theme="dark"] .feat-icon-box::after,
html[data-theme="dark"] .stat-box-icon::after,
.dash-user-avatar::after {
    background: radial-gradient(circle, #ffffff 32%, #60a5fa 78%, #3b82f6 100%);
    filter: drop-shadow(0 0 3px #ffffff) 
            drop-shadow(0 0 6px rgba(96, 165, 250, 0.95)) 
            drop-shadow(0 0 10px rgba(59, 130, 246, 0.75));
}

/* Sparkling Animation Keyframes:
   - 0% to 48% (~1.7s): completely hidden (pause of ~2 seconds)
   - 50% to 64% (~0.5s): smoothly brightens, expands, and glows with blue-white radiance
   - 64% to 80% (~0.5s): smoothly fades away and gently rotates
   - 80% to 100% (~0.7s): hidden, seamlessly restarting the 2-second interval
*/
@keyframes pxSparkleStar {
    0%, 48% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 0.15;
        transform: scale(0.2) rotate(10deg);
    }
    64% {
        opacity: 1;
        transform: scale(1.18) rotate(45deg);
        filter: drop-shadow(0 0 3px #ffffff) 
                drop-shadow(0 0 6px rgba(56, 189, 248, 1)) 
                drop-shadow(0 0 10px rgba(22, 119, 242, 0.8));
    }
    78% {
        opacity: 0.25;
        transform: scale(0.35) rotate(80deg);
    }
    82%, 100% {
        opacity: 0;
        transform: scale(0) rotate(90deg);
    }
}

/* Staggered Delays for Natural, Professional Twinkling Across Icons */
.px-stat-card:nth-child(1) .px-stat-icon-box::after { animation-delay: 0s; }
.px-stat-card:nth-child(2) .px-stat-icon-box::after { animation-delay: 0.85s; }
.px-stat-card:nth-child(3) .px-stat-icon-box::after { animation-delay: 1.7s; }
.px-stat-card:nth-child(4) .px-stat-icon-box::after { animation-delay: 2.55s; }

.sidebar-nav-list li:nth-child(1) .px-nav-ico::after { animation-delay: 0.2s; }
.sidebar-nav-list li:nth-child(2) .px-nav-ico::after { animation-delay: 0.8s; }
.sidebar-nav-list li:nth-child(3) .px-nav-ico::after { animation-delay: 1.4s; }
.sidebar-nav-list li:nth-child(4) .px-nav-ico::after { animation-delay: 2.0s; }
.sidebar-nav-list li:nth-child(5) .px-nav-ico::after { animation-delay: 2.6s; }
.sidebar-nav-list li:nth-child(6) .px-nav-ico::after { animation-delay: 0.5s; }
.sidebar-nav-list li:nth-child(7) .px-nav-ico::after { animation-delay: 1.1s; }
.sidebar-nav-list li:nth-child(8) .px-nav-ico::after { animation-delay: 1.7s; }
.sidebar-nav-list li:nth-child(9) .px-nav-ico::after { animation-delay: 2.3s; }
.sidebar-nav-list li:nth-child(10) .px-nav-ico::after { animation-delay: 2.9s; }
.sidebar-nav-list li:nth-child(11) .px-nav-ico::after { animation-delay: 0.4s; }

.features-quad-grid .feature-card-clean:nth-child(1) .feat-icon-box::after { animation-delay: 0.3s; }
.features-quad-grid .feature-card-clean:nth-child(2) .feat-icon-box::after { animation-delay: 1.2s; }
.features-quad-grid .feature-card-clean:nth-child(3) .feat-icon-box::after { animation-delay: 2.1s; }
.features-quad-grid .feature-card-clean:nth-child(4) .feat-icon-box::after { animation-delay: 3.0s; }

.stats-card-grid .stat-box-card:nth-child(1) .stat-box-icon::after,
.dash-user-avatar::after { animation-delay: 0.6s; }
.stats-card-grid .stat-box-card:nth-child(2) .stat-box-icon::after,
.dash-user-avatar::after { animation-delay: 1.5s; }
.stats-card-grid .stat-box-card:nth-child(3) .stat-box-icon::after,
.dash-user-avatar::after { animation-delay: 2.4s; }
.stats-card-grid .stat-box-card:nth-child(4) .stat-box-icon::after,
.dash-user-avatar::after { animation-delay: 3.3s; }

/* Reduced Motion Accessibility Setting */
@media (prefers-reduced-motion: reduce) {
    .px-sparkle-icon::after,
    .px-stat-icon-box::after,
    .px-nav-ico::after,
    .order-header-icon::after,
    .feat-icon-box::after,
    .stat-box-icon::after,
.dash-user-avatar::after {
        animation: none !important;
        display: none !important;
        opacity: 0 !important;
    }
}


/* ==========================================================================
   PARAGX SMM PANEL — COMPREHENSIVE MOBILE RESPONSIVENESS & PREMIUM ICONS SYSTEM
   Fixes all side-overflow bugs across 320px, 360px, 375px, 390px, 414px, 430px
   Includes: 2x2 Merged Dashboard Container, Gradient Realistic Icons & Sparkling Stars
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Premium Realistic Gradient Icons for 4 Dashboard Functions
   -------------------------------------------------------------------------- */
.px-stat-icon-box {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.px-stat-icon-box svg {
    width: 20px;
    height: 20px;
    display: block;
}

/* Card 1: Account (Modern Blue Gradient) */
.px-stat-icon-account,
.px-stat-icon-neutral {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12) 0%, rgba(14, 165, 233, 0.08) 100%) !important;
    border: 1px solid rgba(37, 99, 235, 0.22) !important;
    color: #2563eb !important;
    box-shadow: 0 3px 10px rgba(37, 99, 235, 0.14) !important;
}
html[data-theme="dark"] .px-stat-icon-account,
html[data-theme="dark"] .px-stat-icon-neutral {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(14, 165, 233, 0.14) 100%) !important;
    border-color: rgba(96, 165, 250, 0.32) !important;
    box-shadow: 0 3px 12px rgba(37, 99, 235, 0.28) !important;
}

/* Card 2: Total Spent (Premium Credit Card / Wallet in Blue Tones) */
.px-stat-icon-blue {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.12) 0%, rgba(56, 189, 248, 0.08) 100%) !important;
    border: 1px solid rgba(2, 132, 199, 0.22) !important;
    color: #0284c7 !important;
    box-shadow: 0 3px 10px rgba(2, 132, 199, 0.14) !important;
}
html[data-theme="dark"] .px-stat-icon-blue {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.22) 0%, rgba(56, 189, 248, 0.14) 100%) !important;
    border-color: rgba(56, 189, 248, 0.32) !important;
    box-shadow: 0 3px 12px rgba(2, 132, 199, 0.28) !important;
}

/* Card 3: My Orders (Modern 3D Package Cube in Indigo / Blue Accents) */
.px-stat-icon-purple {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.12) 0%, rgba(37, 99, 235, 0.08) 100%) !important;
    border: 1px solid rgba(79, 70, 229, 0.22) !important;
    color: #4f46e5 !important;
    box-shadow: 0 3px 10px rgba(79, 70, 229, 0.14) !important;
}
html[data-theme="dark"] .px-stat-icon-purple {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.22) 0%, rgba(37, 99, 235, 0.14) 100%) !important;
    border-color: rgba(129, 140, 248, 0.32) !important;
    box-shadow: 0 3px 12px rgba(79, 70, 229, 0.28) !important;
}

/* Card 4: Total Balance (Attractive Wallet in Emerald Green Accents) */
.px-stat-icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14) 0%, rgba(5, 150, 105, 0.08) 100%) !important;
    border: 1px solid rgba(16, 185, 129, 0.24) !important;
    color: #059669 !important;
    box-shadow: 0 3px 10px rgba(16, 185, 129, 0.14) !important;
}
html[data-theme="dark"] .px-stat-icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.24) 0%, rgba(5, 150, 105, 0.14) 100%) !important;
    border-color: rgba(52, 211, 153, 0.32) !important;
    box-shadow: 0 3px 12px rgba(16, 185, 129, 0.28) !important;
}

/* --------------------------------------------------------------------------
   2. Repeating Sparkling Star Effects (Twinkles approximately every 2s)
   -------------------------------------------------------------------------- */
.px-stat-icon-box::after,
.px-sparkle-icon::after,
.px-nav-ico::after,
.order-header-icon::after,
.feat-icon-box::after,
.stat-box-icon::after {
    content: '';
    position: absolute;
    top: -4px;
    right: -4px;
    width: 9px;
    height: 9px;
    pointer-events: none;
    z-index: 5;
    background: radial-gradient(circle, #ffffff 28%, #38bdf8 72%, #1677f2 100%);
    clip-path: polygon(
        50% 0%, 
        62% 38%, 
        100% 50%, 
        62% 62%, 
        50% 100%, 
        38% 62%, 
        0% 50%, 
        38% 38%
    );
    filter: drop-shadow(0 0 2px #ffffff) 
            drop-shadow(0 0 5px rgba(56, 189, 248, 0.9)) 
            drop-shadow(0 0 8px rgba(22, 119, 242, 0.65));
    opacity: 0;
    transform: scale(0) rotate(0deg);
    animation: pxSparkleStar 3.5s infinite ease-in-out;
    will-change: transform, opacity, filter;
}

/* Card-specific accent star glow */
.px-stat-icon-account::after {
    background: radial-gradient(circle, #ffffff 28%, #60a5fa 72%, #2563eb 100%);
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 5px rgba(96, 165, 250, 0.95)) drop-shadow(0 0 8px rgba(37, 99, 235, 0.7));
}
.px-stat-icon-blue::after {
    background: radial-gradient(circle, #ffffff 28%, #38bdf8 72%, #0284c7 100%);
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 5px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 8px rgba(2, 132, 199, 0.7));
}
.px-stat-icon-purple::after {
    background: radial-gradient(circle, #ffffff 28%, #818cf8 72%, #4f46e5 100%);
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 5px rgba(129, 140, 248, 0.95)) drop-shadow(0 0 8px rgba(79, 70, 229, 0.7));
}
.px-stat-icon-green::after {
    background: radial-gradient(circle, #ffffff 28%, #34d399 72%, #059669 100%);
    filter: drop-shadow(0 0 2px #ffffff) drop-shadow(0 0 5px rgba(52, 211, 153, 0.95)) drop-shadow(0 0 8px rgba(16, 185, 129, 0.7));
}

/* Dark mode sparkle brightness boost */
html[data-theme="dark"] .px-stat-icon-box::after,
html[data-theme="dark"] .px-nav-ico::after,
html[data-theme="dark"] .feat-icon-box::after,
html[data-theme="dark"] .stat-box-icon::after {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 7px rgba(96, 165, 250, 1)) drop-shadow(0 0 11px rgba(59, 130, 246, 0.8));
}

/* Staggered Delays for Natural, Professional Twinkling Across 4 Functions */
.px-stat-card:nth-child(1) .px-stat-icon-box::after { animation-delay: 0s; }
.px-stat-card:nth-child(2) .px-stat-icon-box::after { animation-delay: 0.85s; }
.px-stat-card:nth-child(3) .px-stat-icon-box::after { animation-delay: 1.7s; }
.px-stat-card:nth-child(4) .px-stat-icon-box::after { animation-delay: 2.55s; }

/* Reduced Motion Setting */
@media (prefers-reduced-motion: reduce) {
    .px-stat-icon-box::after,
    .px-sparkle-icon::after,
    .px-nav-ico::after,
    .order-header-icon::after,
    .feat-icon-box::after,
    .stat-box-icon::after {
        animation: none !important;
        display: none !important;
        opacity: 0 !important;
    }
}

/* --------------------------------------------------------------------------
   Desktop Table and Layout Preservation (>= 769px)
   Keeps the existing desktop layout, columns, tables, and appearance unchanged.
   -------------------------------------------------------------------------- */
@media (min-width: 769px) {
    .orders-mobile-cards-list,
    .wallet-mobile-cards-list,
    #ordersCardsMobile,
    #depositsCardsMobile,
    #passbookCardsMobile,
    #servicesCatalogCardsMobile,
    #refillCardsMobile {
        display: none !important;
    }

    #ordersTableWrapper,
    #wrapDepositsTable,
    #wrapPassbookTable,
    #servicesCatalogTableWrap,
    #refillTableWrapper {
        display: block !important;
    }

    .orders-table-wrapper,
    .wallet-hist-table-wrap,
    .data-table-wrapper,
    .table-responsive,
    [class*="table-wrap"] {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        display: block !important;
    }

    table.orders-table,
    .orders-table {
        display: table !important;
        width: 100% !important;
        border-collapse: collapse !important;
    }

    table.orders-table thead,
    .orders-table thead {
        display: table-header-group !important;
    }

    table.orders-table tbody,
    .orders-table tbody {
        display: table-row-group !important;
    }

    table.orders-table tbody tr,
    .orders-table tbody tr {
        display: table-row !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        background: transparent !important;
    }

    table.orders-table tbody tr td,
    .orders-table tbody tr td {
        display: table-cell !important;
        text-align: inherit !important;
    }

    table.orders-table tbody tr td::before,
    .orders-table tbody tr td::before {
        display: none !important;
    }
}

/* --------------------------------------------------------------------------
   3. Complete Mobile Responsiveness Master Overrides (<= 768px)
   Eliminates all side overflow bugs across 320px, 360px, 375px, 390px, 414px, 430px
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
    /* Prevent root horizontal blowout */
    html, body {
        width: 100% !important;
        max-width: 100vw !important;
        overflow-x: hidden !important;
        position: relative !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    *, *::before, *::after {
        box-sizing: border-box !important;
    }

    /* Reset compounding parent wrapper padding on mobile */
    .portal-main-wrap,
    .px-main-wrap,
    .section-dashboard,
    .px-dashboard-section {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* Single source of truth for horizontal gutter */
    .container,
    .px-container {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }

    /* Top Sticky Navigation Bar - Compact and strictly bounded */
    .navbar,
    .px-topbar {
        width: 100% !important;
        max-width: 100vw !important;
        padding: 8px 0 !important;
        box-sizing: border-box !important;
        overflow-x: clip !important;
    }

    .nav-container,
    .px-topbar-inner {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 12px !important;
        box-sizing: border-box !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
    }

    .nav-left-brand {
        min-width: 0 !important;
        flex-shrink: 1 !important;
    }

    .nav-left-brand .logo {
        gap: 8px !important;
        min-width: 0 !important;
    }

    .nav-left-brand .logo-text {
        min-width: 0 !important;
    }

    .nav-left-brand .brand-name {
        font-size: 16px !important;
    }

    .nav-actions,
    .px-topbar-actions {
        display: flex !important;
        align-items: center !important;
        gap: 6px !important;
        flex-shrink: 0 !important;
    }

    /* Hide bulky slider and desktop chip from mobile topbar to prevent blowing out side edge */
    .px-topbar-actions #currencyToggle,
    .px-topbar-actions .currency-toggle,
    .px-topbar-actions .px-desktop-chip,
    .px-topbar-actions #navUserChip,
    .nav-actions .currency-toggle,
    .nav-actions #currencyToggle {
        display: none !important;
    }

    .theme-toggle-btn {
        width: 32px !important;
        height: 32px !important;
        flex-shrink: 0 !important;
    }

    .sidebar-hamburger-btn,
    .px-hamburger-btn {
        width: 36px !important;
        height: 36px !important;
        padding: 6px !important;
        flex-shrink: 0 !important;
    }

    /* ----------------------------------------------------------------------
       4. Merged 4 Dashboard Summary Functions in ONE 2x2 Container
       ---------------------------------------------------------------------- */
    .px-stats-grid,
    #dashStatsCardsGrid {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        grid-template-rows: auto auto !important;
        gap: 0 !important;
        background: var(--px-surface, #ffffff) !important;
        border: 1px solid rgba(0, 0, 0, 0.08) !important;
        border-radius: 18px !important;
        box-shadow: 0 2px 8px -2px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03) !important;
        overflow: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 16px !important;
        align-items: stretch !important;
    }

    html[data-theme="dark"] .px-stats-grid,
    html[data-theme="dark"] #dashStatsCardsGrid {
        background: #0d0d0d !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4) !important;
    }

    .px-stats-grid .px-stat-card {
        background: transparent !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: auto !important;
        padding: 12px 12px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: space-between !important;
        transform: none !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        width: 100% !important;
    }

    .px-stats-grid .px-stat-card:hover {
        transform: none !important;
        box-shadow: none !important;
    }

    /* Subtle 2x2 grid dividers */
    .px-stats-grid .px-stat-card:nth-child(odd) {
        border-right: 1px solid rgba(0, 0, 0, 0.07) !important;
    }

    .px-stats-grid .px-stat-card:nth-child(1),
    .px-stats-grid .px-stat-card:nth-child(2) {
        border-bottom: 1px solid rgba(0, 0, 0, 0.07) !important;
    }

    html[data-theme="dark"] .px-stats-grid .px-stat-card:nth-child(odd) {
        border-right-color: rgba(255, 255, 255, 0.08) !important;
    }

    html[data-theme="dark"] .px-stats-grid .px-stat-card:nth-child(1),
    html[data-theme="dark"] .px-stats-grid .px-stat-card:nth-child(2) {
        border-bottom-color: rgba(255, 255, 255, 0.08) !important;
    }

    .px-stats-grid .px-stat-card-header {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        margin-bottom: 6px !important;
        min-height: 32px !important;
        gap: 4px !important;
        min-width: 0 !important;
    }

    .px-stats-grid .px-stat-icon-box {
        width: 34px !important;
        height: 34px !important;
        border-radius: 9px !important;
        flex-shrink: 0 !important;
    }

    .px-stats-grid .px-stat-icon-box svg {
        width: 17px !important;
        height: 17px !important;
    }

    .px-stats-grid .px-stat-inline-link {
        font-size: 11px !important;
        padding: 2px 6px !important;
        gap: 3px !important;
        height: 22px !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .px-stats-grid .px-stat-inline-link svg {
        width: 10px !important;
        height: 10px !important;
    }

    .px-stats-grid .px-stat-content {
        min-width: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 3px !important;
    }

    .px-stats-grid .px-stat-value {
        font-size: clamp(15px, 4.2vw, 19px) !important;
        line-height: 1.25 !important;
        font-weight: 700 !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .px-stats-grid .px-stat-label {
        font-size: 11.5px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        max-width: 100% !important;
    }

    .px-stats-grid .px-stat-verified-indicator {
        gap: 4px !important;
        min-width: 0 !important;
    }

    .px-stats-grid .px-stat-verified-dot {
        width: 6px !important;
        height: 6px !important;
        flex-shrink: 0 !important;
    }

    /* ----------------------------------------------------------------------
       5. Responsive Tables, Forms, Grids, Modals across all 320px-430px screens
       ---------------------------------------------------------------------- */
    /* 1. Customer Dedicated Mobile Card Views */
    #ordersTableWrapper,
    #wrapDepositsTable,
    #wrapPassbookTable,
    #servicesCatalogTableWrap,
    #refillTableWrapper {
        display: none !important;
    }

    #ordersCardsMobile,
    #servicesCatalogCardsMobile,
    #refillCardsMobile {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    .wallet-mobile-cards-list.active {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
    }

    /* 2. Universal Mobile Table-to-Card Transformation for ALL Tables
          (Admin: Users, Orders, Deposits, Providers, Services, Ledger, Tickets, Child Panels, Overview)
          (Customer: Support Tickets, Child Panels, Transfer History, Affiliates) */
    .orders-table-wrapper,
    .wallet-hist-table-wrap,
    .data-table-wrapper,
    .table-responsive,
    [class*="table-wrap"] {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        overflow-x: visible !important;
        display: block !important;
        box-sizing: border-box !important;
        margin-bottom: 16px !important;
        border: none !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    table.orders-table,
    .orders-table,
    table.data-table {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border: none !important;
        background: transparent !important;
    }

    table.orders-table thead,
    .orders-table thead {
        display: none !important;
    }

    table.orders-table tbody,
    .orders-table tbody {
        display: flex !important;
        flex-direction: column !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    table.orders-table tbody tr,
    .orders-table tbody tr {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        background: var(--bg-surface, #ffffff) !important;
        border: 1px solid var(--border-medium, rgba(0, 0, 0, 0.08)) !important;
        border-radius: 14px !important;
        padding: 14px 14px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
        gap: 6px !important;
        margin-bottom: 0 !important;
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    html[data-theme="dark"] table.orders-table tbody tr,
    html[data-theme="dark"] .orders-table tbody tr {
        background: #111827 !important;
        border-color: rgba(255, 255, 255, 0.08) !important;
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3) !important;
    }

    table.orders-table tbody tr td,
    .orders-table tbody tr td {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 7px 0 !important;
        border: none !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        font-size: 13px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        text-align: right !important;
        white-space: normal !important;
    }

    html[data-theme="dark"] table.orders-table tbody tr td,
    html[data-theme="dark"] .orders-table tbody tr td {
        border-bottom-color: rgba(255, 255, 255, 0.06) !important;
    }

    table.orders-table tbody tr td:last-child,
    .orders-table tbody tr td:last-child {
        border-bottom: none !important;
        padding-bottom: 0 !important;
    }

    /* Column Label (Left Side) */
    table.orders-table tbody tr td::before,
    .orders-table tbody tr td::before {
        content: attr(data-label);
        font-weight: 700;
        font-size: 11px;
        color: var(--text-muted, #94a3b8);
        text-transform: uppercase;
        letter-spacing: 0.05em;
        margin-right: auto;
        flex-shrink: 0;
        text-align: left;
    }

    /* Empty state / Loading row */
    table.orders-table tbody tr td[colspan],
    .orders-table tbody tr td[colspan] {
        display: block !important;
        text-align: center !important;
        padding: 24px 12px !important;
        border: none !important;
        width: 100% !important;
    }

    table.orders-table tbody tr td[colspan]::before,
    .orders-table tbody tr td[colspan]::before {
        display: none !important;
    }

    /* Action buttons in cards */
    table.orders-table tbody tr td .admin-actions-cell,
    .orders-table tbody tr td .admin-actions-cell {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        width: 100% !important;
        justify-content: flex-end !important;
    }

    table.orders-table tbody tr td .btn-admin-action,
    .orders-table tbody tr td .btn-admin-action {
        flex: 1 1 auto !important;
        justify-content: center !important;
        padding: 6px 10px !important;
        font-size: 12px !important;
        min-height: 32px !important;
    }

    /* All layout grids to 1 column with minmax(0, 1fr) on mobile to defeat track blowout */
    .wallet-overview-grid,
    .deposit-grid,
    .account-grid-layout,
    .paragx-order-grid,
    .calc-container,
    .support-grid,
    .cp-top-grid,
    .cp-manager-grid,
    .admin-stats-grid,
    .admin-dual-grid,
    .structure-cards-grid,
    .settings-grid-layout,
    .comparison-dual-box,
    .calc-inputs-grid,
    .cp-form-row-2,
    .cp-bottom-split,
    .track-details-grid,
    .feature-trio-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    /* Cards and content boxes */
    .paragx-order-card,
    .paragx-summary-card,
    .support-card,
    .account-card,
    .modal-card,
    .px-section-card,
    .deposit-box,
    .wallet-card,
    .settings-card-group,
    .settings-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 15px 12px !important;
        overflow: hidden !important;
    }

    /* Customer Deposit / Add Funds Mobile Optimization */
    .deposit-section-card {
        padding: 16px 14px !important;
        margin-bottom: 16px !important;
        border-radius: 14px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .deposit-header {
        margin-bottom: 16px !important;
        padding-bottom: 12px !important;
    }

    .deposit-title {
        font-size: 17px !important;
        word-break: break-word !important;
    }

    .deposit-sub {
        font-size: 12.5px !important;
        line-height: 1.45 !important;
    }

    .deposit-left-col,
    .deposit-right-col {
        min-width: 0 !important;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .deposit-presets-row {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-bottom: 12px !important;
    }

    .deposit-preset-btn {
        padding: 8px 4px !important;
        font-size: 13px !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .deposit-custom-input-wrap {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 0 12px !important;
        margin-bottom: 12px !important;
    }

    .deposit-amount-input {
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        font-size: 15px !important;
    }

    #btnGeneratePayment {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-break: break-word !important;
        padding: 12px 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    /* Active Gateway Order Details Container */
    .active-order-details-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .upi-id-box-styled {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 8px !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        min-width: 0 !important;
        padding: 10px 12px !important;
        margin-bottom: 12px !important;
        overflow: hidden !important;
    }

    .upi-id-left {
        display: flex !important;
        flex-direction: column !important;
        gap: 2px !important;
        min-width: 0 !important;
        flex: 1 1 160px !important;
        max-width: 100% !important;
        overflow: hidden !important;
    }

    .upi-tag {
        font-size: 10.5px !important;
        white-space: nowrap !important;
    }

    .upi-id-text {
        font-size: 13px !important;
        word-break: break-all !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
        display: block !important;
        line-height: 1.35 !important;
    }

    .btn-copy-upi {
        flex-shrink: 0 !important;
        white-space: nowrap !important;
        padding: 7px 10px !important;
        font-size: 11.5px !important;
    }

    .active-order-action-btns {
        display: flex !important;
        gap: 8px !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .active-order-action-btns a,
    .active-order-action-btns button {
        box-sizing: border-box !important;
        min-width: 0 !important;
        font-size: 13px !important;
        padding: 10px 12px !important;
        text-align: center !important;
        justify-content: center !important;
    }

    /* Deposit QR Card */
    .deposit-qr-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        padding: 18px 12px !important;
        margin: 0 auto !important;
        overflow: hidden !important;
    }

    .deposit-qr-header {
        margin-bottom: 12px !important;
    }

    .deposit-qr-frame-wrap {
        width: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .deposit-qr-frame {
        max-width: 100% !important;
        box-sizing: border-box !important;
        padding: 8px !important;
    }

    .deposit-qr-frame img,
    .deposit-qr-frame canvas {
        width: 150px !important;
        height: 150px !important;
        max-width: 100% !important;
        object-fit: contain !important;
    }

    .deposit-qr-hint {
        font-size: 11.5px !important;
        line-height: 1.4 !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        margin: 10px 0 6px 0 !important;
    }

    .deposit-supported-logos {
        font-size: 11px !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
    }

    /* Admin Settings Group and Form Action Buttons */
    #paymentGatewaySettingsCard,
    .settings-card-group {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    #paymentGatewaySettingsCard input {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Form controls strictly bounded */
    input, select, textarea,
    .form-control, .form-select, .input-group,
    .category-select-wrap, .service-select-wrap {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    /* Preformatted and code blocks */
    pre, code {
        white-space: pre-wrap !important;
        word-break: break-all !important;
        max-width: 100% !important;
    }

    /* Section ribbons */
    .px-section-ribbon {
        border-radius: 12px !important;
        margin-bottom: 14px !important;
    }
    .px-ribbon-content {
        font-size: 11px !important;
        padding: 7px 8px !important;
    }
}

/* --------------------------------------------------------------------------
   5b. Mid-Phone Breakpoint (<= 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
    .active-order-action-btns {
        flex-direction: column !important;
        width: 100% !important;
    }

    .active-order-action-btns a,
    .active-order-action-btns button {
        width: 100% !important;
        flex: none !important;
    }

    .upi-id-box-styled {
        flex-direction: column !important;
        align-items: stretch !important;
        gap: 8px !important;
    }

    .upi-id-left {
        width: 100% !important;
        flex: none !important;
    }

    .btn-copy-upi {
        width: 100% !important;
        justify-content: center !important;
    }

    #btnSavePaymentGatewayKey,
    #btnTestPaymentGatewayConnection {
        width: 100% !important;
        justify-content: center !important;
    }
}

/* --------------------------------------------------------------------------
   6. Ultra-compact Smartphone Breakpoint (<= 360px)
   -------------------------------------------------------------------------- */
@media (max-width: 360px) {
    .container,
    .px-container,
    .nav-container,
    .px-topbar-inner {
        padding-left: 8px !important;
        padding-right: 8px !important;
    }

    .deposit-section-card {
        padding: 12px 10px !important;
    }

    .deposit-presets-row {
        gap: 4px !important;
    }

    .deposit-preset-btn {
        padding: 6px 2px !important;
        font-size: 11.5px !important;
    }

    .px-stats-grid .px-stat-card {
        padding: 10px 8px !important;
    }

    .px-stats-grid .px-stat-value {
        font-size: 15px !important;
    }

    .px-stats-grid .px-stat-label {
        font-size: 10.5px !important;
    }

    .px-stats-grid .px-stat-icon-box {
        width: 30px !important;
        height: 30px !important;
    }

    .px-stats-grid .px-stat-icon-box svg {
        width: 15px !important;
        height: 15px !important;
    }
}


/* ==========================================================================
   VIVID 3D COLOURFUL FUNCTION ICONS & DEDICATED LIVE SPARKLING STAR BADGES
   ========================================================================== */

/* 1. Dedicated Live Animated 4-Point Sparkling Star Badge */
.px-sparkle-star-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    z-index: 12;
    will-change: transform, opacity, filter;
    animation: pxLiveSparkleTwinkle 2.4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}

.px-sparkle-star-svg {
    width: 14px !important;
    height: 14px !important;
    display: block !important;
}

/* Distinctive Glowing Lens-Flare Halos */
.px-sparkle-acc {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 7px #38bdf8) drop-shadow(0 0 12px #2563eb);
    animation-delay: 0s;
}

.px-sparkle-spent {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 7px #38bdf8) drop-shadow(0 0 12px #0284c7);
    animation-delay: 0.6s;
}

.px-sparkle-orders {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 7px #a5b4fc) drop-shadow(0 0 12px #6366f1);
    animation-delay: 1.2s;
}

.px-sparkle-bal {
    filter: drop-shadow(0 0 3px #ffffff) drop-shadow(0 0 7px #6ee7b7) drop-shadow(0 0 12px #059669);
    animation-delay: 1.8s;
}

/* Twinkle Keyframe Animation: Flashes vividly, shines brightly, rotates, and fades */
@keyframes pxLiveSparkleTwinkle {
    0% {
        opacity: 0;
        transform: scale(0.1) rotate(0deg);
    }
    16% {
        opacity: 1;
        transform: scale(1.32) rotate(45deg);
    }
    30% {
        opacity: 1;
        transform: scale(1.08) rotate(90deg);
    }
    46% {
        opacity: 0;
        transform: scale(0.15) rotate(135deg);
    }
    100% {
        opacity: 0;
        transform: scale(0.1) rotate(180deg);
    }
}

/* 2. Vivid, Rounded, Realistic Icon Backgrounds & Sizes */
.px-stat-icon-box {
    position: relative;
    width: 44px !important;
    height: 44px !important;
    border-radius: 12px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex-shrink: 0 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.px-stat-icon-box svg.px-stat-icon-svg {
    width: 24px !important;
    height: 24px !important;
    display: block !important;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
}

/* Card 1: Account (Modern Blue Gradient) */
.px-stat-icon-account,
.px-stat-icon-neutral {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%) !important;
    border: 1.5px solid #bfdbfe !important;
    box-shadow: 0 4px 12px -2px rgba(37, 99, 235, 0.22) !important;
}

/* Card 2: Total Spent (Premium Credit Card in Blue Tones) */
.px-stat-icon-blue {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%) !important;
    border: 1.5px solid #bae6fd !important;
    box-shadow: 0 4px 12px -2px rgba(2, 132, 199, 0.22) !important;
}

/* Card 3: My Orders (Modern 3D Package in Indigo / Blue Accents) */
.px-stat-icon-purple {
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%) !important;
    border: 1.5px solid #c7d2fe !important;
    box-shadow: 0 4px 12px -2px rgba(99, 102, 241, 0.22) !important;
}

/* Card 4: Total Balance (Attractive Wallet in Emerald Green Accents) */
.px-stat-icon-green {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%) !important;
    border: 1.5px solid #a7f3d0 !important;
    box-shadow: 0 4px 12px -2px rgba(16, 185, 129, 0.24) !important;
}

/* Dark mode rich colors */
html[data-theme="dark"] .px-stat-icon-account,
html[data-theme="dark"] .px-stat-icon-neutral {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.22) 0%, rgba(14, 165, 233, 0.14) 100%) !important;
    border-color: rgba(96, 165, 250, 0.35) !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35) !important;
}
html[data-theme="dark"] .px-stat-icon-blue {
    background: linear-gradient(135deg, rgba(2, 132, 199, 0.22) 0%, rgba(56, 189, 248, 0.14) 100%) !important;
    border-color: rgba(56, 189, 248, 0.35) !important;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35) !important;
}
html[data-theme="dark"] .px-stat-icon-purple {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.22) 0%, rgba(79, 70, 229, 0.14) 100%) !important;
    border-color: rgba(129, 140, 248, 0.35) !important;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.35) !important;
}
html[data-theme="dark"] .px-stat-icon-green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.24) 0%, rgba(5, 150, 105, 0.14) 100%) !important;
    border-color: rgba(52, 211, 153, 0.35) !important;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35) !important;
}

/* Mobile responsive size for icon boxes */
@media (max-width: 768px) {
    .px-stats-grid .px-stat-icon-box {
        width: 38px !important;
        height: 38px !important;
        border-radius: 10px !important;
    }
    .px-stats-grid .px-stat-icon-box svg.px-stat-icon-svg {
        width: 20px !important;
        height: 20px !important;
    }
    .px-sparkle-star-badge {
        width: 14px !important;
        height: 14px !important;
        top: -5px !important;
        right: -5px !important;
    }
    .px-sparkle-star-svg {
        width: 12px !important;
        height: 12px !important;
    }
}
