/* Dark mode overrides for restyled client pages */
body.dark .deposit-card {
    background: #181818 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid #252525 !important;
}
body.dark .deposit-card > .card-header,
body.dark .card-header.card-product {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}
body.dark .deposit-card > .card-header b,
body.dark .deposit-card > .card-header .card-title,
body.dark .card-header.card-product .card-title {
    color: #fff !important;
}
body.dark .deposit-card .card-body {
    background: #181818 !important;
    color: #c7cbd3;
}

body.dark .deposit-warning-box,
body.dark .home-notice-box {
    background: rgba(251, 146, 60, 0.12) !important;
    border-color: rgba(251, 146, 60, 0.35) !important;
    color: #fdba74 !important;
}

body.dark .deposit-list-table thead th,
body.dark #showProduct .deposit-card .deposit-list-table thead th {
    background: #222 !important;
    border-bottom-color: #2f2f2f !important;
    color: #aeb4bf !important;
}
body.dark .deposit-list-table td,
body.dark #showProduct table td {
    background: #181818 !important;
    border-top-color: #2a2a2a !important;
    color: #c7cbd3 !important;
}
body.dark #showProduct table.table-striped tbody tr:nth-of-type(odd) td,
body.dark .deposit-list-table tbody tr:nth-of-type(odd) td {
    background: #1c1c1c !important;
}
body.dark #showProduct table tbody tr:hover td,
body.dark .deposit-list-table tbody tr:hover td,
body.dark .home-feed-table tr:hover td {
    background: #252538 !important;
}

body.dark .btn-deposit-outline {
    background: #222 !important;
    border-color: rgba(94, 93, 240, 0.55) !important;
    color: #a5b4fc !important;
}
body.dark .btn-deposit-outline:hover {
    background: rgba(94, 93, 240, 0.2) !important;
    color: #c7d2fe !important;
}
body.dark .btn-deposit-soft {
    background: rgba(251, 146, 60, 0.12) !important;
    border-color: rgba(251, 146, 60, 0.35) !important;
    color: #fdba74 !important;
}
body.dark .btn-deposit-soft:hover {
    background: rgba(251, 146, 60, 0.22) !important;
    color: #fed7aa !important;
}
body.dark .btn-deposit-danger {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #fca5a5 !important;
}
body.dark .btn-deposit-danger:hover {
    background: rgba(239, 68, 68, 0.22) !important;
    color: #fecaca !important;
}

/* Home */
body.dark .home-alert {
    background: #181818 !important;
    color: #c7cbd3 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
body.dark .home-alert .iq-alert-text,
body.dark .home-alert .iq-alert-text p,
body.dark .home-alert .iq-alert-text li {
    color: #c7cbd3 !important;
}
body.dark .home-alert .iq-alert-text a {
    color: #a5b4fc !important;
}
body.dark .home-alert .home-alert-toggle {
    background: #222 !important;
    border-color: #333 !important;
    color: #a5b4fc !important;
}
body.dark .home-alert .home-alert-toggle:hover {
    background: #2a2a35 !important;
    color: #c7d2fe !important;
}
body.dark .home-top-html {
    background: #181818 !important;
    color: #c7cbd3 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}
body.dark .home-top-html a { color: #a5b4fc; }
body.dark .home-shop-wrap {
    background: #181818 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
    border: 1px solid #252525;
}
body.dark .search-result-hint {
    color: #8f9fbc !important;
}
body.dark .search-result-hint b {
    color: #a5b4fc !important;
}
body.dark .home-shop-wrap .border-top-table {
    border-top-color: #2a2a2a !important;
}
body.dark .home-suggest-card {
    background: #181818 !important;
    border: 1px solid #252525 !important;
}
body.dark .home-suggest-card a { color: #a5b4fc; }
body.dark .home-feed-body,
body.dark .home-feed-table td {
    color: #c7cbd3;
}
body.dark .home-feed-badge {
    background: rgba(94, 93, 240, 0.22) !important;
    color: #c7d2fe !important;
}

/* Modals shared */
body.dark #modalBuy .modal-content,
body.dark #notice_popup .modal-content,
body.dark #modal-default .modal-content,
body.dark #modalCryptoInvoice .modal-content {
    background: #181818 !important;
    border: 1px solid #252525 !important;
}
body.dark #modalBuy .modal-body,
body.dark #modal-default .modal-body,
body.dark #modalCryptoInvoice .modal-body {
    background: #1c1c1c !important;
    color: #c7cbd3 !important;
}
body.dark #modalBuy .modal-footer,
body.dark #notice_popup .modal-footer,
body.dark #modal-default .modal-footer,
body.dark #modalCryptoInvoice .modal-footer {
    background: #181818 !important;
    border-top-color: #2a2a2a !important;
}
body.dark #modalBuy .form-control,
body.dark #modalCryptoInvoice .form-control,
body.dark #modal-default .form-control {
    background: #222 !important;
    border-color: #333 !important;
    color: #eff0f1 !important;
}
body.dark #modalBuy label,
body.dark #modalCryptoInvoice label {
    color: #aeb4bf !important;
}

