/* ==========================================================================
   NEXUS NUMBERS / TG MANDI PRO - BESPOKE DARK FINTECH DESIGN SYSTEM
   ========================================================================== */

:root {
    --bg-base: #060911;
    --bg-surface: #0B101D;
    --bg-card: rgba(13, 19, 35, 0.75);
    --bg-card-hover: rgba(18, 26, 48, 0.85);
    --bg-input: rgba(8, 12, 22, 0.8);
    
    --border: rgba(255, 255, 255, 0.07);
    --border-hover: rgba(96, 165, 250, 0.35);
    --border-highlight: rgba(255, 255, 255, 0.14);
    
    --primary: #2563EB;
    --primary-hover: #1D4ED8;
    --accent: #4F46E5;
    --accent-purple: #7C3AED;
    --cyan: #38BDF8;
    --emerald: #10B981;
    --amber: #F59E0B;
    --rose: #EF4444;
    
    --grad-primary: linear-gradient(135deg, #2563EB 0%, #4F46E5 50%, #7C3AED 100%);
    --grad-cyan: linear-gradient(135deg, #0284C7 0%, #0EA5E9 50%, #38BDF8 100%);
    --grad-amber: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
    --grad-emerald: linear-gradient(135deg, #059669 0%, #10B981 100%);
    
    --shadow-card: 0 12px 32px -8px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
    --shadow-glow: 0 10px 28px -10px rgba(37, 99, 235, 0.65);
    
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --sidebar-w: 260px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    background-color: var(--bg-base) !important;
    color: #F1F5F9;
    font-family: var(--font-main) !important;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

body {
    position: relative;
    background-color: var(--bg-base) !important;
}

/* Hardware-Accelerated Static Background Layer (Eliminates Scroll Repaint Lag) */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: 
        radial-gradient(circle at 15% -5%, rgba(37, 99, 235, 0.16), transparent 45%),
        radial-gradient(circle at 85% 105%, rgba(124, 58, 237, 0.12), transparent 45%),
        radial-gradient(circle at 50% 50%, rgba(14, 165, 233, 0.05), transparent 60%);
    pointer-events: none;
    z-index: -1;
    transform: translateZ(0);
    will-change: transform;
}

.mono {
    font-family: var(--font-mono) !important;
}

/* Custom Scrollbars */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--bg-base); }
::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, 0.12); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255, 255, 255, 0.22); }

/* Layout Shell */
.app-shell {
    display: flex;
    min-height: 100vh;
}

/* Desktop Fixed Sidebar */
.app-sidebar {
    width: var(--sidebar-w);
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(180deg, rgba(11, 16, 29, 0.94) 0%, rgba(6, 9, 17, 0.98) 100%);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-right: 1px solid var(--border);
    padding: 24px 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    z-index: 50;
    overflow-y: auto;
}

