/* ==========================================================================
   NEOVEST-STYLE DASHBOARD CSS
   Clean, light, pastel-gradient aesthetic matching the latest Neovest theme
   ========================================================================== */

/* ---------- Animation ---------- */
@keyframes neoFadeUp {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   TOP ROW — Wallets + Referral
   ============================================================ */
.neo-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 24px;
    animation: neoFadeUp 0.45s ease-out;
}

@media (max-width: 1199px) {
    .neo-top-row { grid-template-columns: 1fr; }
}

.neo-card-title {
    font-size: 18px;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 18px 0;
}

.dark-theme .neo-card-title {
    color: #e2e8f0;
}

/* -- Wallet Card -- */
.neo-wallet-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s;
}

.neo-wallet-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.dark-theme .neo-wallet-card {
    background: #1a2236;
    border-color: rgba(255,255,255,0.08);
}

.neo-wallet-card-inner {
    padding: 24px;
}

.neo-wallet-gradient {
    background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 40%, #0369a1 100%);
    border-radius: 16px;
    padding: 30px 28px;
    display: flex;
    flex-direction: column;
    gap: 22px;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    box-shadow: 0 8px 32px rgba(2, 132, 199,0.18);
}

.neo-wallet-gradient::before {
    content: '';
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    top: -90px;
    right: -50px;
    animation: floatBubble 6s ease-in-out infinite;
}

.neo-wallet-gradient::after {
    content: '';
    position: absolute;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    bottom: -50px;
    right: 60px;
    animation: floatBubble 8s ease-in-out infinite reverse;
}

@keyframes floatBubble {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

.neo-wallet-item {
    position: relative;
    z-index: 1;
}

.neo-wallet-label {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 4px;
    font-weight: 500;
}

.neo-wallet-amount {
    display: block;
    font-size: 30px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.12);
}

/* -- Referral Card -- */
.neo-referral-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    transition: box-shadow 0.3s;
}

.neo-referral-card:hover {
    box-shadow: 0 8px 28px rgba(0,0,0,0.06);
}

.dark-theme .neo-referral-card {
    background: #1a2236;
    border-color: rgba(255,255,255,0.08);
}

.neo-referral-card-inner {
    padding: 24px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.neo-referral-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.neo-referral-input-row {
    display: flex;
    gap: 0;
    margin-bottom: 12px;
    align-items: stretch;
}

.neo-referral-input {
    flex: 1;
    height: 48px;
    border: 1.5px solid #e5e7eb;
    border-right: none;
    border-radius: 24px 0 0 24px;
    padding: 0 20px;
    font-size: 14px;
    color: #0284c7;
    background: #f8fafc;
    outline: none;
    transition: border-color 0.2s;
    min-width: 0;
}

.neo-referral-input:focus {
    border-color: #0284c7;
}

.dark-theme .neo-referral-input {
    background: #111827;
    border-color: rgba(255,255,255,0.12);
    color: #38bdf8;
}

.neo-copy-btn {
    height: 48px;
    padding: 0 28px;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%);
    color: #ffffff;
    border: none;
    border-radius: 0 24px 24px 0;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(2, 132, 199,0.2);
}

.neo-copy-btn:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 100%);
    color: #ffffff;
    box-shadow: 0 6px 18px rgba(2, 132, 199,0.3);
}

.neo-referral-joined {
    font-size: 14px;
    color: #94a3b8;
    margin: 0 0 14px 0;
}

.dark-theme .neo-referral-joined {
    color: #64748b;
}

.neo-share-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.neo-share-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
}

.neo-share-icon {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s;
}

.neo-share-icon:hover {
    background: #0284c7;
    color: #fff;
}

.dark-theme .neo-share-icon {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
}

.dark-theme .neo-share-icon:hover {
    background: #0284c7;
    color: #fff;
}

/* ============================================================
   STAT CARDS GRID
   ============================================================ */
.neo-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 24px;
    animation: neoFadeUp 0.45s ease-out 0.08s both;
}

@media (max-width: 1399px) { .neo-stats-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px)  { .neo-stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .neo-stats-grid { grid-template-columns: 1fr; } }

.neo-stat-card {
    border-radius: 18px;
    padding: 26px;
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.02);
}

.neo-stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.07);
    border-color: rgba(2, 132, 199,0.1);
}