/* Crypto page extras */
body.dark .crypto-info-box,
body.dark .crypto-amount-box,
body.dark .crypto-copy-box,
body.dark .crypto-step,
body.dark .crypto-pay-card,
body.dark .crypto-qr-wrap,
body.dark .crypto-vnd-box,
body.dark .crypto-meta-item {
    background: #222 !important;
    border-color: #333 !important;
    color: #c7cbd3 !important;
}
body.dark .crypto-pay-card {
    background: linear-gradient(180deg, #1c1c1c 0%, #222 100%) !important;
}
body.dark .crypto-note-box {
    background: rgba(251, 146, 60, 0.12) !important;
    border-color: rgba(251, 146, 60, 0.35) !important;
    color: #fdba74 !important;
}
body.dark .crypto-warn-box {
    background: rgba(234, 179, 8, 0.12) !important;
    border-color: rgba(234, 179, 8, 0.35) !important;
    color: #fcd34d !important;
}
body.dark .crypto-promo-badge {
    background: rgba(239, 68, 68, 0.15) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #fca5a5 !important;
}
body.dark .crypto-pay-badge.trc20 {
    background: rgba(234, 179, 8, 0.18) !important;
    color: #fcd34d !important;
}
body.dark .crypto-pay-badge.payid {
    background: rgba(59, 130, 246, 0.18) !important;
    color: #93c5fd !important;
}
body.dark .crypto-pay-badge.bep20 {
    background: rgba(249, 115, 22, 0.18) !important;
    color: #fdba74 !important;
}
body.dark .crypto-method-option-body {
    background: linear-gradient(180deg, #1c1c1c 0%, #222 100%) !important;
    border-color: #333 !important;
    color: #c7cbd3 !important;
}
body.dark .crypto-method-option input:checked + .crypto-method-option-body {
    border-color: #818cf8 !important;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.16) !important;
    background: linear-gradient(180deg, #1e1e2a 0%, #262636 100%) !important;
}
body.dark .crypto-method-option-title {
    color: #e2e8f0 !important;
}
body.dark .crypto-method-hint {
    color: #8f9fbc !important;
}
body.dark .crypto-method-available {
    background: rgba(16, 185, 129, 0.14) !important;
    color: #6ee7b7 !important;
}
body.dark .crypto-method-option .crypto-network-icon {
    border: 1px solid #333 !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.35) !important;
}
body.dark .crypto-suspended-box {
    background: rgba(239, 68, 68, 0.12) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
    color: #fca5a5 !important;
}
body.dark .crypto-pay-icon,
body.dark .crypto-info-icon {
    background: #181818 !important;
    border-color: #333 !important;
}
body.dark .crypto-pay-icon-badge,
body.dark .crypto-info-icon-network {
    border-color: #222 !important;
    background: #181818 !important;
}
body.dark .crypto-info-label-with-icon {
    color: #e2e8f0 !important;
}
body.dark .crypto-pay-amount-value .crypto-amount-unit {
    color: #4ade80 !important;
}
body.dark .crypto-status-waiting {
    background: rgba(94, 93, 240, 0.15) !important;
    color: #c7d2fe !important;
}
body.dark .crypto-copy-btn {
    background: #5e5df0 !important;
    color: #fff !important;
}

/* Contact */
body.dark .deposit-contact-body {
    color: #c7cbd3 !important;
}
body.dark .deposit-contact-body a { color: #a5b4fc !important; }
body.dark .deposit-contact-body h1,
body.dark .deposit-contact-body h2,
body.dark .deposit-contact-body h3,
body.dark .deposit-contact-body h4 {
    color: #eff0f1 !important;
}
body.dark .deposit-contact-body table {
    border-color: #2a2a2a !important;
}
body.dark .deposit-contact-body table th,
body.dark .deposit-contact-body table td {
    border-top-color: #2a2a2a !important;
    color: #c7cbd3;
}
body.dark .deposit-contact-body table tr:first-child th,
body.dark .deposit-contact-body table tr:first-child td {
    background: #222 !important;
}

/* Product cards in AJAX list */
body.dark #showProduct .basic-drop-shadow,
body.dark #showProduct .shadow-showcase,
body.dark #showProduct .custom-block,
body.dark #showProduct a.card.action {
    background: #1c1c1c !important;
    border-color: #2a2a2a !important;
    color: #c7cbd3 !important;
}
body.dark #showProduct .text-muted {
    color: #8f9fbc !important;
}

/* Sidebar dark: keep branded gradient instead of flat gray */
body.dark .iq-sidebar {
    background:
        radial-gradient(120% 80% at 0% 0%, rgba(255, 255, 255, 0.1) 0%, transparent 55%),
        radial-gradient(90% 60% at 100% 100%, rgba(0, 0, 0, 0.28) 0%, transparent 50%),
        linear-gradient(168deg, #2e2cc4 0%, #4b4ad8 42%, #5e5df0 100%) !important;
    box-shadow: 10px 0 32px rgba(0, 0, 0, 0.45) !important;
    border-right: 1px solid rgba(255, 255, 255, 0.06) !important;
}
body.dark .iq-sidebar .sidebar-balance-box {
    background: linear-gradient(145deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.16) 100%) !important;
    border-color: rgba(255, 255, 255, 0.14) !important;
}
body.dark .iq-sidebar .side-menu li.sidebar-layout > a.svg-icon > i {
    background: rgba(0, 0, 0, 0.22);
    border-color: rgba(255, 255, 255, 0.1);
}
body.dark .iq-sidebar .side-menu li.sidebar-layout > a.svg-icon:hover {
    background: rgba(0, 0, 0, 0.18) !important;
}
body.dark .iq-sidebar .side-menu li.sidebar-layout > a.svg-icon:hover > i {
    background: rgba(255, 255, 255, 0.16);
}
body.dark .iq-sidebar .side-menu li.sidebar-layout.active > a.svg-icon,
body.dark .iq-sidebar .side-menu li.active > a.svg-icon {
    background: rgba(0, 0, 0, 0.28) !important;
    border-color: rgba(255, 255, 255, 0.16);
}
body.dark .iq-sidebar .side-menu li.sidebar-layout.active > a.svg-icon > i,
body.dark .iq-sidebar .side-menu li.active > a.svg-icon > i,
body.dark .iq-sidebar .side-menu .submenu li.active > a.svg-icon > i {
    background: #fff;
    color: #4b4ad8;
    border-color: transparent;
}
body.dark .iq-sidebar .side-menu .submenu {
    background: rgba(0, 0, 0, 0.22) !important;
    border-color: rgba(255, 255, 255, 0.08);
}
body.dark .iq-sidebar .side-menu .submenu li > a.svg-icon img {
    background: rgba(255, 255, 255, 0.1);
}

/* Recharge / generic soft boxes that use light bg inline classes */
body.dark .content-page .card.deposit-card .form-control,
body.dark .content-page .deposit-card select.form-control,
body.dark .content-page .deposit-card input.form-control,
body.dark .content-page .deposit-card textarea.form-control {
    background: #222 !important;
    border-color: #333 !important;
    color: #eff0f1 !important;
}
body.dark .content-page .deposit-card .form-control::placeholder {
    color: #7c8494 !important;
}

/* Crypto detailed */
body.dark .crypto-deposit-panel-side {
    background: #222 !important;
    border-color: #333 !important;
}
body.dark .crypto-deposit-panel-side .crypto-deposit-guide {
    background: #181818 !important;
    border-color: #2a2a2a !important;
}
body.dark .crypto-deposit-rate-strip {
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.12) 0%, rgba(123, 108, 246, 0.16) 100%) !important;
    border-color: rgba(129, 140, 248, 0.22) !important;
}
body.dark .crypto-deposit-rate-label {
    color: #94a3b8 !important;
}
body.dark .crypto-deposit-rate-value {
    color: #a5b4fc !important;
}
body.dark .crypto-deposit-guide {
    background: #222 !important;
    border-color: #333 !important;
}
body.dark .crypto-deposit-guide-title {
    color: #94a3b8 !important;
}
body.dark .crypto-deposit-guide-list {
    color: #cbd5e1 !important;
}
body.dark .crypto-deposit-guide-icon-wallet {
    background: rgba(129, 140, 248, 0.16) !important;
    color: #a5b4fc !important;
}
body.dark .crypto-deposit-guide-icon-invoice {
    background: rgba(74, 222, 128, 0.12) !important;
    color: #4ade80 !important;
}
body.dark .crypto-deposit-guide-icon-time {
    background: rgba(251, 191, 36, 0.14) !important;
    color: #fbbf24 !important;
}
body.dark .crypto-deposit-guide-text b {
    color: #a5b4fc !important;
}
body.dark .crypto-deposit-amount-group label,
body.dark .crypto-deposit-method-group label {
    color: #e2e8f0 !important;
}
body.dark .crypto-amount-field-unit {
    color: #4ade80 !important;
}
body.dark .crypto-info-card {
    background: #181818 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid #252525 !important;
}
body.dark #modalCryptoInvoice .modal-body {
    background: linear-gradient(180deg, #1a1a1a 0%, #141414 100%) !important;
}
body.dark #modalCryptoInvoice .modal-footer {
    background: #181818 !important;
    border-top-color: #2a2a2a !important;
}
body.dark .crypto-invoice-status-bar,
body.dark .crypto-invoice-hero-main,
body.dark .crypto-invoice-meta-item {
    background: #222 !important;
    border-color: #333 !important;
}
body.dark .crypto-invoice-hero-timer {
    background: linear-gradient(180deg, #222 0%, #2a1818 100%) !important;
    border-color: rgba(239, 68, 68, 0.35) !important;
}
body.dark .crypto-invoice-timer-ring {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #f87171 !important;
}
body.dark .crypto-invoice-timer-value {
    color: #f87171 !important;
}
body.dark .crypto-invoice-hero-amount-value,
body.dark .crypto-invoice-meta-value {
    color: #eff0f1 !important;
}
body.dark .crypto-invoice-hero-amount-unit,
body.dark .crypto-invoice-hero-receive strong {
    color: #4ade80 !important;
}
body.dark .crypto-invoice-meta-method {
    color: #a5b4fc !important;
}
body.dark .crypto-invoice-copy-chip {
    background: rgba(94, 93, 240, 0.14) !important;
    border-color: rgba(94, 93, 240, 0.35) !important;
    color: #c7d2fe !important;
}
body.dark .crypto-invoice-copy-chip:hover {
    background: rgba(94, 93, 240, 0.22) !important;
}
body.dark .crypto-pay-subtitle,
body.dark .crypto-invoice-status-label,
body.dark .crypto-invoice-status-hint,
body.dark .crypto-invoice-hero-label,
body.dark .crypto-invoice-timer-label,
body.dark .crypto-invoice-meta-label,
body.dark .crypto-pay-address-label {
    color: #8f9fbc !important;
}
body.dark .crypto-pay-card-head {
    border-bottom-color: #333 !important;
}
body.dark .crypto-pay-steps li:after {
    background: #333 !important;
}
body.dark .crypto-warning-box i {
    color: #fdba74 !important;
}

body.dark .crypto-history-method-label {
    color: #e2e8f0 !important;
}

body.dark .crypto-info-item,
body.dark .crypto-summary-box,
body.dark .crypto-pay-card,
body.dark .crypto-qr-wrap,
body.dark .crypto-rate-box,
body.dark .deposit-info-item,
body.dark .deposit-bank-pick,
body.dark .deposit-syntax-card,
body.dark .deposit-qr-wrap,
body.dark .deposit-summary-box,
body.dark .deposit-list-filter {
    background: #222 !important;
    border-color: #333 !important;
    color: #c7cbd3 !important;
}
body.dark .crypto-info-label,
body.dark .crypto-summary-box .label,
body.dark .deposit-info-label,
body.dark .crypto-rate-note,
body.dark .crypto-waiting-hint,
body.dark .crypto-note-list,
body.dark .deposit-auto-hint {
    color: #8f9fbc !important;
}
body.dark .crypto-copy-field input,
body.dark .deposit-copy-field input,
body.dark .deposit-copy-field .form-control {
    background: #181818 !important;
    border-color: #333 !important;
    color: #eff0f1 !important;
}
body.dark .crypto-warning-box,
body.dark .crypto-note-box {
    background: rgba(251, 146, 60, 0.12) !important;
    border-color: rgba(251, 146, 60, 0.35) !important;
    color: #fdba74 !important;
}
body.dark .crypto-waiting-badge {
    background: rgba(234, 179, 8, 0.15) !important;
    color: #fcd34d !important;
}
body.dark .crypto-receive-line,
body.dark .crypto-summary-box .value,
body.dark .crypto-pay-title {
    color: #eff0f1 !important;
}
body.dark .crypto-pay-steps li {
    color: #c7cbd3 !important;
}
body.dark .crypto-pay-steps li::before,
body.dark .crypto-pay-steps .step-num {
    background: #5e5df0 !important;
    color: #fff !important;
}
body.dark #exampleModal .modal-content {
    background: #181818 !important;
    border: 1px solid #252525 !important;
}
body.dark #exampleModal .modal-body {
    background: #1c1c1c !important;
    color: #c7cbd3 !important;
}
body.dark #exampleModal .modal-footer {
    background: #181818 !important;
    border-top-color: #2a2a2a !important;
}
body.dark #exampleModal .form-control {
    background: #222 !important;
    border-color: #333 !important;
    color: #eff0f1 !important;
}
body.dark .deposit-summary {
    color: #c7cbd3;
}
body.dark .deposit-promo-table thead th {
    background: #222 !important;
    color: #aeb4bf !important;
    border-color: #2f2f2f !important;
}
body.dark .deposit-promo-table td {
    background: #181818 !important;
    color: #c7cbd3 !important;
    border-color: #2a2a2a !important;
}
body.dark .deposit-promo-table tbody tr:nth-of-type(odd) td {
    background: #1c1c1c !important;
}
body.dark .recharge-feature-card {
    border-color: #2b2b35 !important;
    background: #181818 !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.32) !important;
}
body.dark .recharge-invoice-body,
body.dark .recharge-promo-body {
    background: linear-gradient(180deg, #1b1b1b 0%, #181818 100%) !important;
}
body.dark .recharge-invoice-card .deposit-bank-pick {
    background: #222 !important;
    border-color: #333 !important;
    color: #cbd5e1 !important;
}
body.dark .recharge-invoice-card .deposit-bank-pick:hover,
body.dark .recharge-invoice-card .deposit-bank-pick:focus-visible {
    border-color: rgba(129, 140, 248, 0.52) !important;
    background: #252532 !important;
}
body.dark .deposit-bank-logo--generic {
    background: linear-gradient(145deg, #2a2a3d 0%, #232334 100%) !important;
    color: #a5b4fc !important;
    box-shadow: inset 0 0 0 1px rgba(165, 180, 252, 0.16) !important;
}
body.dark .deposit-bank-name {
    color: #e2e8f0 !important;
}
body.dark .deposit-bank-action {
    color: #a5b4fc !important;
}
body.dark .deposit-bank-action--cta {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    box-shadow: 0 10px 22px rgba(94, 93, 240, 0.34) !important;
}
body.dark .deposit-bank-pick:hover .deposit-bank-action--cta,
body.dark .deposit-bank-pick:focus-visible .deposit-bank-action--cta {
    filter: brightness(1.06);
}
body.dark .recharge-promo-tier {
    background: #222 !important;
    border-color: #333 !important;
}
body.dark .recharge-promo-tier:hover {
    border-color: rgba(167, 139, 250, 0.42) !important;
    box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3) !important;
}
body.dark .recharge-promo-rank {
    background: rgba(139, 92, 246, 0.18) !important;
    color: #c4b5fd !important;
}
body.dark .recharge-promo-label {
    color: #7f8da6 !important;
}
body.dark .recharge-promo-main strong {
    color: #e2e8f0 !important;
}
body.dark .recharge-promo-bonus {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #86efac !important;
}
body.dark .recharge-promo-note {
    background: rgba(139, 92, 246, 0.12) !important;
    color: #c4b5fd !important;
}
body.dark .invoice-page-notice-icon {
    background: rgba(249, 115, 22, 0.14) !important;
    color: #fb923c !important;
}
body.dark .invoice-history-card,
body.dark .invoice-list-card,
body.dark .invoice-table-wrap {
    border-color: #2b2b35 !important;
    background: #181818 !important;
}
body.dark .invoice-history-body {
    background: linear-gradient(180deg, #1b1b1b 0%, #181818 100%) !important;
}
body.dark .invoice-row-number,
body.dark .invoice-trans-icon,
body.dark .invoice-empty-icon {
    background: rgba(99, 102, 241, 0.16) !important;
    color: #a5b4fc !important;
}
body.dark .invoice-payment-method {
    background: #242424 !important;
    color: #d1d5db !important;
}
body.dark .invoice-status-pill.is-waiting {
    background: rgba(249, 115, 22, 0.14) !important;
    color: #fdba74 !important;
}
body.dark .invoice-status-pill.is-success {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #86efac !important;
}
body.dark .invoice-status-pill.is-failed {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #fca5a5 !important;
}
body.dark .invoice-status-pill.is-neutral {
    background: #292929 !important;
    color: #cbd5e1 !important;
}
body.dark .invoice-date,
body.dark .invoice-payment-method i,
body.dark .invoice-date i {
    color: #9ca3af !important;
}
body.dark .invoice-view-btn {
    border-color: #41415a !important;
    background: #29293d !important;
    color: #c7d2fe !important;
}
body.dark .invoice-view-btn:hover,
body.dark .invoice-view-btn:focus {
    border-color: #6366f1 !important;
    background: #343452 !important;
}
body.dark .invoice-empty-state strong {
    color: #e2e8f0 !important;
}
body.dark .invoice-list-card .crypto-history-filter {
    border-color: #30303a !important;
    background: #202020 !important;
}
body.dark .invoice-list-meta {
    color: #9ca3af !important;
}
body.dark .invoice-list-card .crypto-history-filter .form-control,
body.dark .invoice-list-card .dataTables_wrapper .dataTables_filter input,
body.dark .invoice-list-card .dataTables_wrapper .dataTables_length select {
    border-color: #3a3a44 !important;
    background: #242424 !important;
    color: #e2e8f0 !important;
}
body.dark .invoice-list-card .dataTables_wrapper .dataTables_length label,
body.dark .invoice-list-card .dataTables_wrapper .dataTables_filter label,
body.dark .invoice-list-card .dataTables_wrapper .dataTables_info {
    color: #9ca3af !important;
}
body.dark .invoice-list-card .page-item .page-link,
body.dark .invoice-list-pagination .page-item .page-link {
    border-color: #373742 !important;
    background: #242424 !important;
    color: #cbd5e1 !important;
}
body.dark .invoice-list-card .page-item:not(.disabled) .page-link:hover,
body.dark .invoice-list-pagination .page-item:not(.disabled) .page-link:hover {
    border-color: #6366f1 !important;
    background: #303047 !important;
    color: #c7d2fe !important;
}
body.dark .invoice-list-card .page-item.active .page-link,
body.dark .invoice-list-pagination .page-item.active .page-link {
    border-color: transparent !important;
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
}
body.dark .invoice-list-card .page-item.disabled .page-link,
body.dark .invoice-list-pagination .page-item.disabled .page-link {
    background: #1e1e1e !important;
    color: #5f6672 !important;
}
body.dark .crypto-history-trans {
    color: #a5b4fc !important;
}
body.dark .recharge-promo-note i {
    color: #a78bfa !important;
}
body.dark .recharge-empty-state {
    color: #7f8da6 !important;
}

/* Force override common inline light backgrounds on restyled pages */
body.dark .content-page input.form-control[style*="background:#fff"],
body.dark .content-page input.form-control[style*="background: #fff"] {
    background: #222 !important;
    border-color: #333 !important;
    color: #eff0f1 !important;
}
body.dark .home-shop-wrap .nav-pills .nav-link,
body.dark .home-category-pills .nav-link {
    background: linear-gradient(135deg, #5e5df0 0%, #7b6cf6 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.32);
}
body.dark .home-shop-wrap .nav-pills .nav-link .home-cat-icon,
body.dark .home-category-pills .nav-link .home-cat-icon {
    background: rgba(255, 255, 255, 0.22);
    border-color: rgba(255, 255, 255, 0.16);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12);
}
body.dark .home-shop-wrap .nav-pills .nav-link:hover,
body.dark .home-category-pills .nav-link:hover {
    background: linear-gradient(135deg, #4b4ad8 0%, #6a5de8 100%) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.4);
}
body.dark .home-shop-wrap .nav-pills .nav-link.active,
body.dark .home-category-pills .nav-link.active {
    background: linear-gradient(135deg, rgba(94, 93, 240, 0.22) 0%, rgba(123, 108, 246, 0.28) 100%) !important;
    color: #c7d2fe !important;
    border-color: rgba(129, 140, 248, 0.32) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}
body.dark .home-shop-wrap .nav-pills .nav-link.active .home-cat-icon,
body.dark .home-category-pills .nav-link.active .home-cat-icon {
    background: rgba(129, 140, 248, 0.22);
    border-color: rgba(129, 140, 248, 0.24);
    color: #a5b4fc;
    box-shadow: none;
}
body.dark .home-marquee,
body.dark .home-top-raw .alert,
body.dark .home-top-raw .alert-marquee,
body.dark .home-top-raw marquee.alert {
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

/* Top navbar â€” dark */
body.dark .iq-top-navbar {
    background: #181818 !important;
    border-bottom: 1px solid #252525 !important;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35) !important;
}
body.dark .iq-top-navbar .wrapper-menu,
body.dark .iq-top-navbar .navbar-toggler,
body.dark .iq-top-navbar .navbar-toggler svg,
body.dark .iq-top-navbar .text-secondary {
    color: #c7cbd3 !important;
}
body.dark .iq-top-navbar .nav-btn-login {
    background: #222 !important;
    border: 1px solid rgba(94, 93, 240, 0.45) !important;
    color: #a5b4fc !important;
    box-shadow: none !important;
}
body.dark .iq-top-navbar .nav-btn-login:hover {
    background: rgba(94, 93, 240, 0.18) !important;
    color: #c7d2fe !important;
}
body.dark .iq-top-navbar .nav-btn-admin {
    background: #222 !important;
    border: 1px solid rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
    box-shadow: none !important;
}
body.dark .iq-top-navbar .nav-btn-admin:hover {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #fecaca !important;
}
body.dark .iq-top-navbar .nav-header-right a.nav-notify-btn,
body.dark .iq-top-navbar .nav-header-right .nav-item.nav-icon > a.nav-notify-btn,
body.dark .iq-top-navbar .nav-header-right a.nav-user-chip,
body.dark .iq-top-navbar .nav-header-right .nav-item.nav-icon > a.nav-user-chip,
body.dark .iq-top-navbar .change-mode .custom-control-label {
    background: #222 !important;
    border: 1px solid #333 !important;
    box-shadow: none !important;
}
body.dark .iq-top-navbar .nav-header-right a.nav-notify-btn:hover,
body.dark .iq-top-navbar .nav-header-right a.nav-user-chip:hover,
body.dark .iq-top-navbar .change-mode .custom-control-label:hover {
    background: #2a2a2a !important;
    border-color: rgba(94, 93, 240, 0.45) !important;
}
body.dark .iq-top-navbar .change-mode .custom-control-input:checked ~ .custom-control-label {
    background: #1a1a24 !important;
    border-color: #333 !important;
}
body.dark .iq-top-navbar .change-mode .custom-control-label svg {
    color: #94a3b8 !important;
}
body.dark .iq-top-navbar .nav-notify-btn svg,
body.dark .iq-top-navbar .nav-header-right a.nav-notify-btn svg {
    color: #c7cbd3 !important;
}
body.dark .iq-top-navbar .nav-user-chip .user-name,
body.dark .iq-top-navbar .nav-header-right a.nav-user-chip .user-name {
    color: #c7cbd3 !important;
}
body.dark .iq-top-navbar .nav-user-chip .img-fluid.avatar-rounded,
body.dark .iq-top-navbar .navbar-list li > a.nav-user-chip > img {
    border-color: #333 !important;
}
body.dark .iq-top-navbar .dropdown-menu,
body.dark .iq-top-navbar .iq-sub-dropdown {
    background: #181818 !important;
    border: 1px solid #252525 !important;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45) !important;
}
body.dark .iq-top-navbar .dropdown-menu .dropdown-item:hover,
body.dark .iq-top-navbar .dropdown-menu .dropdown-item:focus {
    background: #252538 !important;
}
body.dark .iq-top-navbar .dropdown-menu .dropdown-item a,
body.dark .iq-top-navbar .dropdown-menu .dropdown-item,
body.dark .iq-top-navbar .dropdown-menu .svg-icon {
    color: #c7cbd3 !important;
}
body.dark .iq-top-navbar .card,
body.dark .iq-top-navbar .card-header-border,
body.dark .iq-top-navbar .iq-sub-dropdown .card {
    background: #181818 !important;
    border-color: #252525 !important;
    color: #c7cbd3 !important;
}
body.dark .iq-top-navbar .iq-sub-dropdown h6 {
    color: #e5e7eb !important;
}

/* Profile / security / history helpers */
body.dark .deposit-card .card-footer {
    background: #1c1c1c !important;
    border-top-color: #2a2a2a !important;
}
body.dark .deposit-card .form-group label {
    color: #aeb4bf !important;
}
body.dark .deposit-hint,
body.dark .deposit-empty {
    color: #8f9fbc !important;
}
body.dark .deposit-qr-box {
    background: #222 !important;
    border-color: #333 !important;
}
body.dark .money-before { color: #4ade80 !important; }
body.dark .money-change { color: #f87171 !important; }
body.dark .money-after { color: #60a5fa !important; }

/* Profile page */
body.dark .profile-hero {
    background: #181818 !important;
    border: 1px solid #252525 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
body.dark .profile-hero-body {
    background: #181818;
}
body.dark .profile-info-row {
    background: #222 !important;
    border-color: #333 !important;
}
body.dark .profile-info-icon {
    background: rgba(94, 93, 240, 0.18) !important;
    color: #a5b4fc !important;
}
body.dark .profile-info-label { color: #8f9fbc !important; }
body.dark .profile-info-value { color: #c7cbd3 !important; }
body.dark .profile-stat {
    background: #181818 !important;
    border: 1px solid #252525 !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
body.dark .profile-stat .stat-label { color: #8f9fbc !important; }
body.dark .profile-stat.stat-primary .stat-value { color: #a5b4fc !important; }
body.dark .profile-stat.stat-success .stat-value { color: #4ade80 !important; }
body.dark .profile-stat.stat-warning .stat-value { color: #fbbf24 !important; }
body.dark .deposit-card .form-control[readonly] {
    background: #1f1f2a !important;
    color: #aeb4bf !important;
}

/* Order detail page */
body.dark .order-account-input {
    background: #222 !important;
    border-color: #333 !important;
    color: #c7cbd3 !important;
}
body.dark .order-account-input:focus {
    background: #181818 !important;
    border-color: rgba(94, 93, 240, 0.45) !important;
}
body.dark .order-document-title,
body.dark .order-document-content {
    color: #c7cbd3 !important;
}
body.dark .order-document-meta {
    color: #8f9fbc !important;
}
body.dark .order-rating-card .card-title,
body.dark .order-rating-card .card-label {
    color: #c7cbd3 !important;
}
body.dark .order-rating-card .card-label i {
    color: #a5b4fc !important;
}
body.dark .order-rating-card .progress {
    background: #2a2a35 !important;
}
body.dark #review_content .card {
    background: #181818 !important;
    border: 1px solid #252525 !important;
}
body.dark #review_content .card-header {
    background: #222 !important;
    border-bottom-color: #2a2a2a !important;
}
body.dark #review_content .card-body {
    color: #c7cbd3 !important;
}
body.dark #review_content .card-footer {
    background: #181818 !important;
    border-top-color: #2a2a2a !important;
    color: #8f9fbc !important;
}
body.dark #exampleModal .modal-body,
body.dark #review_modal .modal-body {
    background: #181818 !important;
}
body.dark #exampleModal .modal-footer,
body.dark #review_modal .modal-footer {
    background: #181818 !important;
    border-top-color: #2a2a2a !important;
}

/* Product detail page â€” dark mode */
body.dark.product-detail-page .product-detail-crumb {
    background: #181818 !important;
    border-color: #333 !important;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
body.dark.product-detail-page .product-detail-crumb-current {
    color: #8f9fbc !important;
}
body.dark.product-detail-page .product-detail-hero-media {
    background: linear-gradient(145deg, #1a1a24 0%, #181818 100%) !important;
    border-color: #333 !important;
}
body.dark.product-detail-page .product-detail-hero-buy {
    background: linear-gradient(180deg, #1c1c28 0%, #181818 100%) !important;
    border-left-color: #333 !important;
}
body.dark.product-detail-page .product-detail-buy-panel-head {
    border-bottom-color: #333 !important;
}
body.dark.product-detail-page .product-detail-buy-panel-title {
    color: #eef2ff !important;
}
body.dark.product-detail-page .product-detail-buy-panel-product {
    color: #8f9fbc !important;
}
body.dark.product-detail-page .product-detail-title {
    color: #eef2ff !important;
}
body.dark.product-detail-page .product-detail-rating-text {
    color: #8f9fbc !important;
}
body.dark.product-detail-page .product-detail-stat {
    background: #1f1f2a !important;
    border-color: #333 !important;
}
body.dark.product-detail-page .product-detail-buy-price {
    background: rgba(94, 93, 240, 0.12) !important;
    border-color: rgba(94, 93, 240, 0.25) !important;
}
body.dark.product-detail-page .product-detail-buy-stock {
    color: #8f9fbc !important;
}
body.dark.product-detail-page .product-detail-btn-home {
    background: #1f1f2a !important;
    border-color: #333 !important;
    color: #c7cbd3 !important;
}
body.dark.product-detail-page .product-detail-category-list li {
    border-bottom-color: #2a2a2a !important;
}
body.dark.product-detail-page .product-detail-category-list a {
    color: #c7cbd3 !important;
}
body.dark.product-detail-page .product-detail-category-list a:hover {
    background: #222 !important;
    color: #a5b4fc !important;
}
body.dark.product-detail-page .product-detail-category-icon {
    background: #252530 !important;
}
body.dark.product-detail-page .product-detail-category-list li.is-current a {
    background: rgba(94, 93, 240, 0.1) !important;
}
body.dark.product-detail-page .product-detail-panel-body,
body.dark.product-detail-page .product-detail-panel .card-body.p-0 {
    background: #181818 !important;
}
body.dark.product-detail-page .product-detail-panel.deposit-card > .card-header {
    background: #1f1f2a !important;
    background-image: none !important;
    border-bottom-color: #333 !important;
    color: #eef2ff !important;
}
body.dark.product-detail-page .product-detail-panel.deposit-card > .card-header .card-title {
    color: #eef2ff !important;
}
body.dark.product-detail-page .product-detail-panel.deposit-card > .card-header .card-title i {
    color: #a5b4fc !important;
}
body.dark.product-detail-page .product-detail-content {
    color: #c7cbd3 !important;
}
body.dark.product-detail-page .product-detail-tab-nav {
    background: #1f1f2a !important;
    border-bottom-color: #333 !important;
}
body.dark.product-detail-page .product-detail-tab-nav .nav-link {
    color: #8f9fbc !important;
}
body.dark.product-detail-page .product-detail-tab-nav .nav-link.active,
body.dark.product-detail-page .product-detail-tab-nav .nav-link:hover {
    color: #c7d2fe !important;
}
body.dark.product-detail-page .product-detail-tab-content > .tab-pane {
    background: #181818 !important;
}
body.dark.product-detail-page .product-warranty-policy {
    color: #c7cbd3 !important;
}
body.dark.product-detail-page .product-warranty-list li {
    background: linear-gradient(145deg, rgba(94, 93, 240, 0.08) 0%, #1a1a24 100%) !important;
    border-color: rgba(94, 93, 240, 0.2) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}
body.dark.product-detail-page .product-warranty-list li::before {
    color: #a5b4fc !important;
}

/* Product description tab â€” dark mode */
body.dark.product-detail-page #productTabDesc {
    color: #c7cbd3 !important;
    background: #181818 !important;
}
body.dark.product-detail-page #productTabDesc > p,
body.dark.product-detail-page #productTabDesc > div > p,
body.dark.product-detail-page #productTabDesc ul li,
body.dark.product-detail-page #productTabDesc ol li {
    color: #c7cbd3 !important;
    background: linear-gradient(145deg, rgba(94, 93, 240, 0.08) 0%, #1a1a24 100%) !important;
    border-color: rgba(94, 93, 240, 0.2) !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
    text-transform: none;
}
body.dark.product-detail-page #productTabDesc > p::before,
body.dark.product-detail-page #productTabDesc > div > p::before,
body.dark.product-detail-page #productTabDesc ul li::before,
body.dark.product-detail-page #productTabDesc ol li::before {
    color: #a5b4fc !important;
}
body.dark.product-detail-page #productTabDesc a {
    color: #a5b4fc !important;
    text-decoration: underline;
    text-underline-offset: 2px;
}
body.dark.product-detail-page #productTabDesc a:hover {
    color: #c7d2fe !important;
}
body.dark.product-detail-page #productTabDesc strong,
body.dark.product-detail-page #productTabDesc b {
    color: #eef2ff !important;
}
body.dark.product-detail-page #productTabDesc .product-detail-empty-desc,
body.dark.product-detail-page #productTabDesc > p.text-muted,
body.dark.product-detail-page #productTabDesc > p.product-detail-empty-desc {
    color: #8f9fbc !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
}
body.dark.product-detail-page #productTabDesc > p.text-muted::before,
body.dark.product-detail-page #productTabDesc > p.product-detail-empty-desc::before {
    content: none !important;
    display: none !important;
}
body.dark.product-detail-page #productTabDesc [style*="background-color: #fff"],
body.dark.product-detail-page #productTabDesc [style*="background-color:#fff"],
body.dark.product-detail-page #productTabDesc [style*="background: #fff"],
body.dark.product-detail-page #productTabDesc [style*="background:#fff"],
body.dark.product-detail-page #productTabDesc [style*="background-color: white"],
body.dark.product-detail-page #productTabDesc [style*="background: white"] {
    background: transparent !important;
}
body.dark.product-detail-page .product-warranty-note {
    background: rgba(234, 88, 12, 0.1) !important;
    border-color: rgba(234, 88, 12, 0.25) !important;
    color: #fdba74 !important;
}
body.dark.product-detail-page .product-warranty-note strong {
    color: #fb923c !important;
}
body.dark.product-detail-page .product-related-card {
    background: #1f1f2a !important;
    border-color: #333 !important;
    box-shadow: none !important;
}
body.dark.product-detail-page .product-related-card:hover {
    border-color: rgba(94, 93, 240, 0.45) !important;
}
body.dark.product-detail-page .product-related-name {
    color: #eef2ff !important;
}
body.dark.product-detail-page .product-related-stock {
    color: #8f9fbc !important;
}
body.dark.product-detail-page .product-detail-mobile-bar {
    background: rgba(24, 24, 24, 0.97) !important;
    border-top-color: #333 !important;
}
body.dark.product-detail-page .product-detail-buy-form .product-detail-buy-total {
    background: rgba(220, 38, 38, 0.08) !important;
    border-color: rgba(220, 38, 38, 0.25) !important;
}
body.dark.product-detail-page .product-detail-buy-form .product-detail-buy-total-label {
    color: #8f9fbc !important;
}

/* Client alert popup â€” dark mode */
body.dark .swal2-popup.client-alert-popup {
    background: #181818 !important;
    border-color: #333 !important;
    box-shadow: 0 18px 48px rgba(0, 0, 0, 0.45) !important;
}
body.dark .swal2-popup.client-alert-popup .client-alert-title,
body.dark .swal2-popup.client-alert-popup .swal2-title {
    color: #eef2ff !important;
}
body.dark .swal2-popup.client-alert-popup .client-alert-html,
body.dark .swal2-popup.client-alert-popup .swal2-html-container,
body.dark .swal2-popup.client-alert-popup .client-alert-message {
    color: #c7cbd3 !important;
}
body.dark .swal2-popup.client-alert-popup .client-alert-login-link,
body.dark .client-alert-inline-login .client-alert-login-link {
    color: #a5b4fc !important;
}
body.dark .swal2-popup.client-alert-popup .client-alert-login-link:hover,
body.dark .client-alert-inline-login .client-alert-login-link:hover {
    color: #c7d2fe !important;
}
body.dark .swal2-popup.client-alert-popup .client-alert-cancel {
    background: #1f1f2a !important;
    color: #c7cbd3 !important;
}
body.dark .client-alert-inline-login {
    color: #8f9fbc !important;
}


/* Client site footer — dark mode */
body.dark .site-client-footer-inner {
    background: linear-gradient(180deg, #1a1a1a 0%, #151515 100%) !important;
    border-color: #2a2a2a !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
}
body.dark .site-client-footer-brand-text strong {
    color: #eef2ff !important;
}
body.dark .site-client-footer-brand-text span,
body.dark .site-client-footer-copy {
    color: #8f9fbc !important;
}
body.dark .site-client-footer-link {
    background: #181818 !important;
    border-color: #2f2f2f !important;
    color: #c7cbd3 !important;
}
body.dark .site-client-footer-link i {
    color: #a5b4fc !important;
}
body.dark .site-client-footer-link:hover,
body.dark .site-client-footer-link:focus {
    background: #22223a !important;
    border-color: rgba(94, 93, 240, 0.45) !important;
    color: #e0e7ff !important;
}
body.dark .site-client-footer-copy a {
    color: #a5b4fc !important;
}
body.dark .site-client-footer-copy a:hover {
    color: #c7d2fe !important;
}

/* Legal pages  dark mode */
body.dark .legal-page-content {
    color: #c7cbd3 !important;
}
body.dark .legal-page-content h1,
body.dark .legal-page-content h2,
body.dark .legal-page-content h3,
body.dark .legal-page-content h4,
body.dark .legal-page-content h5 {
    color: #eef2ff !important;
}
body.dark .legal-page-content a {
    color: #a5b4fc !important;
}
body.dark .legal-page-content a:hover {
    color: #c7d2fe !important;
}
body.dark .legal-page-content table {
    background: #181818 !important;
    border-color: #2f2f2f !important;
}
body.dark .legal-page-content table th,
body.dark .legal-page-content table td {
    border-top-color: #2a2a2a !important;
}
body.dark .legal-page-content table tr:first-child th,
body.dark .legal-page-content table tr:first-child td {
    background: #22223a !important;
    color: #c7cbd3 !important;
}
body.dark .legal-page-content blockquote {
    background: #1a1a1a !important;
    border-left-color: #7b6cf6 !important;
    color: #aeb4bf !important;
}