/* Main Viewport */
.app-main {
    flex: 1;
    margin-left: var(--sidebar-w);
    padding: 24px 36px 60px;
    max-width: calc(100vw - var(--sidebar-w));
    min-height: 100vh;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Responsive adjustments & Mobile App Shell */
@media (max-width: 1023px) {
    .app-sidebar {
        width: 300px !important;
        max-width: 86vw !important;
        transform: translateX(-100%);
        transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 60;
        box-shadow: 14px 0 45px rgba(0, 0, 0, 0.85);
        padding: 16px 14px 30px !important;
    }
    .app-sidebar.open {
        transform: translateX(0);
    }
    .app-main {
        margin-left: 0 !important;
        padding: 14px 12px 95px !important;
        max-width: 100vw !important;
        width: 100% !important;
        overflow-x: hidden;
    }
    .app-container {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        overflow-x: hidden;
    }
    .overflow-x-auto {
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
}

@media (max-width: 768px) {
    /* Prevent mobile GPU blur lag - fast solid dark surfaces */
    .glass-card {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #0B101D !important;
    }
    .app-sidebar {
        backdrop-filter: blur(8px) !important;
        -webkit-backdrop-filter: blur(8px) !important;
        background: #080D1A !important;
    }
    nav.fixed {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #070B16 !important;
    }
    header.sticky {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        background: #090D1A !important;
    }
    
    /* Compact Filter & Sort Buttons for Mobile */
    .sort-btn, .region-pill, .wa-sort-btn, .filter-pill-btn {
        padding: 5px 10px !important;
        font-size: 11px !important;
        height: 30px !important;
        border-radius: 10px !important;
        gap: 4px !important;
    }
    .filter-pill-btn svg {
        width: 12px !important;
        height: 12px !important;
    }
}

@media (max-width: 640px) {
    /* Touch target sizing */
    .btn-grad, .btn-glass, .btn-white {
        min-height: 40px;
    }
    .glass-card, .glass-box {
        border-radius: 16px !important;
        padding: 13px !important;
    }
    .stat-card {
        padding: 10px 8px !important;
    }
    .country-card {
        border-radius: 14px !important;
        padding: 10px 12px !important;
    }
    .flag-wrap {
        width: 36px !important;
        height: 26px !important;
    }
}

.safe-area-pb {
    padding-bottom: max(6px, env(safe-area-inset-bottom, 6px));
}

/* Luxury Mobile Bottom Tab Bar (Clean Icon-Only Modern Dock) */
.mobile-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px 6px;
    border-radius: 14px;
    text-decoration: none;
    transition: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1);
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.mobile-tab:active {
    transform: scale(0.88);
}
.tab-icon-box {
    width: 44px;
    height: 36px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    transition: all 0.18s ease;
}
.active-tab-box {
    background: rgba(37, 99, 235, 0.22);
    border: 1px solid rgba(59, 130, 246, 0.5);
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.45);
}
.active-tab-box-sky {
    background: rgba(14, 165, 233, 0.22);
    border: 1px solid rgba(56, 189, 248, 0.5);
    box-shadow: 0 0 16px rgba(14, 165, 233, 0.45);
}
.active-tab-box-emerald {
    background: rgba(16, 185, 129, 0.22);
    border: 1px solid rgba(52, 211, 153, 0.5);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.45);
}
.active-tab-box-amber {
    background: rgba(245, 158, 11, 0.22);
    border: 1px solid rgba(251, 191, 36, 0.5);
    box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
}

/* Brand Header */
.brand-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 4px 6px 10px;
    text-decoration: none;
}
.brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: #0B101D;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 18px;
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25), 0 0 10px rgba(16, 185, 129, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    flex-shrink: 0;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.brand-box:hover .brand-badge {
    transform: scale(1.06) rotate(-2deg);
    box-shadow: 0 0 25px rgba(56, 189, 248, 0.4), 0 0 15px rgba(16, 185, 129, 0.3);
}
.brand-title {
    font-size: 17px;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.02em;
    line-height: 1.1;
}
.brand-subtitle {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #38BDF8, #34D399);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* User Card */
.user-card-pill {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 13px;
    border-radius: 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: border-color 0.15s ease;
}
.user-avatar-sq {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3B82F6, #6366F1);
    display: grid;
    place-items: center;
    font-weight: 800;
    font-size: 15px;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Balance Box */
.sidebar-balance-card {
    padding: 16px;
    border-radius: 20px;
    background: radial-gradient(120% 120% at 100% 0%, rgba(99, 102, 241, 0.25) 0%, transparent 60%), var(--bg-card);
    border: 1px solid var(--border);
    border-top: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-card);
}
.sidebar-balance-card .bal-lbl {
    font-size: 11.5px;
    color: #94A3B8;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.sidebar-balance-card .bal-num {
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 4px 0 12px;
}

/* Nav Section */
.nav-section-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #64748B;
    margin: 10px 10px 6px;
}
.nav-list {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 42px;
    padding: 0 14px;
    border-radius: 12px;
    font-size: 13.5px;
    font-weight: 600;
    color: #94A3B8;
    text-decoration: none;
    transition: all 0.15s ease;
    position: relative;
}
.nav-link:hover {
    background: rgba(255, 255, 255, 0.04);
    color: #F8FAFC;
    transform: translateX(2px);
}
.nav-link.active {
    background: linear-gradient(90deg, rgba(37, 99, 235, 0.22) 0%, rgba(37, 99, 235, 0.05) 100%);
    color: #fff;
    border: 1px solid rgba(59, 130, 246, 0.3);
}
.nav-link.active::before {
    content: "";
    position: absolute;
    left: -16px;
    top: 8px;
    bottom: 8px;
    width: 4px;
    border-radius: 0 4px 4px 0;
    background: var(--grad-primary);
    box-shadow: 0 0 12px #38BDF8;
}
.nav-link i, .nav-link svg {
    width: 18px;
    font-size: 14px;
    text-align: center;
    color: #64748B;
    transition: color 0.15s ease;
}
.nav-link:hover i, .nav-link:hover svg, .nav-link.active i, .nav-link.active svg {
    color: #60A5FA;
}

/* Support Help Card */
.sidebar-help-card {
    margin-top: auto;
    padding: 12px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.12), transparent), var(--bg-card);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.15s ease;
}
.sidebar-help-card:hover {
    border-color: rgba(56, 189, 248, 0.3);
    transform: translateY(-1px);
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1px solid var(--border);
    border-top: 1px solid var(--border-highlight);
    border-radius: 24px;
    box-shadow: var(--shadow-card);
    transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.glass-card:hover {
    border-color: var(--border-hover);
}

/* ==========================================================================
   ULTRA-PREMIUM FINTECH BUTTON SYSTEM (MOBILE-OPTIMIZED)
   ========================================================================== */
.btn-grad, .btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #4338CA 50%, #6D28D9 100%) !important;
    background-size: 150% 100%;
    color: #FFFFFF !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 8px 24px -4px rgba(37, 99, 235, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn-grad:hover, .btn-primary:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px -4px rgba(37, 99, 235, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.45) !important;
}
.btn-grad:active, .btn-primary:active {
    transform: scale(0.97) translateY(0) !important;
    filter: brightness(0.95);
}