/* Pastel gradient backgrounds — matching Neovest */
.neo-grad-green {
    background: linear-gradient(145deg, #f0fdf4 0%, #ecfdf5 40%, #ffffff 100%);
}
.neo-grad-pink {
    background: linear-gradient(145deg, #fdf2f8 0%, #fce7f3 40%, #ffffff 100%);
}
.neo-grad-blue {
    background: linear-gradient(145deg, #eff6ff 0%, #e0f2fe 40%, #ffffff 100%);
}
.neo-grad-peach {
    background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 40%, #ffffff 100%);
}
.neo-grad-mint {
    background: linear-gradient(145deg, #f0fdfa 0%, #ccfbf1 40%, #ffffff 100%);
}
.neo-grad-rose {
    background: linear-gradient(145deg, #fff1f2 0%, #ffe4e6 40%, #ffffff 100%);
}
.neo-grad-lavender {
    background: linear-gradient(145deg, #f5f3ff 0%, #ede9fe 40%, #ffffff 100%);
}
.neo-grad-sky {
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 40%, #ffffff 100%);
}

/* Dark theme stat cards */
.dark-theme .neo-stat-card {
    border-color: rgba(255,255,255,0.06);
}
.dark-theme .neo-grad-green    { background: linear-gradient(145deg, rgba(16,185,129,0.08) 0%, rgba(16,185,129,0.04) 40%, #1a2236 100%); }
.dark-theme .neo-grad-pink     { background: linear-gradient(145deg, rgba(236,72,153,0.08) 0%, rgba(236,72,153,0.04) 40%, #1a2236 100%); }
.dark-theme .neo-grad-blue     { background: linear-gradient(145deg, rgba(59,130,246,0.08) 0%, rgba(59,130,246,0.04) 40%, #1a2236 100%); }
.dark-theme .neo-grad-peach    { background: linear-gradient(145deg, rgba(251,146,60,0.08) 0%, rgba(251,146,60,0.04) 40%, #1a2236 100%); }
.dark-theme .neo-grad-mint     { background: linear-gradient(145deg, rgba(20,184,166,0.08) 0%, rgba(20,184,166,0.04) 40%, #1a2236 100%); }
.dark-theme .neo-grad-rose     { background: linear-gradient(145deg, rgba(244,63,94,0.08) 0%, rgba(244,63,94,0.04) 40%, #1a2236 100%); }
.dark-theme .neo-grad-lavender { background: linear-gradient(145deg, rgba(56, 189, 248,0.08) 0%, rgba(56, 189, 248,0.04) 40%, #1a2236 100%); }
.dark-theme .neo-grad-sky      { background: linear-gradient(145deg, rgba(14,165,233,0.08) 0%, rgba(14,165,233,0.04) 40%, #1a2236 100%); }

/* Blue Circle Icon — Premium double-ring glow */
.neo-stat-icon-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 22px;
    margin-bottom: 16px;
    box-shadow: 0 0 0 8px rgba(2, 132, 199,0.12), 0 4px 14px rgba(2, 132, 199,0.20);
    transition: all 0.3s ease;
}

.neo-stat-card:hover .neo-stat-icon-circle {
    box-shadow: 0 0 0 10px rgba(2, 132, 199,0.16), 0 6px 20px rgba(2, 132, 199,0.28);
    transform: scale(1.05);
}

.dark-theme .neo-stat-icon-circle {
    background: #0ea5e9;
    box-shadow: 0 4px 12px rgba(14, 165, 233,0.3);
}

.neo-stat-label {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 4px 0;
    font-weight: 500;
}

.dark-theme .neo-stat-label {
    color: #94a3b8;
}

.neo-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.2;
    letter-spacing: -0.01em;
}

.neo-stat-value b {
    font-weight: 500;
    font-size: 18px;
    position: relative;
    top: -3px;
    margin-right: 1px;
}

.dark-theme .neo-stat-value {
    color: #e2e8f0;
}

/* ============================================================
   TRANSACTIONS TABLE
   ============================================================ */
.neo-transactions-section {
    animation: neoFadeUp 0.45s ease-out 0.16s both;
}

.neo-transactions-card {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.04);
    border-radius: 18px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.03);
    overflow: hidden;
}

.dark-theme .neo-transactions-card {
    background: #1a2236;
    border-color: rgba(255,255,255,0.08);
}

.neo-transactions-header {
    padding: 22px 24px 0;
}

.neo-transactions-body {
    padding: 0 0;
}

.neo-transactions-body .site-datatable {
    padding: 12px 0 0;
}

.neo-transactions-body .data-table {
    width: 100% !important;
    margin: 0 !important;
    border-collapse: collapse;
}

/* Table Header */
.neo-transactions-body .data-table thead tr th {
    background: transparent;
    color: #1e293b;
    font-size: 14px;
    font-weight: 600;
    padding: 14px 20px;
    border-bottom: 1px solid #e5e7eb;
    white-space: nowrap;
    text-transform: none;
    letter-spacing: 0;
}

.dark-theme .neo-transactions-body .data-table thead tr th {
    color: #e2e8f0;
    border-bottom-color: rgba(255,255,255,0.08);
}

/* Table Rows */
.neo-transactions-body .data-table tbody tr {
    transition: background 0.15s;
}

.neo-transactions-body .data-table tbody tr:hover {
    background: #f8fafc;
}

.dark-theme .neo-transactions-body .data-table tbody tr:hover {
    background: rgba(255,255,255,0.02);
}

.neo-transactions-body .data-table tbody tr td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    vertical-align: middle;
    font-size: 14px;
    color: #334155;
}

.dark-theme .neo-transactions-body .data-table tbody tr td {
    color: #cbd5e1;
    border-bottom-color: rgba(255,255,255,0.04);
}

/* Transaction Description Cell */
.neo-txn-desc {
    display: flex;
    align-items: center;
    gap: 12px;
}

.neo-txn-icon-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #0284c7;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    flex-shrink: 0;
    font-size: 16px;
}

.neo-txn-icon-circle svg {
    width: 18px;
    height: 18px;
}

.dark-theme .neo-txn-icon-circle {
    background: #0ea5e9;
}

.neo-txn-detail {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.neo-txn-detail strong {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.dark-theme .neo-txn-detail strong {
    color: #e2e8f0;
}

.neo-txn-date {
    font-size: 12px;
    color: #94a3b8;
}

.neo-txn-msg {
    color: #0284c7;
    font-size: 14px;
    cursor: help;
    margin-left: 4px;
}

.neo-txn-id {
    font-size: 13px;
    color: #64748b;
    font-weight: 600;
}

.dark-theme .neo-txn-id {
    color: #94a3b8;
}

.neo-txn-charge {
    color: #ef4444;
    font-weight: 600;
}

.neo-txn-gateway {
    font-weight: 500;
    color: #64748b;
}

.dark-theme .neo-txn-gateway {
    color: #94a3b8;
}

/* Neovest-style Badges — rounded pills */
.neo-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
    line-height: 1;
}

.neo-badge-type {
    background: #eef2ff;
    color: #0284c7;
}

.dark-theme .neo-badge-type {
    background: rgba(2, 132, 199,0.15);
    color: #38bdf8;
}

.neo-badge-success {
    background: #ecfdf5;
    color: #059669;
}

.dark-theme .neo-badge-success {
    background: rgba(16,185,129,0.12);
    color: #34d399;
}

.neo-badge-pending {
    background: #fffbeb;
    color: #d97706;
}

.dark-theme .neo-badge-pending {
    background: rgba(245,158,11,0.12);
    color: #fbbf24;
}

.neo-badge-failed {
    background: #fef2f2;
    color: #dc2626;
}

.dark-theme .neo-badge-failed {
    background: rgba(239,68,68,0.12);
    color: #f87171;
}

/* Amount colors */
.neo-transactions-body .green-color {
    color: #0284c7 !important;
    font-weight: 600;
}

.neo-transactions-body .red-color {
    color: #ef4444 !important;
    font-weight: 600;
}

.dark-theme .neo-transactions-body .green-color {
    color: #38bdf8 !important;
}

.dark-theme .neo-transactions-body .red-color {
    color: #f87171 !important;
}

/* Empty State */
.neo-empty-state {
    text-align: center;
    padding: 48px 20px !important;
}

.neo-empty-icon {
    font-size: 40px;
    color: #cbd5e1;
    margin-bottom: 12px;
}

.dark-theme .neo-empty-icon {
    color: #475569;
}

.neo-empty-state p {
    color: #94a3b8;
    font-size: 14px;
    margin: 0;
}

/* DataTables overrides */
.neo-transactions-body .dataTables_wrapper {
    padding: 0;
}

.neo-transactions-body .dataTables_wrapper .dataTables_length,
.neo-transactions-body .dataTables_wrapper .dataTables_filter {
    padding: 10px 20px;
}

.neo-transactions-body .dataTables_wrapper .dataTables_filter input {
    border-radius: 20px;
    border: 1.5px solid #e5e7eb;
    padding: 6px 14px;
}

.dark-theme .neo-transactions-body .dataTables_wrapper .dataTables_filter input {
    border-color: rgba(255,255,255,0.1);
    background: #111827;
    color: #e2e8f0;
}

.neo-transactions-body .dataTables_wrapper .dataTables_info,
.neo-transactions-body .dataTables_wrapper .dataTables_paginate {
    padding: 14px 20px;
    color: #94a3b8;
}

.neo-transactions-body .dataTables_wrapper .dataTables_paginate .paginate_button {
    border-radius: 8px !important;
    margin: 0 2px;
}

.neo-transactions-body .dataTables_wrapper .dataTables_paginate .paginate_button.current {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #fff !important;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 767px) {
    .neo-wallet-card-inner,
    .neo-referral-card-inner {
        padding: 18px;
    }
    .neo-wallet-gradient {
        padding: 22px 20px;
    }
    .neo-wallet-amount {
        font-size: 24px;
    }
    .neo-referral-input-row {
        flex-direction: column;
        gap: 10px;
    }
    .neo-referral-input {
        border-radius: 24px;
        border-right: 1.5px solid #e5e7eb;
    }
    .neo-copy-btn {
        border-radius: 24px;
        width: 100%;
        justify-content: center;
    }
    .neo-transactions-header {
        padding: 18px 18px 0;
    }
    .neo-stat-card {
        padding: 20px;
    }
}

/* ============================================================
   NEOVEST LIGHT MODE — FULL PAGE OVERRIDES
   Forces light theme across the entire user panel,
   overriding ALL dark-theme colors from styles.css
   ============================================================ */

/* --- Body & Root --- */
.dark-theme {
    color: #1e293b !important;
    background: #f0f2f5 !important;
}

/* --- Sidebar --- */
.dark-theme .panel-layout .side-nav {
    background: #ffffff !important;
    border-right: 1px solid #e5e7eb !important;
    box-shadow: 1px 0 8px rgba(0,0,0,0.04);
}
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item a {
    color: #475569 !important;
    font-weight: 500;
}
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item a:hover {
    color: #1e293b !important;
    background: #f1f5f9;
    border-radius: 8px;
}
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item a:after {
    background: rgba(0, 0, 0, 0.06) !important;
}
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item.active a {
    color: #ffffff !important;
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 100%) !important;
    border-radius: 10px;
    box-shadow: 0 4px 14px rgba(2, 132, 199,0.3);
}
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item a i,
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item a .anticon,
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item a svg {
    color: #94a3b8 !important;
}
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item.active a i,
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item.active a .anticon,
.dark-theme .panel-layout .side-nav .side-nav-inside .side-nav-menu .side-nav-item.active a svg {
    color: #ffffff !important;
}

/* --- Side Wallet Box --- */
.dark-theme .panel-layout .side-wallet-box,
.dark-theme .side-wallet-box {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
}
.dark-theme .panel-layout .side-wallet-box .user-balance-card::before,
.dark-theme .side-wallet-box .user-balance-card::before {
    background: linear-gradient(135deg, #0ea5e9 0%, #0369a1 100%) !important;
}

/* --- Header / Nav Bar --- */
.dark-theme .panel-layout .panel-header .logo {
    background: #ffffff !important;
    border-right: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
}
.dark-theme .panel-layout .panel-header .logo img {
    filter: none !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap {
    background: #ffffff !important;
    border-bottom: 1px solid #e5e7eb !important;
    box-shadow: 0 1px 4px rgba(0,0,0,0.04);
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-left .sidebar-toggle {
    background: #f1f5f9 !important;
    color: #475569 !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-left .sidebar-toggle:hover {
    background: #0284c7 !important;
    color: #ffffff !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .color-switcher {
    color: #475569 !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .color-switcher svg.dark-icon { display: none; }
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .color-switcher svg.light-icon { display: inline-block; }
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .notification-dot {
    background: #ef4444 !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .item {
    color: #475569 !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .item:hover {
    color: #0284c7 !important;
}

/* Header nice-select (language switcher etc) */
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .site-nice-select {
    color: #475569 !important;
    background: #f1f5f9 !important;
    border: 1px solid #e5e7eb !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .site-nice-select::after {
    border-bottom-color: #475569 !important;
    border-right-color: #475569 !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .site-nice-select .list {
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
    border: 1px solid #e5e7eb !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .site-nice-select .list li {
    color: #475569 !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .site-nice-select .list li:hover {
    background: #f1f5f9 !important;
}

/* Header dropdowns */
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .dropdown-menu li .dropdown-item {
    color: #475569 !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .dropdown-menu li .dropdown-item:hover {
    background: #f1f5f9 !important;
    color: #1e293b !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .dropdown-menu li.logout .dropdown-item {
    color: #dc2626 !important;
}
.dark-theme .panel-layout .panel-header .nav-wrap .nav-right .single-nav-right .single-right .dropdown-menu li.logout .dropdown-item:hover {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

/* --- Page Container / Main Content --- */
.dark-theme .panel-layout .page-container {
    background: #f0f2f5 !important;
}
.dark-theme .panel-layout .page-container .main-content {
    background: #f0f2f5 !important;
}
.dark-theme .panel-layout .page-container .main-content .page-title .title-content .title {
    color: #1e293b !important;
}

/* --- Site Cards (all pages) --- */
.dark-theme .site-card,
.dark-theme .panel-layout .site-card {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 12px;
}
.dark-theme .site-card .site-card-header,
.dark-theme .panel-layout .site-card .site-card-header {
    border-bottom: 1px solid #e5e7eb !important;
}
.dark-theme .site-card .site-card-header .title,
.dark-theme .panel-layout .site-card .site-card-header .title {
    color: #1e293b !important;
}
.dark-theme .site-card .site-card-header .search input,
.dark-theme .panel-layout .site-card .site-card-header .search input {
    color: #1e293b !important;
    border-color: #e5e7eb !important;
    background: #f8fafc !important;
}
.dark-theme .site-card .site-card-body,
.dark-theme .panel-layout .site-card .site-card-body {
    color: #475569 !important;
}

/* Site card progress steps and forms */
.dark-theme .panel-layout .site-card .site-card-body .progress-steps .single-step,
.dark-theme .site-card .site-card-body .progress-steps .single-step {
    background: #f8fafc !important;
    border-color: #e5e7eb !important;
}
.dark-theme .panel-layout .site-card .site-card-body .progress-steps .single-step .content h4,
.dark-theme .site-card .site-card-body .progress-steps .single-step .content h4 {
    color: #1e293b !important;
}
.dark-theme .site-card .site-card-body .progress-steps-form label,
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form label {
    color: #475569 !important;
}
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .input-group .form-control,
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .input-group .form-control-textarea,
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .input-group .form-select,
.dark-theme .site-card .site-card-body .progress-steps-form .input-group .form-control,
.dark-theme .site-card .site-card-body .progress-steps-form .input-group .form-control-textarea,
.dark-theme .site-card .site-card-body .progress-steps-form .input-group .form-select {
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #e5e7eb !important;
}
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .input-group .input-group-text,
.dark-theme .site-card .site-card-body .progress-steps-form .input-group .input-group-text {
    background: #f8fafc !important;
    color: #64748b !important;
    border-color: #e5e7eb !important;
}
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .transaction-list .table,
.dark-theme .site-card .site-card-body .progress-steps-form .transaction-list .table {
    color: #475569 !important;
}
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .transaction-list .table tbody tr,
.dark-theme .site-card .site-card-body .progress-steps-form .transaction-list .table tbody tr {
    border-bottom-color: #f1f5f9 !important;
}
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .transaction-list .table tbody tr td strong,
.dark-theme .site-card .site-card-body .progress-steps-form .transaction-list .table tbody tr td strong {
    color: #1e293b !important;
}
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .transaction-list .user-panel-title,
.dark-theme .panel-layout .site-card .site-card-body .progress-steps-form .transaction-list .user-panel-title h3,
.dark-theme .site-card .site-card-body .progress-steps-form .transaction-list .user-panel-title,
.dark-theme .site-card .site-card-body .progress-steps-form .transaction-list .user-panel-title h3 {
    color: #1e293b !important;
}
.dark-theme .progress-steps-form .transaction-status {
    color: #475569 !important;
}

/* Nice-select in forms */
.dark-theme .progress-steps-form .input-group .site-nice-select,
.dark-theme .nice-select {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    color: #1e293b !important;
}
.dark-theme .progress-steps-form .input-group .site-nice-select::after,
.dark-theme .nice-select::after {
    border-bottom-color: #475569 !important;
    border-right-color: #475569 !important;
}
.dark-theme .progress-steps-form .input-group .site-nice-select .list,
.dark-theme .nice-select .list {
    background: #ffffff !important;
    border-color: #e5e7eb !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08) !important;
}
.dark-theme .progress-steps-form .input-group .site-nice-select .list li:hover,
.dark-theme .progress-steps-form .input-group .site-nice-select .list li.selected,
.dark-theme .nice-select .option:hover,
.dark-theme .nice-select .option.selected {
    background: #f1f5f9 !important;
}

/* Referral link form */
.dark-theme .site-card .site-card-body .referral-link .referral-joined,
.dark-theme .panel-layout .site-card .site-card-body .referral-link .referral-joined {
    color: #94a3b8 !important;
}
.dark-theme .site-card .site-card-body .referral-link .referral-link-form input,
.dark-theme .panel-layout .site-card .site-card-body .referral-link .referral-link-form input {
    background: #f8fafc !important;
    color: #0284c7 !important;
    border-color: #e5e7eb !important;
}

/* --- Site Alert --- */
.dark-theme .panel-layout .site-alert,
.dark-theme .site-alert {
    background: #fffbeb !important;
    border-color: #f59e0b !important;
    color: #92400e !important;
}

/* --- DataTables (all pages) --- */
.dark-theme .site-datatable .data-table thead tr th {
    color: #1e293b !important;
    background: #f8fafc !important;
    border-bottom-color: #e5e7eb !important;
}
.dark-theme .site-datatable .data-table {
    color: #475569 !important;
}
.dark-theme .site-datatable .data-table tbody tr td {
    color: #475569 !important;
    border-bottom-color: #f1f5f9 !important;
}
.dark-theme .site-datatable .data-table tbody tr:hover {
    background: #f8fafc !important;
}
.dark-theme .site-datatable .data-table tbody tr td .date {
    color: #94a3b8 !important;
}
.dark-theme .site-datatable .data-table tbody tr td .avatar-text {
    color: #1e293b !important;
}
.dark-theme .site-datatable .data-table tbody tr td .link {
    color: #0284c7 !important;
}
.dark-theme .site-datatable .data-table tbody tr td .link:hover {
    color: #0369a1 !important;
}
.dark-theme .site-datatable .data-table tbody tr td .table-description .icon {
    background: #f1f5f9 !important;
    color: #475569 !important;
}
.dark-theme .site-datatable .data-table tbody tr td .investment-timeline {
    background: #f1f5f9 !important;
}
.dark-theme .site-datatable .data-table tbody tr td .investment-timeline .progress-bar {
    background: #0284c7 !important;
}

/* DataTable badges */
.dark-theme .site-datatable .data-table tbody tr td .site-badge {
    background: #eef2ff !important;
    color: #0284c7 !important;
}
.dark-theme .site-datatable .data-table tbody tr td .site-badge.success {
    background: #ecfdf5 !important;
    color: #059669 !important;
}
.dark-theme .site-datatable .data-table tbody tr td .site-badge.warnning {
    background: #fffbeb !important;
    color: #d97706 !important;
}
.dark-theme .site-datatable .data-table tbody tr td .site-badge.failed {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}

/* DataTable controls */
.dark-theme .site-datatable .dataTables_length label,
.dark-theme .site-datatable .dataTables_info {
    color: #64748b !important;
}
.dark-theme .site-datatable .dataTables_length label select:focus {
    border-color: #0284c7 !important;
    color: #1e293b !important;
}
.dark-theme .site-datatable .dataTables_filter label input {
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #e5e7eb !important;
}
.dark-theme .site-datatable .dataTables_filter label input:focus {
    border-color: #0284c7 !important;
}
.dark-theme .site-datatable .dataTables_paginate .pagination .paginate_button .page-link {
    background: #ffffff !important;
    color: #475569 !important;
    border-color: #e5e7eb !important;
}
.dark-theme .site-datatable .dataTables_paginate .pagination .paginate_button .page-link:hover,
.dark-theme .site-datatable .dataTables_paginate .pagination .paginate_button .page-link:focus {
    background: #f1f5f9 !important;
    color: #0284c7 !important;
}
.dark-theme .site-datatable .dataTables_paginate .pagination .paginate_button.active .page-link {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

/* --- Site Table (older table style) --- */
.dark-theme .site-table .table {
    color: #475569 !important;
}
.dark-theme .site-table .table thead tr th {
    color: #1e293b !important;
    background: #f8fafc !important;
    border-bottom-color: #e5e7eb !important;
}
.dark-theme .site-table .table tbody tr td {
    color: #475569 !important;
    border-bottom-color: #f1f5f9 !important;
}
.dark-theme .site-table .table tbody tr td .date {
    color: #94a3b8 !important;
}
.dark-theme .site-table .table tbody tr td .table-description .icon {
    background: #f1f5f9 !important;
    color: #475569 !important;
}
.dark-theme .site-table .table tbody tr td .table-description .description .date {
    color: #94a3b8 !important;
}
.dark-theme .site-table .table-filter .filter .search input {
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #e5e7eb !important;
}
.dark-theme .site-table .table-filter .filter .search input:focus {
    border-color: #0284c7 !important;
}
.dark-theme .site-table .table-filter .filter .search label {
    color: #64748b !important;
}
.dark-theme .site-table .table-filter .filter .filter-right-btn button {
    background: #f1f5f9 !important;
    color: #475569 !important;
    border-color: #e5e7eb !important;
}

/* --- Transactions list --- */
.dark-theme .site-transactions .single,
.dark-theme .panel-layout .site-transactions .single {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px;
}
.dark-theme .site-transactions .single .left .icon,
.dark-theme .panel-layout .site-transactions .single .left .icon {
    background: #f1f5f9 !important;
    color: #475569 !important;
}
.dark-theme .site-transactions .single .left .content .date,
.dark-theme .panel-layout .site-transactions .single .left .content .date {
    color: #94a3b8 !important;
}
.dark-theme .site-transactions .single.head,
.dark-theme .panel-layout .site-transactions .single.head {
    background: transparent !important;
}

/* --- Site Pagination --- */
.dark-theme .site-pagination .page-item .page-link,
.dark-theme .panel-layout .site-pagination .page-item .page-link {
    background: #ffffff !important;
    color: #475569 !important;
    border-color: #e5e7eb !important;
}
.dark-theme .site-pagination .page-item.active .page-link,
.dark-theme .panel-layout .site-pagination .page-item.active .page-link {
    background: #0284c7 !important;
    border-color: #0284c7 !important;
    color: #ffffff !important;
}

/* --- Btn Link --- */
.dark-theme .btn-link,
.dark-theme .panel-layout .btn-link {
    color: #0284c7 !important;
}

/* --- Mobile views --- */
.dark-theme .mobile-transactions {
    background: transparent !important;
}
.dark-theme .mobile-transactions .single-transaction {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px;
}
.dark-theme .mobile-transactions .single-transaction .transaction-left .transaction-title {
    color: #1e293b !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-left .transaction-date,
.dark-theme .mobile-transactions .single-transaction .transaction-left .transaction-id {
    color: #94a3b8 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-left .transaction-type {
    color: #64748b !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-left .transaction-note {
    color: #94a3b8 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-amount.add {
    color: #059669 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-amount.sub {
    color: #dc2626 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-fee {
    color: #94a3b8 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-fee.add {
    color: #059669 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-fee.sub {
    color: #dc2626 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-gateway {
    color: #64748b !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-status.success {
    background: #ecfdf5 !important;
    color: #059669 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-status.pending {
    background: #fffbeb !important;
    color: #d97706 !important;
}
.dark-theme .mobile-transactions .single-transaction .transaction-right .transaction-status.cancel {
    background: #fef2f2 !important;
    color: #dc2626 !important;
}
.dark-theme .mobile-ref-url .referral-joined {
    color: #94a3b8 !important;
}
.dark-theme .mobile-transaction-filter .filter .search input {
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #e5e7eb !important;
}
.dark-theme .mobile-transaction-filter .filter .search input:focus {
    border-color: #0284c7 !important;
}
.dark-theme .mobile-transaction-filter .filter .search label {
    color: #64748b !important;
}
.dark-theme .mobile-transaction-filter .filter .filter-right-btn button {
    background: #f1f5f9 !important;
    color: #475569 !important;
}

/* --- Forms --- */
.dark-theme .form-control,
.dark-theme .form-select,
.dark-theme input[type="text"],
.dark-theme input[type="email"],
.dark-theme input[type="password"],
.dark-theme input[type="number"],
.dark-theme textarea,
.dark-theme select {
    background: #ffffff !important;
    color: #1e293b !important;
    border-color: #e5e7eb !important;
}
.dark-theme .form-control:focus,
.dark-theme .form-select:focus,
.dark-theme input:focus,
.dark-theme textarea:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199,0.1) !important;
}
.dark-theme label { color: #475569 !important; }
.dark-theme .input-icon { color: #94a3b8 !important; }

/* --- Dropdowns (generic) --- */
.dark-theme .dropdown-menu {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}
.dark-theme .dropdown-menu .dropdown-item { color: #475569 !important; }
.dark-theme .dropdown-menu .dropdown-item:hover { background: #f1f5f9 !important; color: #1e293b !important; }

/* --- Badges --- */
.dark-theme .site-badge { border-radius: 20px; }
.dark-theme .site-badge.success { background: #ecfdf5 !important; color: #059669 !important; }
.dark-theme .site-badge.pending,
.dark-theme .site-badge.warnning { background: #fffbeb !important; color: #d97706 !important; }
.dark-theme .site-badge.danger,
.dark-theme .site-badge.failed { background: #fef2f2 !important; color: #dc2626 !important; }

/* --- Modal --- */
.dark-theme .modal-content { background: #ffffff !important; border: 1px solid #e5e7eb !important; color: #1e293b !important; }
.dark-theme .modal-header { border-bottom-color: #e5e7eb !important; }
.dark-theme .modal-footer { border-top-color: #e5e7eb !important; }

/* --- Tooltip --- */
.dark-theme .tooltip-inner { background: #1e293b; color: #fff; }

/* --- Scrollbar --- */
.dark-theme ::-webkit-scrollbar { width: 6px; }
.dark-theme ::-webkit-scrollbar-track { background: #f1f5f9; }
.dark-theme ::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }

/* --- Typography --- */
.dark-theme h1, .dark-theme h2, .dark-theme h3,
.dark-theme h4, .dark-theme h5, .dark-theme h6 { color: #1e293b !important; }
.dark-theme p { color: #475569; }
.dark-theme a { color: #0284c7; }
.dark-theme a:hover { color: #0369a1; }

/* --- Access device images --- */
.dark-theme .site-card .site-card-body .access-device .icon img,
.dark-theme .panel-layout .site-card .site-card-body .access-device .icon img {
    filter: none !important;
}

/* --- Switch field radio toggles --- */
.dark-theme .switch-field label { color: #475569 !important; background: #f1f5f9 !important; }
.dark-theme .switch-field input:checked + label { color: #ffffff !important; background: #0284c7 !important; }

/* --- User cards / stat cards (old layout) --- */
.dark-theme .user-cards .single {
    background: #ffffff !important;
    border: 1px solid #e5e7eb !important;
    color: #1e293b !important;
}
.dark-theme .user-cards .single .icon { color: #0284c7 !important; }
.dark-theme .user-cards .single .content h4 { color: #1e293b !important; }
.dark-theme .user-cards .single .content p { color: #64748b !important; }

/* --- User ranking circle --- */
.dark-theme .user-ranking {
    background: linear-gradient(135deg, #0ea5e9, #0369a1) !important;
    border: 3px solid #e5e7eb !important;
}

/* --- Referral link form (old) --- */
.dark-theme .referral-link .referral-link-form input {
    background: #f8fafc !important;
    color: #0284c7 !important;
    border-color: #e5e7eb !important;
}
.dark-theme .referral-link .referral-link-form button {
    background: #0284c7 !important;
    color: #ffffff !important;
}

/* --- Earnings calculator (homepage) --- */
.dark-theme .earnings-calculator .single-box .input-group .form-control { background: #ffffff !important; color: #1e293b !important; border-color: #e5e7eb !important; }
.dark-theme .earnings-calculator .single-box .input-group .input-group-text { background: #f8fafc !important; color: #64748b !important; }
.dark-theme .earnings-calculator .single-box .site-nice-select { background: #ffffff !important; color: #1e293b !important; }
.dark-theme .earnings-calculator .single-box .site-nice-select::after { border-bottom-color: #475569 !important; border-right-color: #475569 !important; }
.dark-theme .earnings-calculator .single-box .site-nice-select .current { color: #1e293b !important; }
.dark-theme .earnings-calculator .single-box .site-nice-select .list { background: #ffffff !important; }
.dark-theme .earnings-calculator .single-box .site-nice-select .list li:hover { background: #f1f5f9 !important; }
.dark-theme .earnings-calculator .single-box label { color: #475569 !important; }

/* --- Green/Red amount colors --- */
.dark-theme .green-color { color: #059669 !important; }
.dark-theme .red-color { color: #dc2626 !important; }

/* ============================================================
   AUTO-INVEST TOGGLE
   ============================================================ */
.auto-invest-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    color: #1e293b;
    padding: 12px 16px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    background: #f8fafc;
    transition: all 0.2s;
    width: 100%;
}

.auto-invest-toggle:hover {
    border-color: #0284c7;
    background: #eef2ff;
}

.auto-invest-toggle input:checked ~ span {
    color: #0284c7;
    font-weight: 600;
}

.auto-invest-toggle input.form-check-input {
    width: 20px;
    height: 20px;
    margin: 0;
    flex-shrink: 0;
}

.auto-invest-toggle input.form-check-input:checked {
    background-color: #0284c7;
    border-color: #0284c7;
}

.dark-theme .auto-invest-toggle {
    color: #e2e8f0;
    background: #1a2236;
    border-color: rgba(255,255,255,0.1);
}

.dark-theme .auto-invest-toggle:hover {
    border-color: #0ea5e9;
    background: rgba(14, 165, 233,0.1);
}

.dark-theme .auto-invest-toggle input:checked ~ span {
    color: #38bdf8;
}

/* ============================================================
   INVESTMENT CALCULATOR
   ============================================================ */
.invest-calc-card {
    background: #ffffff;
    border: 1.5px solid #e0e7ff;
    border-radius: 14px;
    margin-bottom: 20px;
    overflow: hidden;
    animation: neoFadeUp 0.3s ease-out;
}

.dark-theme .invest-calc-card {
    background: #1a2236;
    border-color: rgba(14, 165, 233,0.2);
}

.invest-calc-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #eef2ff 0%, #f0f9ff 100%);
    border-bottom: 1px solid #e0e7ff;
}

.dark-theme .invest-calc-header {
    background: linear-gradient(135deg, rgba(2, 132, 199,0.08) 0%, rgba(59,130,246,0.06) 100%);
    border-bottom-color: rgba(255,255,255,0.06);
}

.invest-calc-header i {
    font-size: 20px;
    color: #0284c7;
}

.invest-calc-header h4 {
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.dark-theme .invest-calc-header h4 {
    color: #e2e8f0 !important;
}

.invest-calc-body {
    padding: 20px;
}

.invest-calc-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 20px;
}

@media (max-width: 575px) {
    .invest-calc-summary { grid-template-columns: 1fr; }
}

.invest-calc-stat {
    text-align: center;
    padding: 16px;
    border-radius: 10px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.dark-theme .invest-calc-stat {
    background: rgba(255,255,255,0.03);
    border-color: rgba(255,255,255,0.06);
}

.invest-calc-stat-label {
    display: block;
    font-size: 12px;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 6px;
}

.invest-calc-stat-value {
    display: block;
    font-size: 22px;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 4px;
}

.dark-theme .invest-calc-stat-value {
    color: #e2e8f0 !important;
}

.invest-calc-stat-value.invest-calc-profit {
    color: #059669;
}

.dark-theme .invest-calc-stat-value.invest-calc-profit {
    color: #34d399 !important;
}

.invest-calc-stat-value.invest-calc-return {
    color: #0284c7;
}

.dark-theme .invest-calc-stat-value.invest-calc-return {
    color: #38bdf8 !important;
}

.invest-calc-stat-sub {
    display: block;
    font-size: 11px;
    color: #94a3b8;
}

/* Breakdown timeline */
.invest-calc-breakdown-title {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.dark-theme .invest-calc-breakdown-title {
    color: #94a3b8 !important;
}

.invest-calc-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #f1f5f9;
}

.dark-theme .invest-calc-row {
    border-bottom-color: rgba(255,255,255,0.04);
}

.invest-calc-row:last-child {
    border-bottom: none;
}

.invest-calc-row-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    flex-shrink: 0;
}

.dark-theme .invest-calc-row-num {
    background: rgba(255,255,255,0.06);
    color: #94a3b8;
}

.invest-calc-row-bar {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    border-radius: 3px;
    overflow: hidden;
}

.dark-theme .invest-calc-row-bar {
    background: rgba(255,255,255,0.06);
}

.invest-calc-row-fill {
    height: 100%;
    background: linear-gradient(90deg, #0284c7, #0369a1);
    border-radius: 3px;
    transition: width 0.4s ease-out;
}

.invest-calc-row-values {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 100px;
}

.invest-calc-row-profit {
    font-size: 13px;
    font-weight: 600;
    color: #059669;
}

.dark-theme .invest-calc-row-profit {
    color: #34d399;
}

.invest-calc-row-cum {
    font-size: 11px;
    color: #94a3b8;
}

.invest-calc-more {
    text-align: center;
    padding: 10px;
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
}

/* ============================================================
   PROFIT CHART
   ============================================================ */
.neo-chart-section {
    margin-bottom: 24px;
    animation: neoFadeUp 0.45s ease-out 0.12s both;
}

.neo-chart-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    overflow: hidden;
}

.dark-theme .neo-chart-card {
    background: #1a2236 !important;
    border-color: rgba(255,255,255,0.08) !important;
}

.neo-chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px 0;
}

.neo-chart-legend {
    display: flex;
    gap: 16px;
}

.neo-chart-legend-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.neo-chart-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.neo-chart-dot-profit {
    background: #059669;
}

.neo-chart-dot-deposit {
    background: #0284c7;
}

.neo-chart-body {
    padding: 16px 20px 20px;
    position: relative;
    height: 300px;
}

.neo-chart-body canvas {
    width: 100% !important;
}

@media (max-width: 575px) {
    .neo-chart-body {
        height: 220px;
    }
    .neo-chart-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
}

/* ============================================================
   ANNOUNCEMENTS
   ============================================================ */
.neo-announce-banner {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: 1px solid;
    animation: neoFadeUp 0.35s ease-out;
}
.neo-announce-info  { background: #eff6ff; border-color: #bfdbfe; }
.neo-announce-success { background: #ecfdf5; border-color: #a7f3d0; }
.neo-announce-warning { background: #fffbeb; border-color: #fde68a; }
.neo-announce-danger { background: #fef2f2; border-color: #fecaca; }
.neo-announce-icon { font-size: 22px; flex-shrink: 0; }
.neo-announce-info .neo-announce-icon { color: #2563eb; }
.neo-announce-success .neo-announce-icon { color: #059669; }
.neo-announce-warning .neo-announce-icon { color: #d97706; }
.neo-announce-danger .neo-announce-icon { color: #dc2626; }
.neo-announce-text { flex: 1; min-width: 0; }
.neo-announce-text strong { display: block; font-size: 14px; color: #1e293b; margin-bottom: 2px; }
.neo-announce-text p { font-size: 13px; color: #64748b; margin: 0; }
.neo-announce-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.neo-announce-btn {
    padding: 6px 16px; border-radius: 8px; font-size: 13px; font-weight: 600;
    background: #0284c7; color: #fff; text-decoration: none; white-space: nowrap;
}
.neo-announce-btn:hover { background: #0369a1; color: #fff; }
.neo-announce-close {
    width: 28px; height: 28px; border-radius: 50%; border: none; cursor: pointer;
    background: rgba(0,0,0,0.06); display: flex; align-items: center; justify-content: center;
    color: #64748b; font-size: 14px;
}
.neo-announce-close:hover { background: rgba(0,0,0,0.1); }
@media (max-width: 575px) {
    .neo-announce-banner { flex-wrap: wrap; }
    .neo-announce-actions { width: 100%; justify-content: flex-end; }
}

/* Announcements page cards */
.neo-announcement {
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 20px; border-left: 4px solid #0284c7;
}
.neo-announcement-info  { border-left-color: #2563eb; }
.neo-announcement-success { border-left-color: #059669; }
.neo-announcement-warning { border-left-color: #d97706; }
.neo-announcement-danger { border-left-color: #dc2626; }
.neo-announcement-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.neo-announcement-type-badge {
    padding: 3px 10px; border-radius: 12px; font-size: 11px; font-weight: 600;
}
.neo-type-info { background: #eff6ff; color: #2563eb; }
.neo-type-success { background: #ecfdf5; color: #059669; }
.neo-type-warning { background: #fffbeb; color: #d97706; }
.neo-type-danger { background: #fef2f2; color: #dc2626; }
.neo-announcement-date { font-size: 12px; color: #94a3b8; }
.neo-announcement-title { font-size: 16px; font-weight: 600; color: #1e293b; margin: 0 0 8px; }
.neo-announcement-content { font-size: 14px; color: #475569; line-height: 1.6; }
.neo-announcement-expires { font-size: 12px; color: #94a3b8; margin: 10px 0 0; font-style: italic; }

/* ============================================================
   PORTFOLIO
   ============================================================ */
.neo-portfolio-summary {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 20px;
}
@media (max-width: 575px) { .neo-portfolio-summary { grid-template-columns: 1fr; } }
.neo-portfolio-stat {
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 12px;
    padding: 20px; text-align: center;
}
.neo-portfolio-stat-label { display: block; font-size: 12px; color: #94a3b8; font-weight: 500; text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 6px; }
.neo-portfolio-stat-value { display: block; font-size: 24px; font-weight: 700; color: #1e293b; }
.neo-text-profit { color: #059669 !important; }

.neo-portfolio-card {
    background: #ffffff; border: 1px solid #e5e7eb; border-radius: 14px;
    margin-bottom: 16px; overflow: hidden;
}
.neo-portfolio-card-header {
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 20px; border-bottom: 1px solid #f1f5f9;
}
.neo-portfolio-plan { display: flex; align-items: center; gap: 12px; }
.neo-portfolio-plan-icon {
    width: 44px; height: 44px; border-radius: 10px; background: #eef2ff;
    color: #0284c7; display: flex; align-items: center; justify-content: center; font-size: 20px;
}
.neo-portfolio-plan-name { font-size: 15px; font-weight: 600; color: #1e293b; margin: 0 0 2px; }
.neo-portfolio-plan-date { font-size: 12px; color: #94a3b8; }
.neo-portfolio-amount { text-align: right; }
.neo-portfolio-invested { font-size: 20px; font-weight: 700; color: #1e293b; }

.neo-portfolio-card-body { padding: 18px 20px; }
.neo-portfolio-details {
    display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px;
}
@media (max-width: 991px) { .neo-portfolio-details { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px) { .neo-portfolio-details { grid-template-columns: repeat(2, 1fr); } }
.neo-portfolio-detail-label { display: block; font-size: 11px; color: #94a3b8; margin-bottom: 2px; }
.neo-portfolio-detail-value { display: block; font-size: 14px; font-weight: 600; color: #1e293b; }

.neo-portfolio-progress { margin-top: 4px; }
.neo-portfolio-progress-bar {
    height: 8px; background: #f1f5f9; border-radius: 4px; overflow: hidden; margin-bottom: 6px;
}
.neo-portfolio-progress-fill {
    height: 100%; background: linear-gradient(90deg, #0284c7, #0369a1); border-radius: 4px;
    transition: width 0.6s ease;
}
.neo-portfolio-progress-text { font-size: 12px; color: #64748b; font-weight: 500; }

/* ============================================================
   REFERRAL TREE
   ============================================================ */
.neo-ref-tree-section { margin-top: 20px; }
.neo-ref-stats {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 24px;
}
@media (max-width: 575px) { .neo-ref-stats { grid-template-columns: 1fr; } }
.neo-ref-stat-item {
    text-align: center; padding: 16px; background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px;
}
.neo-ref-stat-num { display: block; font-size: 22px; font-weight: 700; color: #1e293b; }
.neo-ref-stat-label { display: block; font-size: 12px; color: #94a3b8; margin-top: 2px; }

.neo-ref-tree { padding: 10px 0; }
.neo-ref-node {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px; border-radius: 10px;
    background: #f8fafc; border: 1px solid #e5e7eb; margin-bottom: 4px; flex-wrap: wrap;
}
.neo-ref-root { background: #eef2ff; border-color: #bae6fd; }
.neo-ref-avatar {
    width: 36px; height: 36px; border-radius: 50%; background: #0284c7; color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}
.neo-ref-l1 { background: #059669; }
.neo-ref-l2 { background: #d97706; width: 28px; height: 28px; font-size: 12px; }
.neo-ref-name { font-weight: 600; color: #1e293b; font-size: 14px; }
.neo-ref-tag {
    font-size: 11px; font-weight: 600; background: #0284c7; color: #fff;
    padding: 2px 8px; border-radius: 10px;
}
.neo-ref-date { font-size: 11px; color: #94a3b8; }
.neo-ref-sub-count { font-size: 11px; color: #059669; font-weight: 600; }

.neo-ref-branches { padding-left: 24px; border-left: 2px solid #e0e7ff; margin-left: 18px; }
.neo-ref-branch { margin-bottom: 8px; position: relative; }
.neo-ref-connector {
    position: absolute; left: -26px; top: 20px; width: 24px; height: 2px; background: #e0e7ff;
}
.neo-ref-sub-branches { padding-left: 20px; border-left: 2px solid #fde68a; margin-left: 18px; }
.neo-ref-sub-branch { margin-bottom: 4px; position: relative; }
.neo-ref-connector-sm {
    position: absolute; left: -22px; top: 16px; width: 20px; height: 2px; background: #fde68a;
}
.neo-ref-small .neo-ref-name { font-size: 13px; }
.neo-ref-small { padding: 6px 10px; }
.neo-ref-more, .neo-ref-more-root {
    font-size: 12px; color: #94a3b8; font-style: italic; padding: 6px 14px;
}

/* ============================================================
   AUTH PAGES — Login, Register, Forgot Password, etc.
   Neovest-style light background with blue accents
   ============================================================ */
.site-auth {
    background: #f0f2f5 !important;
    background-image:
        linear-gradient(135deg, rgba(2, 132, 199,0.03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(2, 132, 199,0.03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(2, 132, 199,0.03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(2, 132, 199,0.03) 25%, transparent 25%) !important;
    background-size: 60px 60px !important;
}

.site-auth .auth-content {
    background: #ffffff !important;
    border-radius: 20px !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.06) !important;
    padding: 48px 48px !important;
    border: 1px solid #e5e7eb;
}

@media (max-width: 575px) {
    .site-auth .auth-content { padding: 32px 20px !important; }
}

.site-auth .auth-content .title h2 {
    color: #1e293b !important;
    font-weight: 700 !important;
}

.site-auth .auth-content .title p {
    color: #64748b !important;
}

.site-auth .auth-content .site-auth-form .single-field .box-label {
    color: #1e293b !important;
    font-weight: 600 !important;
    font-size: 14px !important;
}

.site-auth .auth-content .site-auth-form .single-field .box-input {
    background: #f8fafc !important;
    border: 1.5px solid #e5e7eb !important;
    border-radius: 12px !important;
    height: 52px !important;
    font-size: 15px !important;
    color: #1e293b !important;
    transition: all 0.2s !important;
}

.site-auth .auth-content .site-auth-form .single-field .box-input:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199,0.1) !important;
    background: #ffffff !important;
}

.site-auth .auth-content .site-auth-form .single-field .box-input::placeholder {
    color: #94a3b8 !important;
}

/* Nice select in auth forms */
.site-auth .auth-content .site-auth-form .single-field .site-nice-select {
    border-radius: 12px !important;
    border: 1.5px solid #e5e7eb !important;
    background: #f8fafc !important;
    height: 52px !important;
}

.site-auth .auth-content .site-auth-form .single-field .site-nice-select .list {
    border-radius: 10px !important;
    box-shadow: 0 4px 16px rgba(0,0,0,0.08) !important;
}

/* Joint input groups */
.site-auth .auth-content .site-auth-form .single-field .joint-input {
    border-radius: 12px !important;
    border: 1.5px solid #e5e7eb !important;
    height: 52px !important;
    overflow: hidden;
}

.site-auth .auth-content .site-auth-form .single-field .joint-input .input-group-text {
    background: #f1f5f9 !important;
    color: #64748b !important;
}

/* Form check input (remember me) */
.site-auth .auth-content .site-auth-form .single-field .check-input {
    border-color: #cbd5e1 !important;
}

.site-auth .auth-content .site-auth-form .single-field .check-input:checked {
    background-color: #0284c7 !important;
    border-color: #0284c7 !important;
}

.site-auth .auth-content .site-auth-form .single-field .form-check-label {
    color: #475569 !important;
}

.site-auth .auth-content .site-auth-form .single-field .forget-pass-text a {
    color: #0284c7 !important;
}

/* Auth buttons — replace grad-btn with solid blue */
.site-auth .grad-btn,
.site-auth .site-btn.grad-btn {
    background: #0284c7 !important;
    border: none !important;
    border-radius: 12px !important;
    height: 52px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    transition: background 0.2s !important;
}

.site-auth .grad-btn:hover {
    background: #0369a1 !important;
}

/* Signup/login link text */
.site-auth .auth-content .singnup-text p {
    color: #64748b !important;
}

.site-auth .auth-content .singnup-text a {
    color: #0284c7 !important;
    font-weight: 600 !important;
}

/* Password eye icon */
.site-auth .auth-content .site-auth-form .single-field .password {
    position: relative;
}

/* Alert styling in auth */
.site-auth .alert {
    border-radius: 10px !important;
}

/* Also override the global grad-btn outside auth for sidebar logout etc */
.grad-btn {
    background: #0284c7 !important;
    border: none !important;
    color: #ffffff !important;
    border-radius: 8px !important;
}

.grad-btn:hover {
    background: #0369a1 !important;
    color: #ffffff !important;
}

/* Section style backgrounds (used by auth pages) */
.section-style.site-auth::before,
.section-style.site-auth::after {
    display: none !important;
}

/* ============================================================
   HOMEPAGE — Neovest Component Styles (nv-*)
   Complete homepage redesign with clean modern aesthetic
   ============================================================ */

/* --- HEADER --- */
.nv-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: #ffffff; border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 1px 6px rgba(0,0,0,0.04); padding: 0 0;
}
.nv-nav { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nv-logo img { height: 36px; }
.nv-menu { display: flex; list-style: none; margin: 0; padding: 0; gap: 8px; }
.nv-menu li a { display: block; padding: 8px 16px; color: #475569; font-weight: 500; font-size: 15px; text-decoration: none; border-radius: 8px; transition: all 0.2s; }
.nv-menu li a:hover, .nv-menu li a.active { color: #0284c7; background: #eef2ff; }
.nv-actions { display: flex; align-items: center; gap: 10px; }
.nv-lang-select { border: 1px solid #e5e7eb; border-radius: 8px; padding: 6px 12px; font-size: 14px; color: #475569; background: #f8fafc; outline: none; }
.nv-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 24px; border-radius: 10px; font-size: 14px; font-weight: 600; text-decoration: none; transition: all 0.2s; border: none; cursor: pointer; }
.nv-btn-primary { background: #0284c7; color: #fff; }
.nv-btn-primary:hover { background: #0369a1; color: #fff; }
.nv-btn-outline { background: transparent; border: 1.5px solid #e5e7eb; color: #475569; }
.nv-btn-outline:hover { border-color: #0284c7; color: #0284c7; }
.nv-btn-white { background: #fff; color: #0284c7; }
.nv-btn-white:hover { background: #f8fafc; color: #0369a1; }
.nv-btn-lg { padding: 14px 32px; font-size: 16px; border-radius: 12px; }
.nv-btn-block { display: block; width: 100%; text-align: center; }
.nv-toggle { display: none; background: none; border: 1px solid #e5e7eb; border-radius: 8px; padding: 8px; cursor: pointer; }
.nv-toggle span { display: block; width: 22px; height: 2px; background: #475569; margin: 4px 0; transition: all 0.2s; }
@media (max-width: 991px) {
    .nv-toggle { display: block; }
    .nv-collapse { position: absolute; top: 72px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e5e7eb; padding: 20px; box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
    .nv-menu { flex-direction: column; gap: 4px; margin-bottom: 16px; }
    .nv-actions { flex-direction: column; }
    .nv-actions .nv-btn { width: 100%; }
}

/* --- HERO --- */
.nv-hero { padding: 140px 0 80px; position: relative; background: #f8fafc; overflow: hidden; }
.nv-hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background-image: linear-gradient(135deg, rgba(2, 132, 199,0.04) 25%, transparent 25%), linear-gradient(225deg, rgba(2, 132, 199,0.04) 25%, transparent 25%), linear-gradient(315deg, rgba(2, 132, 199,0.04) 25%, transparent 25%), linear-gradient(45deg, rgba(2, 132, 199,0.04) 25%, transparent 25%);
    background-size: 60px 60px;
}
.nv-hero .container { position: relative; z-index: 1; }
.nv-hero-content h1 { font-size: 48px; font-weight: 800; color: #1e293b; line-height: 1.15; margin-bottom: 20px; }
@media (max-width: 767px) { .nv-hero-content h1 { font-size: 32px; } .nv-hero { padding: 110px 0 50px; } }
.nv-hero-content p { font-size: 17px; color: #64748b; line-height: 1.7; margin-bottom: 28px; max-width: 500px; }
.nv-hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.nv-hero-img { text-align: center; }
.nv-hero-img img { max-width: 100%; height: auto; max-height: 420px; }
@media (max-width: 991px) { .nv-hero-img { margin-top: 40px; } }

/* --- COUNTER --- */
.nv-counter { padding: 60px 0; background: #ffffff; border-top: 1px solid #f1f5f9; border-bottom: 1px solid #f1f5f9; }
.nv-counter-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
@media (max-width: 767px) { .nv-counter-grid { grid-template-columns: repeat(2, 1fr); } }
.nv-counter-item { text-align: center; padding: 20px; }
.nv-counter-item img { height: 48px; margin-bottom: 12px; }
.nv-counter-item h3 { font-size: 28px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.nv-counter-item p { font-size: 14px; color: #64748b; margin: 0; }

/* --- SECTIONS --- */
.nv-section { padding: 80px 0; }
.nv-section-alt { background: #f8fafc; }
.nv-section-header { text-align: center; max-width: 600px; margin: 0 auto 48px; }
.nv-section-tag { display: inline-block; font-size: 14px; font-weight: 600; color: #0284c7; background: #eef2ff; padding: 6px 16px; border-radius: 20px; margin-bottom: 12px; }
.nv-section-header h2 { font-size: 32px; font-weight: 700; color: #1e293b; line-height: 1.3; }
@media (max-width: 767px) { .nv-section-header h2 { font-size: 24px; } .nv-section { padding: 50px 0; } }
.nv-text-profit { color: #059669 !important; }
.nv-text-primary { color: #0284c7 !important; }

/* --- FEATURES (Why Choose Us) --- */
.nv-features-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
@media (max-width: 767px) { .nv-features-grid { grid-template-columns: 1fr; } }
.nv-feature-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px; transition: all 0.25s; }
.nv-feature-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); transform: translateY(-3px); }
.nv-feature-icon { width: 56px; height: 56px; border-radius: 14px; background: #eef2ff; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.nv-feature-icon img { height: 28px; }
.nv-feature-icon i { font-size: 24px; color: #0284c7; }
.nv-feature-card h4 { font-size: 18px; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.nv-feature-card p { font-size: 14px; color: #64748b; line-height: 1.7; margin: 0; }

/* --- STEPS (How It Works) --- */
.nv-steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 991px) { .nv-steps-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .nv-steps-grid { grid-template-columns: 1fr; } }
.nv-step-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 28px; text-align: center; position: relative; transition: all 0.25s; }
.nv-step-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.nv-step-num { position: absolute; top: 16px; right: 20px; font-size: 36px; font-weight: 800; color: rgba(2, 132, 199,0.08); }
.nv-step-icon { margin-bottom: 16px; }
.nv-step-icon img { height: 52px; }
.nv-step-card h4 { font-size: 16px; font-weight: 600; color: #1e293b; margin-bottom: 8px; }
.nv-step-card p { font-size: 13px; color: #64748b; margin: 0; line-height: 1.6; }

/* --- PLAN CARDS --- */
.nv-plans-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1199px) { .nv-plans-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px) { .nv-plans-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .nv-plans-grid { grid-template-columns: 1fr; } }
.nv-plan-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 18px; padding: 28px; transition: all 0.3s; position: relative; overflow: hidden; }
.nv-plan-card:hover { box-shadow: 0 12px 32px rgba(0,0,0,0.08); transform: translateY(-4px); }
.nv-plan-featured { border-color: #0284c7; box-shadow: 0 4px 16px rgba(2, 132, 199,0.12); }
.nv-plan-badge { position: absolute; top: 16px; right: -28px; background: #0284c7; color: #fff; font-size: 11px; font-weight: 600; padding: 4px 36px; transform: rotate(45deg); }
.nv-plan-header { text-align: center; padding-bottom: 20px; margin-bottom: 20px; border-bottom: 1px solid #f1f5f9; }
.nv-plan-icon { height: 48px; margin-bottom: 12px; }
.nv-plan-header h3 { font-size: 18px; font-weight: 600; color: #1e293b; margin-bottom: 10px; }
.nv-plan-price { display: block; font-size: 28px; font-weight: 700; color: #0284c7; }
.nv-plan-period { display: block; font-size: 14px; color: #64748b; margin-top: 2px; }
.nv-plan-features { list-style: none; padding: 0; margin: 0 0 20px; }
.nv-plan-features li { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid #f8fafc; font-size: 14px; }
.nv-plan-features li span { color: #64748b; }
.nv-plan-features li strong { color: #1e293b; }

/* --- LIVE INVESTORS/WITHDRAWS --- */
.nv-live-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 24px; height: 100%; }
.nv-live-card h4 { font-size: 18px; font-weight: 600; color: #1e293b; margin-bottom: 20px; }
.nv-live-item { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid #f1f5f9; }
.nv-live-item:last-child { border-bottom: none; }
.nv-live-avatar { width: 40px; height: 40px; border-radius: 50%; background: #eef2ff; color: #0284c7; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.nv-avatar-withdraw { background: #fef2f2; color: #dc2626; }
.nv-live-info { flex: 1; min-width: 0; }
.nv-live-info strong { display: block; font-size: 14px; color: #1e293b; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nv-live-info span { font-size: 12px; color: #94a3b8; }
.nv-live-badge { font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 12px; flex-shrink: 0; }
.nv-badge-success { background: #ecfdf5; color: #059669; }
.nv-badge-warning { background: #fffbeb; color: #d97706; }
.nv-badge-danger { background: #fef2f2; color: #dc2626; }
.nv-live-amount { text-align: right; flex-shrink: 0; }
.nv-live-amount strong { font-size: 14px; color: #1e293b; }
.nv-amount-profit { display: block; font-size: 12px; color: #059669; font-weight: 600; }

/* --- FAQ --- */
.nv-accordion-item { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; margin-bottom: 10px; overflow: hidden; }
.nv-accordion-btn { display: block; width: 100%; text-align: left; padding: 18px 24px; font-size: 15px; font-weight: 600; color: #1e293b; background: transparent; border: none; cursor: pointer; transition: all 0.2s; }
.nv-accordion-btn:not(.collapsed) { color: #0284c7; background: #f8fafc; }
.nv-accordion-body { padding: 0 24px 18px; font-size: 14px; color: #64748b; line-height: 1.7; }

/* --- BLOG --- */
.nv-blog-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; overflow: hidden; transition: all 0.25s; height: 100%; }
.nv-blog-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.06); }
.nv-blog-img img { width: 100%; height: 200px; object-fit: cover; }
.nv-blog-body { padding: 20px; }
.nv-blog-date { font-size: 12px; color: #94a3b8; }
.nv-blog-body h4 { margin: 8px 0; }
.nv-blog-body h4 a { font-size: 16px; font-weight: 600; color: #1e293b; text-decoration: none; }
.nv-blog-body h4 a:hover { color: #0284c7; }
.nv-blog-link { font-size: 14px; font-weight: 600; color: #0284c7; text-decoration: none; }

/* --- CTA --- */
.nv-cta { padding: 80px 0; }
.nv-cta-inner { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); border-radius: 24px; padding: 60px; text-align: center; }
@media (max-width: 767px) { .nv-cta-inner { padding: 40px 24px; } }
.nv-cta-inner h2 { font-size: 32px; font-weight: 700; color: #fff; margin-bottom: 12px; }
.nv-cta-inner p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 28px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* --- NEWSLETTER --- */
.nv-newsletter { background: #f8fafc; }
.nv-newsletter h3 { font-size: 24px; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.nv-newsletter p { color: #64748b; margin-bottom: 20px; }
.nv-newsletter-form { display: flex; gap: 0; max-width: 440px; margin: 0 auto; }
.nv-newsletter-form input { flex: 1; height: 50px; border: 1.5px solid #e5e7eb; border-right: none; border-radius: 12px 0 0 12px; padding: 0 18px; font-size: 15px; outline: none; }
.nv-newsletter-form input:focus { border-color: #0284c7; }
.nv-newsletter-form button { height: 50px; padding: 0 28px; background: #0284c7; color: #fff; border: none; border-radius: 0 12px 12px 0; font-weight: 600; font-size: 15px; cursor: pointer; }
.nv-newsletter-form button:hover { background: #0369a1; }

/* --- GATEWAYS --- */
.nv-gateways { padding: 60px 0; background: #fff; }
.nv-gateway-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; align-items: center; }
.nv-gateway-item img { height: 36px; filter: grayscale(1) opacity(0.5); transition: all 0.2s; }
.nv-gateway-item img:hover { filter: none; }

/* --- CALCULATOR --- */
.nv-calc-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 16px; padding: 32px; }
.nv-calc-card label { font-size: 14px; font-weight: 600; color: #1e293b; margin-bottom: 6px; display: block; }
.nv-calc-card .form-select, .nv-calc-card .form-control { border-radius: 10px; border: 1.5px solid #e5e7eb; height: 48px; }
.nv-calc-card .form-select:focus, .nv-calc-card .form-control:focus { border-color: #0284c7; box-shadow: 0 0 0 3px rgba(2, 132, 199,0.1); }
.nv-calc-result { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 24px; padding-top: 24px; border-top: 1px solid #f1f5f9; }
.nv-calc-result-item { text-align: center; }
.nv-calc-result-item span { display: block; font-size: 12px; color: #94a3b8; margin-bottom: 4px; }
.nv-calc-result-item strong { font-size: 22px; font-weight: 700; color: #1e293b; }

/* --- FOOTER --- */
.nv-footer { background: #0f172a; padding: 60px 0 0; }
.nv-footer-logo { height: 32px; margin-bottom: 16px; filter: brightness(10); }
.nv-footer-about p { color: rgba(255,255,255,0.6); font-size: 14px; line-height: 1.7; }
.nv-footer-socials { display: flex; gap: 10px; margin-top: 16px; }
.nv-footer-socials a { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.08); color: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.2s; }
.nv-footer-socials a:hover { background: #0284c7; color: #fff; }
.nv-footer h5 { font-size: 16px; font-weight: 600; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.nv-footer-links { list-style: none; padding: 0; margin: 0; }
.nv-footer-links li { margin-bottom: 8px; }
.nv-footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.nv-footer-links a:hover { color: #38bdf8; }
.nv-footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; margin-top: 40px; }
.nv-footer-bottom p { color: rgba(255,255,255,0.4); font-size: 13px; text-align: center; margin: 0; }

/* Hide old dark-theme homepage elements that might leak through */
.dark-theme .slider-thumb,
.dark-theme .bat-left,
.dark-theme .bat-right { display: none !important; }
