/**
 * EARN00 — GLOBAL VISIBILITY & THEME FIX
 * White + Gold Theme — ALL !important rules unified here.
 * This file loads last and wins every CSS battle.
 */

/* ═══════════════════════════════════════════════
   1. BODY & HTML — Clean white page
═══════════════════════════════════════════════ */
body, html {
    background: #F5F6FA !important;
    color: #0A0A0F !important;
    font-family: 'Outfit', 'Inter', -apple-system, sans-serif !important;
}

/* ═══════════════════════════════════════════════
   2. TEXT INHERITANCE — Readable on white
═══════════════════════════════════════════════ */
p, span, small, div, li, label, h1, h2, h3, h4, h5, h6,
a, strong, b, em, blockquote {
    color: inherit;
}

/* Bootstrap text utilities — light theme */
.text-dark      { color: #0A0A0F !important; }
.text-black     { color: #0A0A0F !important; }
.text-body      { color: #374151 !important; }
.text-reset     { color: #374151 !important; }
.text-primary   { color: #3B82F6 !important; }
.text-secondary { color: #6B7280 !important; }
.text-muted     { color: #9CA3AF !important; }
.text-white     { color: #FFFFFF !important; }
.text-success   { color: #10B981 !important; }
.text-danger    { color: #EF4444 !important; }
.text-warning   { color: #D97706 !important; }
.text-info      { color: #3B82F6 !important; }

/* ═══════════════════════════════════════════════
   3. BACKGROUNDS — Light theme
═══════════════════════════════════════════════ */
.bg-white     { background-color: #FFFFFF !important; color: #0A0A0F !important; }
.bg-light     { background-color: #F5F6FA !important; color: #0A0A0F !important; }
.bg-secondary { background-color: #F3F4F6 !important; color: #374151 !important; }
.bg-dark      { background-color: #0A0A0F !important; color: #FFFFFF !important; }
.bg-primary   { background: linear-gradient(135deg, #3B82F6, #1D4ED8) !important; color: #FFFFFF !important; }
.bg-success   { background-color: #10B981 !important; color: #FFFFFF !important; }
.bg-danger    { background-color: #EF4444 !important; color: #FFFFFF !important; }
.bg-warning   { background-color: #FCD34D !important; color: #0A0A0F !important; }

/* Opacity helpers */
.bg-white.bg-opacity-5  { background-color: rgba(0,0,0,0.05) !important; }
.bg-white.bg-opacity-10 { background-color: rgba(0,0,0,0.10) !important; }

/* ═══════════════════════════════════════════════
   4. ICONS (Bootstrap Icons)
═══════════════════════════════════════════════ */
.bi {
    color: inherit !important;
    display: inline-block;
}
.bi.text-primary  { color: #3B82F6 !important; }
.bi.text-success  { color: #10B981 !important; }
.bi.text-danger   { color: #EF4444 !important; }
.bi.text-warning  { color: #D97706 !important; }
.bi.text-muted    { color: #9CA3AF !important; }
.bi.text-white    { color: #FFFFFF !important; }
.bi.text-dark     { color: #0A0A0F !important; }

/* ═══════════════════════════════════════════════
   5. SIDEBAR — White bg, gold active states
═══════════════════════════════════════════════ */
#sidebar, .sidebar {
    background: #FFFFFF !important;
    border-right: 1px solid #EAECF0 !important;
    color: #0A0A0F !important;
}

.sidebar .nav-link,
.sidebar a {
    color: #4B5563 !important;
}

.sidebar .nav-link:hover,
.sidebar a:hover {
    color: #0A0A0F !important;
    background: #EFF6FF !important;
}

.sidebar .nav-link.active,
.sidebar a.active,
.sidebar ul li.active > a {
    color: #0A0A0F !important;
    background: rgba(59, 130, 246, 0.12) !important;
    border: 1px solid rgba(59, 130, 246, 0.25) !important;
}

.sidebar .bi {
    color: #4B5563 !important;
}

.sidebar .nav-link.active .bi,
.sidebar a.active .bi,
.sidebar .nav-link:hover .bi,
.sidebar a:hover .bi,
.sidebar ul li.active > a .bi {
    color: #3B82F6 !important;
}

.sidebar-section-label, .nav-section-label, .nav-label {
    color: #0A0A0F !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.sidebar-footer { border-top: 1px solid #F3F4F6 !important; }

/* ═══════════════════════════════════════════════
   6. TOP BAR / NAVBAR — White
═══════════════════════════════════════════════ */
.top-navbar, .top-bar, .navbar {
    background-color: #FFFFFF !important;
    border-bottom: 1px solid #EAECF0 !important;
    color: #0A0A0F !important;
}
.current-section-title {
    color: #0A0A0F !important;
}
#sidebarCollapse, .hamburger-btn {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border: 1px solid #000000 !important;
    border-radius: 10px !important;
    width: 38px !important;
    height: 38px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}
#sidebarCollapse i, .hamburger-btn i {
    color: #FFFFFF !important;
    font-size: 1.2rem !important;
}
.icon-btn {
    color: #0A0A0F !important;
    border-color: #EAECF0 !important;
}
.icon-btn i {
    color: #0A0A0F !important;
}

/* ═══════════════════════════════════════════════
   7. CARDS & PANELS — White on light bg
═══════════════════════════════════════════════ */
.card, .card-body,
.metric-card, .stat-card, .info-card,
.summary-card, .content-panel,
.glass-panel, .d-card,
.main-balance-card, .quick-stats-card {
    background: #FFFFFF !important;
    border: 1px solid #EAECF0 !important;
    color: #0A0A0F !important;
}

/* The referral dark card is intentionally dark — preserve it */
.ref-card {
    background: linear-gradient(135deg, #0A0A0F, #1A1A2E) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(59,130,246,0.15) !important;
}
.ref-card * { color: inherit; }
.ref-card .ref-card-title { color: rgba(255,255,255,0.6) !important; }
.ref-card .ref-card-count { color: #3B82F6 !important; }
.ref-card .ref-card-sub   { color: rgba(255,255,255,0.5) !important; }

/* Metric values and labels */
.metric-value, .stat-value {
    color: #0A0A0F !important;
    font-weight: 800 !important;
}
.metric-label, .stat-label {
    color: #9CA3AF !important;
    font-size: 11px !important;
}
.metric-sub { color: #9CA3AF !important; }
.metric-icon { color: inherit; }
.metric-icon.green  { background: rgba(16,185,129,0.1) !important; color: #10B981 !important; }
.metric-icon.gold   { background: rgba(59,130,246,0.15) !important; color: #3B82F6 !important; }
.metric-icon.blue   { background: rgba(59,130,246,0.10) !important; color: #3B82F6 !important; }
.metric-icon.purple { background: rgba(139,92,246,0.10) !important; color: #7C3AED !important; }
.metric-icon .bi    { color: inherit !important; }

/* ═══════════════════════════════════════════════
   8. TABLES — Clean white rows
═══════════════════════════════════════════════ */
table, .table {
    background: #FFFFFF !important;
    color: #0A0A0F !important;
}

.table thead th, thead th, th,
.dash-table thead th {
    color: #9CA3AF !important;
    background: #FAFAFA !important;
    border-color: #EAECF0 !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.8px !important;
}

.table tbody td, tbody td, td,
.dash-table tbody td {
    color: #0A0A0F !important;
    border-color: #EAECF0 !important;
    background-color: transparent !important;
}

.table tbody tr:hover td,
.dash-table tbody tr:hover td {
    background-color: #FAFBFF !important;
}

/* Table dark override for dark-themed tables intentionally */
.table-dark thead th, .table-dark th {
    background: #111827 !important;
    color: #9CA3AF !important;
}

/* ═══════════════════════════════════════════════
   9. FORMS — White inputs, gold focus
═══════════════════════════════════════════════ */
input, select, textarea,
.form-control, .form-select,
.form-control-custom {
    background: #F9FAFB !important;
    color: #0A0A0F !important;
    border: 1.5px solid #D0D5DD !important;
    border-radius: 12px !important;
}

input::placeholder, textarea::placeholder {
    color: #9CA3AF !important;
    opacity: 1 !important;
}

input:focus, select:focus, textarea:focus,
.form-control:focus, .form-select:focus {
    background: #F0F6FF !important;
    color: #0A0A0F !important;
    border-color: #3B82F6 !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15) !important;
    outline: none !important;
}

select option {
    background: #FFFFFF !important;
    color: #0A0A0F !important;
}

.form-label, label {
    color: #374151 !important;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    display: block;
}

.form-floating > label {
    color: #9CA3AF !important;
}

/* ═══════════════════════════════════════════════
   10. MODALS — White
═══════════════════════════════════════════════ */
.modal-content {
    background: #FFFFFF !important;
    border: 1px solid #EAECF0 !important;
    color: #0A0A0F !important;
}
.modal-header {
    background: #FAFAFA !important;
    border-bottom: 1px solid #EAECF0 !important;
}
.modal-header .modal-title { color: #0A0A0F !important; }
.modal-body   { color: #0A0A0F !important; background: #FFFFFF !important; }
.modal-footer { background: #FAFAFA !important; border-top: 1px solid #EAECF0 !important; }
.btn-close, .btn-close-white { filter: none !important; opacity: 0.6 !important; }

/* ═══════════════════════════════════════════════
   11. DROPDOWNS — White
═══════════════════════════════════════════════ */
.dropdown-menu {
    background: #FFFFFF !important;
    border: 1px solid #EAECF0 !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.12) !important;
    border-radius: 16px !important;
}
.dropdown-item {
    color: #374151 !important;
    font-size: 14px;
}
.dropdown-item:hover, .dropdown-item:focus {
    background: #EFF6FF !important;
    color: #3B82F6 !important;
}
.dropdown-divider { border-color: #F3F4F6 !important; }

/* ═══════════════════════════════════════════════
   12. BUTTONS — Gold primary
═══════════════════════════════════════════════ */
.btn { transition: all 0.2s ease !important; font-weight: 700 !important; }

.btn-primary, .auth-btn, .btn-gold {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8) !important;
    color: #FFFFFF !important;
    border: none !important;
    font-weight: 800 !important;
    box-shadow: 0 4px 14px rgba(59,130,246,0.3) !important;
}
.btn-primary:hover, .auth-btn:hover, .btn-gold:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 24px rgba(59,130,246,0.45) !important;
    color: #FFFFFF !important;
}

.btn-secondary {
    background: #F3F4F6 !important;
    color: #374151 !important;
    border: 1px solid #E5E7EB !important;
}
.btn-secondary:hover { background: #E5E7EB !important; }

.btn-outline-primary   { border: 2px solid #3B82F6 !important; color: #3B82F6 !important; background: transparent !important; }
.btn-outline-primary:hover { background: linear-gradient(135deg, #3B82F6, #1D4ED8) !important; color: #FFFFFF !important; }
.btn-outline-secondary { border-color: #D0D5DD !important; color: #6B7280 !important; background: transparent !important; }
.btn-outline-secondary:hover { background: #F3F4F6 !important; }
.btn-outline-light     { border-color: #D0D5DD !important; color: #374151 !important; background: transparent !important; }
.btn-outline-light:hover { background: #F3F4F6 !important; }
.btn-outline-danger    { border-color: #EF4444 !important; color: #EF4444 !important; background: transparent !important; }
.btn-success  { background: #10B981 !important; color: #FFFFFF !important; border: none !important; }
.btn-danger   { background: #EF4444 !important; color: #FFFFFF !important; border: none !important; }
.btn-link     { color: #3B82F6 !important; text-decoration: none !important; }
.btn-link:hover { color: #1D4ED8 !important; }

/* ═══════════════════════════════════════════════
   13. BADGES — Light theme
═══════════════════════════════════════════════ */
.badge { font-size: 11px !important; font-weight: 700 !important; }
.badge.bg-success   { background-color: rgba(16,185,129,0.12) !important; color: #059669 !important; }
.badge.bg-danger    { background-color: rgba(239,68,68,0.12) !important; color: #DC2626 !important; }
.badge.bg-warning   { background-color: rgba(245,158,11,0.12) !important; color: #D97706 !important; }
.badge.bg-primary   { background: linear-gradient(135deg, #3B82F6, #1D4ED8) !important; color: #FFFFFF !important; }
.badge.bg-secondary { background-color: #F3F4F6 !important; color: #374151 !important; }

/* ═══════════════════════════════════════════════
   14. ALERTS — Light style
═══════════════════════════════════════════════ */
.alert { border-radius: 14px !important; font-weight: 500; }
.alert-success { background: rgba(16,185,129,0.1)  !important; border: 1px solid rgba(16,185,129,0.25)  !important; color: #047857 !important; }
.alert-danger  { background: rgba(239,68,68,0.1)   !important; border: 1px solid rgba(239,68,68,0.25)   !important; color: #B91C1C !important; }
.alert-warning { background: rgba(255,215,0,0.12)  !important; border: 1px solid rgba(255,215,0,0.3)    !important; color: #92400E !important; }
.alert-info    { background: rgba(59,130,246,0.08) !important; border: 1px solid rgba(59,130,246,0.2)   !important; color: #1D4ED8 !important; }

/* ═══════════════════════════════════════════════
   15. SIDEBAR RESPONSIVE & UTILITY
═══════════════════════════════════════════════ */
/* Dashboard uses CSS Grid — sidebar/main layout handled in dashboard.php */
/* Only apply margin-left shift to .main-content (non-dashboard pages) */
@media (min-width: 992px) {
    .main-content {
        margin-left: 260px !important;
        width: calc(100% - 260px) !important;
    }
}
@media (max-width: 991px) {
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
}

/* ═══════════════════════════════════════════════
   16. SCROLLBAR — White theme version
═══════════════════════════════════════════════ */
::-webkit-scrollbar       { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F5F6FA; }
::-webkit-scrollbar-thumb { background: #D0D5DD; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #3B82F6; }

/* ═══════════════════════════════════════════════
   17. LIST GROUPS — Light style
═══════════════════════════════════════════════ */
.list-group-item {
    background: #FFFFFF !important;
    border-color: #EAECF0 !important;
    color: #374151 !important;
}
.list-group-item:hover { background: #FAFBFF !important; }

/* ═══════════════════════════════════════════════
   18. PAGINATION — Light style
═══════════════════════════════════════════════ */
.page-link {
    background: #FFFFFF !important;
    border-color: #EAECF0 !important;
    color: #6B7280 !important;
}
.page-item.active .page-link {
    background: linear-gradient(135deg, #3B82F6, #1D4ED8) !important;
    border-color: #3B82F6 !important;
    color: #FFFFFF !important;
}
.page-link:hover { background: #EFF6FF !important; color: #3B82F6 !important; }

/* ═══════════════════════════════════════════════
   19. PROGRESS BARS
═══════════════════════════════════════════════ */
.progress { background: #F3F4F6 !important; border-radius: 10px !important; }
.progress-bar { background: linear-gradient(90deg, #3B82F6, #1D4ED8) !important; }
.progress-bar.bg-success { background: #10B981 !important; }
.progress-bar.bg-danger  { background: #EF4444 !important; }

/* ═══════════════════════════════════════════════
   20. FOCUS OUTLINES — Gold focus rings
═══════════════════════════════════════════════ */
.btn:focus, .nav-link:focus, .dropdown-item:focus, .form-control:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2) !important;
}

/* ═══════════════════════════════════════════════
   21. MOBILE EXCLUSIVITY & LAYOUT LOCK
   Enforced mobile device rendering restrictions
   and beautiful desktop/tablet fallback view.
   ═══════════════════════════════════════════════ */

/* Mobile view styling & native app behavior (<= 768px) */
@media (max-width: 768px) {
    .desktop-fallback {
        display: none !important;
    }
    
    /* Native App Dimensions Constraint */
    html, body {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    
    /* Restrict scrolling strictly to inner content scroll panels */
    .dash-wrapper {
        display: flex !important;
        flex-direction: column !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        overflow: hidden !important;
    }
    
    .dash-main {
        flex: 1 !important;
        display: flex !important;
        flex-direction: column !important;
        height: 100% !important;
        overflow: hidden !important;
    }
    
    /* Scrollable panels */
    .dash-container, .main-content, .tab-content, .auth-layout {
        flex: 1 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Add extra padding at the bottom of the containers for bottom nav spacer */
    .dash-container, .main-content, .tab-content {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0)) !important;
    }
    
    /* Touch optimization: minimum 44px target sizes */
    .btn, 
    .auth-btn, 
    .btn-primary-pill, 
    .btn-outline-pill,
    input, 
    select, 
    .form-control, 
    .form-select,
    .ebn-item,
    .auth-tab,
    .category-item,
    .nav-link {
        min-height: 44px !important;
        min-width: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    .form-control-custom, .form-control {
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }
    
    /* Immersion styling: prevent accidental text selection */
    .btn, 
    .auth-btn, 
    .btn-primary-pill, 
    .btn-outline-pill,
    .ebn-item,
    .auth-tab,
    .category-item,
    .nav-link,
    .hamburger-btn,
    .announce-detail-btn,
    .translate-btn,
    .lang-item {
        user-select: none !important;
        -webkit-user-select: none !important;
        -moz-user-select: none !important;
        -ms-user-select: none !important;
        outline: none !important;
        -webkit-tap-highlight-color: transparent !important;
    }
    
    /* Safe Area Notch Padding Adjustments */
    .top-bar-app, .top-navbar, .navbar {
        padding-top: calc(12px + env(safe-area-inset-top, 0)) !important;
    }
}

/* Desktop & Tablet Fallback UI (>= 769px) */
@media (min-width: 769px) {
    /* Hard boundary: Hide all main app wrappers & loaders */
    .auth-layout, 
    .dash-wrapper, 
    .restriction-card, 
    .main-content,
    nav,
    section,
    footer,
    #sidebarCollapse,
    .top-bar-app,
    .earn-bottom-nav,
    #earn00-loader,
    #pg-loader,
    #page-transition,
    .support-float,
    .alert-container,
    .pwa-install-banner,
    .modal {
        display: none !important;
    }
    
    body {
        background: #F5F6FA !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100vw !important;
        height: 100vh !important;
        overflow: hidden !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .desktop-fallback {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        font-family: 'Outfit', 'Inter', sans-serif !important;
        padding: 40px !important;
        background: #ffffff !important;
        border: 1px solid #EAECF0 !important;
        border-radius: 24px !important;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05) !important;
        max-width: 420px !important;
        width: 90% !important;
        animation: fallbackFadeIn 0.5s ease-out !important;
    }
    
    @keyframes fallbackFadeIn {
        from { opacity: 0; transform: translateY(10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .fallback-icon {
        font-size: 56px !important;
        color: #3B82F6 !important;
        margin-bottom: 24px !important;
        animation: phoneFloat 2.5s ease-in-out infinite !important;
    }
    
    @keyframes phoneFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-8px); }
    }
    
    .fallback-title {
        font-size: 22px !important;
        font-weight: 800 !important;
        color: #0A0A0F !important;
        margin-bottom: 12px !important;
        letter-spacing: -0.5px !important;
    }
    
    .fallback-text {
        font-size: 14px !important;
        color: #6B7280 !important;
        line-height: 1.6 !important;
        margin: 0 !important;
    }
}

/* ═══════════════════════════════════════════════
   22. SIDEBAR ANNIHILATION & MOBILE BENTO / LISTS
   Defeating sidebars and hamburger layouts to enforce
   a premium, modern native mobile application feel.
   ═══════════════════════════════════════════════ */

/* Global Sidebar & Hamburger Annihilation */
#sidebar, 
.sidebar, 
.sidebar-overlay, 
#sidebarOverlay, 
#sidebarCollapse, 
.hamburger-btn,
#sidebarClose,
.brand-icon,
.brand-link {
    display: none !important;
}

/* Restructure layouts to claim full-width on mobile */
.main-content, .dash-main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
}

.dash-wrapper {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
}

/* Bento Grid Quick Actions Layout */
.bento-grid-actions {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    width: 100% !important;
    margin-bottom: 24px !important;
}

.bento-item {
    background: #ffffff !important;
    border: 1px solid #EAECF0 !important;
    border-radius: 18px !important;
    padding: 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    text-decoration: none !important;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(16, 24, 40, 0.02) !important;
}

.bento-item:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 10px 20px rgba(16, 24, 40, 0.06) !important;
    border-color: #3B82F6 !important; /* Blue hover border */
}

.bento-item.trade-card {
    grid-column: span 2 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 16px !important;
    background: linear-gradient(135deg, #ffffff 0%, #F0F6FF 100%) !important;
    border-color: rgba(59, 130, 246, 0.15) !important;
}

.bento-icon-box {
    width: 40px !important;
    height: 40px !important;
    border-radius: 12px !important;
    display: grid !important;
    place-items: center !important;
    font-size: 1.2rem !important;
    color: #ffffff !important;
    flex-shrink: 0 !important;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05) !important;
}

.bento-icon-box.bg-gold   { background: linear-gradient(135deg, #3B82F6, #1D4ED8) !important; color: #FFFFFF !important; }
.bento-icon-box.bg-dark   { background: #0A0A0F !important; }
.bento-icon-box.bg-blue   { background: #3B82F6 !important; }
.bento-icon-box.bg-purple { background: #8B5CF6 !important; }
.bento-icon-box.bg-orange { background: #FF7A00 !important; }
.bento-icon-box.bg-green  { background: #10B981 !important; }
.bento-icon-box.bg-teal   { background: #14B8A6 !important; }

.bento-meta {
    display: flex !important;
    flex-direction: column !important;
    gap: 2px !important;
}

.bento-title {
    font-size: 13.5px !important;
    font-weight: 800 !important;
    color: #0A0A0F !important;
    line-height: 1.2 !important;
}

.bento-sub {
    font-size: 10.5px !important;
    color: #9CA3AF !important;
    line-height: 1.1 !important;
}

/* Native Grouped settings lists (iOS style) */
.settings-group {
    margin-bottom: 24px !important;
}

.settings-group-label {
    font-size: 10px !important;
    font-weight: 800 !important;
    color: #9CA3AF !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    margin-bottom: 8px !important;
    padding-left: 6px !important;
}

.settings-list {
    background: #ffffff !important;
    border: 1px solid #EAECF0 !important;
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 4px 10px rgba(16, 24, 40, 0.02) !important;
}

.settings-item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 14px 16px !important;
    color: #0A0A0F !important;
    text-decoration: none !important;
    border-bottom: 1px solid #F2F4F7 !important;
    transition: all 0.15s ease !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    cursor: pointer !important;
}

.settings-item:last-child {
    border-bottom: none !important;
}

.settings-item:hover {
    background: #F9FAFB !important;
}

.settings-item-left {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

.settings-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    display: grid !important;
    place-items: center !important;
    color: #ffffff !important;
    font-size: 1rem !important;
}

.settings-icon.bg-blue   { background: #3B82F6 !important; }
.settings-icon.bg-gold   { background: linear-gradient(135deg, #3B82F6, #1D4ED8) !important; color: #FFFFFF !important; }
.settings-icon.bg-green  { background: #10B981 !important; }
.settings-icon.bg-purple { background: #8B5CF6 !important; }
.settings-icon.bg-teal   { background: #14B8A6 !important; }
.settings-icon.bg-orange { background: #FF7A00 !important; }
.settings-icon.bg-danger { background: #EF4444 !important; }
.settings-icon.bg-dark   { background: #0A0A0F !important; }

.settings-item-right {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    color: #9CA3AF !important;
}

.settings-badge {
    font-size: 9px !important;
    font-weight: 800 !important;
    padding: 3px 8px !important;
    border-radius: 6px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}
.settings-badge.bg-success { background: rgba(16,185,129,0.12) !important; color: #059669 !important; }
.settings-badge.bg-warning { background: rgba(245,158,11,0.12) !important; color: #D97706 !important; }

.settings-item.logout-item {
    color: #EF4444 !important;
}
.settings-item.logout-item:hover {
    background: rgba(239, 68, 68, 0.04) !important;
}

/* Restore promo slider functionality on mobile viewport */
.promo-slider-container {
    flex-shrink: 0 !important;
}