/* Telegram Specific High-End Button */
.btn-tg, .btn-action-tg {
    background: linear-gradient(135deg, #0284C7 0%, #0369A1 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(56, 189, 248, 0.45) !important;
    box-shadow: 0 8px 24px -4px rgba(14, 165, 233, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn-tg:hover, .btn-action-tg:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(14, 165, 233, 0.65) !important;
}
.btn-tg:active, .btn-action-tg:active {
    transform: scale(0.97) translateY(0) !important;
}

/* WhatsApp Specific High-End Button */
.btn-wa, .btn-action-wa {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(52, 211, 153, 0.45) !important;
    box-shadow: 0 8px 24px -4px rgba(16, 185, 129, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35) !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s cubic-bezier(0.16, 1, 0.3, 1) !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn-wa:hover, .btn-action-wa:hover {
    filter: brightness(1.12);
    transform: translateY(-2px);
    box-shadow: 0 12px 28px -4px rgba(16, 185, 129, 0.65) !important;
}
.btn-wa:active, .btn-action-wa:active {
    transform: scale(0.97) translateY(0) !important;
}

/* Dark Frosted Glass Button */
.btn-glass {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.03) 100%) !important;
    border: 1px solid rgba(255, 255, 255, 0.14) !important;
    color: #F1F5F9 !important;
    font-weight: 700 !important;
    border-radius: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease !important;
    -webkit-tap-highlight-color: transparent;
}
.btn-glass:hover {
    background: rgba(255, 255, 255, 0.12) !important;
    border-color: rgba(255, 255, 255, 0.28) !important;
    color: #FFFFFF !important;
    transform: translateY(-1px);
}
.btn-glass:active {
    transform: scale(0.97) !important;
}

/* Modern Glowing Light Button (replaces the harsh white block) */
.btn-white {
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%) !important;
    color: #0A0F1D !important;
    font-weight: 800 !important;
    border-radius: 16px !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px -4px rgba(255, 255, 255, 0.25), inset 0 1px 0 #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.18s ease !important;
}
.btn-white:hover {
    background: #FFFFFF !important;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -4px rgba(255, 255, 255, 0.35) !important;
}
.btn-white:active {
    transform: scale(0.97) !important;
}

/* Hero Balance Credit Card Widget */
.hero-card {
    border-radius: 28px;
    padding: 26px 28px 24px;
    background: 
        radial-gradient(120% 140% at 100% 0%, rgba(99, 102, 241, 0.35) 0%, transparent 60%),
        radial-gradient(120% 140% at 0% 100%, rgba(14, 165, 233, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, rgba(20, 30, 58, 0.95), rgba(10, 15, 30, 0.98));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-top: 1px solid rgba(255, 255, 255, 0.28);
    box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}
.hero-card::after {
    content: "";
    position: absolute;
    right: -50px;
    bottom: -60px;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(56, 189, 248, 0.15), transparent 70%);
    pointer-events: none;
}
.sim-chip {
    width: 44px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #FDE68A 0%, #D97706 100%);
    box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.3);
    position: relative;
}
.sim-chip::before {
    content: "";
    position: absolute;
    inset: 8px 10px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
}

/* Quick Actions 4 Grid */
.qa-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: var(--shadow-card);
}
.qa-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    background: var(--bg-card-hover);
    box-shadow: 0 16px 36px -10px rgba(37, 99, 235, 0.2);
}
.qa-icon-wrap {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    font-size: 18px;
    transition: transform 0.2s ease;
}
.qa-card:hover .qa-icon-wrap {
    transform: scale(1.1);
}

/* Metric Stats 3 Grid */
.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: var(--shadow-card);
    transition: all 0.2s ease;
}
.stat-card:hover {
    border-color: var(--border-highlight);
    transform: translateY(-2px);
}

/* Country Cards (4-column store grid) */
.country-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 1px solid var(--border-highlight);
    border-radius: 20px;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
    box-shadow: var(--shadow-card);
    position: relative;
    text-decoration: none;
    color: inherit;
    content-visibility: auto;
    contain-intrinsic-size: 72px;
}
.country-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(96, 165, 250, 0.5);
    border-top-color: rgba(147, 197, 253, 0.7);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px -10px rgba(37, 99, 235, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}
.country-card:active {
    transform: scale(0.98);
    background: var(--bg-card-hover);
    border-color: rgba(96, 165, 250, 0.7);
}
.flag-wrap {
    width: 44px;
    height: 32px;
    border-radius: 9px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
}
.flag-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Wholesale Promo Banner */
.wholesale-banner {
    background: 
        radial-gradient(120% 140% at 100% 0%, rgba(99, 102, 241, 0.28) 0%, transparent 60%),
        linear-gradient(135deg, rgba(20, 30, 60, 0.8), rgba(10, 16, 32, 0.95));
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-top: 1px solid rgba(147, 197, 253, 0.4);
    border-radius: 24px;
    padding: 20px 24px;
    box-shadow: 0 20px 50px -15px rgba(0, 0, 0, 0.7);
}

/* Toast Notifications */
.custom-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 18px;
    border-radius: 16px;
    font-size: 13.5px;
    font-weight: 600;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8);
    border: 1px solid;
    animation: toastSlideIn 0.25s ease;
    backdrop-filter: blur(16px);
}
.custom-toast.ok {
    background: rgba(6, 35, 23, 0.9);
    border-color: rgba(16, 185, 129, 0.4);
    color: #6EE7B7;
}
.custom-toast.err {
    background: rgba(38, 11, 16, 0.9);
    border-color: rgba(239, 68, 68, 0.4);
    color: #FCA5A5;
}
.custom-toast.info {
    background: rgba(12, 25, 48, 0.9);
    border-color: rgba(59, 130, 246, 0.4);
    color: #93C5FD;
}

@keyframes toastSlideIn {
    from { opacity: 0; transform: translateY(12px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Account Cards for Dedicated Country Page */
.acc-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-top: 1px solid var(--border-highlight);
    border-radius: 20px;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    transition: transform 0.15s ease, border-color 0.15s ease, background-color 0.15s ease;
    box-shadow: var(--shadow-card);
    content-visibility: auto;
    contain-intrinsic-size: 68px;
}
.acc-card:hover {
    background: var(--bg-card-hover);
    border-color: rgba(96, 165, 250, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 16px 36px -10px rgba(37, 99, 235, 0.2);
}
.acc-card:active {
    transform: scale(0.98);
}
.filter-select {
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    color: #F1F5F9;
    border-radius: 14px;
    padding: 9px 14px;
    font-size: 12.5px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    transition: border-color 0.15s ease;
}
.filter-select:focus {
    border-color: #3B82F6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}
.btn-load-more {
    background: var(--bg-surface);
    border: 1px solid var(--border-highlight);
    color: #fff;
    font-weight: 700;
    font-size: 13.5px;
    border-radius: 16px;
    padding: 14px 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0;
}
.btn-load-more:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(96, 165, 250, 0.5);
    transform: translateY(-2px);
}

/* Continuous Notice Marquee Ticker */
.notice-marquee-wrap {
    overflow: hidden;
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    mask-image: linear-gradient(to right, transparent 0%, black 15px, black calc(100% - 15px), transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15px, black calc(100% - 15px), transparent 100%);
}
.notice-marquee-track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    width: max-content;
    animation: noticeMarqueeScroll 28s linear infinite;
    will-change: transform;
}
.notice-marquee-wrap:hover .notice-marquee-track {
    animation-play-state: paused;
}
@keyframes noticeMarqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
.marquee-text-chunk {
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
}

