/* Tapsy dark + light theme (v1.0)
   Loaded LAST on every page that has the theme switch. Light mode is unchanged; everything below only applies when
   <html data-theme="dark"> (set by js/tapsy-theme-boot.js from the saved choice or the phone / computer setting).

   Part 1  logos and the switch button (both themes)
   Part 2  dark colour tokens (the site's pages read their colours from these)
   Part 3  page chrome and stock components (cards, forms, modals, tables, pop-ups)
   Part 4  generated: a dark twin of every hard-coded light surface in the Tapsy stylesheets
   Palette matches the template's own dark mode: page #1d1e26, surfaces #262932, lines #33364a. */

/* ============ Part 1: logos + switch ============ */
.tp-logo-d { display: none !important; }
html[data-theme="dark"] .tp-logo-l { display: none !important; }
html[data-theme="dark"] .tp-logo-d { display: inline-block !important; }
.tp-logo, .tp-logo-side, .a8-mlogo img { object-fit: contain; }
.tp-logo { height: auto; max-width: 100%; }
/* a logo is never stretched: it keeps its own shape and shrinks to fit the box, whatever picture was uploaded */
.sidebar-wrapper .logo-wrapper .tp-logo-side { width: auto !important; height: auto !important; max-width: 180px !important; max-height: 56px !important; object-position: left center; }
.page-header .header-logo-wrapper .logo-wrapper .tp-logo { width: auto !important; height: auto !important; max-height: 34px !important; max-width: 160px !important; }
.a8-mlogo .tp-logo { height: 38px; width: auto; max-width: 210px; }

.tp-theme-li { display: flex; align-items: center; }
/* sun / moon button: drawn with inline SVG (no icon font), clear in both modes */
.tp-theme-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; padding: 0; cursor: pointer; display: inline-grid; place-items: center; line-height: 1;
  border: 1px solid rgba(13,40,94,.14); background: linear-gradient(145deg, #ffffff, #eaf0fb); color: #0D285E;
  box-shadow: 0 6px 16px -8px rgba(13,40,94,.45), inset 0 1px 0 #fff; transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s; }
.tp-theme-btn:hover { transform: translateY(-1px) scale(1.06); box-shadow: 0 10px 20px -8px rgba(13,40,94,.5), inset 0 1px 0 #fff; }
.tp-theme-btn:active { transform: scale(.94); }
.tp-theme-btn:focus-visible { outline: 2px solid #eab308; outline-offset: 2px; }
.tp-theme-btn .tp-ico { position: relative; width: 22px; height: 22px; display: block; }
.tp-theme-btn svg { position: absolute; inset: 1px; width: 20px; height: 20px; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .25s; }
.tp-theme-btn .tp-sun  { opacity: 0; transform: rotate(-90deg) scale(.3); }
.tp-theme-btn .tp-moon { opacity: 1; transform: none; }
html[data-theme="dark"] .tp-theme-btn { background: linear-gradient(145deg, #34384a, #1f212b); border-color: rgba(255,255,255,.16); color: #fbbf24;
  box-shadow: 0 8px 18px -8px rgba(0,0,0,.8), inset 0 1px 0 rgba(255,255,255,.08); }
html[data-theme="dark"] .tp-theme-btn:hover { box-shadow: 0 10px 22px -8px rgba(251,191,36,.35), inset 0 1px 0 rgba(255,255,255,.1); }
html[data-theme="dark"] .tp-theme-btn .tp-sun  { opacity: 1; transform: none; }
html[data-theme="dark"] .tp-theme-btn .tp-moon { opacity: 0; transform: rotate(90deg) scale(.3); }
.tp-theme-float { position: fixed; top: 16px; right: 16px; z-index: 1200; }
.tp-theme-row { width: 100%; border: 0; background: transparent; text-align: left; font: inherit; cursor: pointer; display: flex; align-items: center; gap: 12px; }
.tp-theme-row .tp-ico { position: relative; width: 24px; height: 24px; display: inline-block; color: #fbbf24; flex: none; }
.tp-theme-row svg { position: absolute; inset: 2px; width: 20px; height: 20px; transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .25s; }
.tp-theme-row .tp-sun  { opacity: 0; transform: rotate(-90deg) scale(.3); }
.tp-theme-row .tp-moon { opacity: 1; color: rgba(255,255,255,.75); }
html[data-theme="dark"] .tp-theme-row .tp-sun  { opacity: 1; transform: none; }
html[data-theme="dark"] .tp-theme-row .tp-moon { opacity: 0; transform: rotate(90deg) scale(.3); }

/* ============ dashboard badges (New / Soon): were white text on a white pill in dark mode ============ */
/* "WELCOME BACK" chip: navy text on a dark pill was unreadable */
html[data-theme="dark"] .tp7-eyebrow { color: #fcd34d; background: rgba(234,179,8,.16); }
html[data-theme="dark"] .tp7-tag.new { background: #2f6fed; color: #fff; box-shadow: 0 2px 8px -2px rgba(47,111,237,.6); }

/* ============ Part 2: dark tokens ============ */
html[data-theme="dark"] {
  color-scheme: dark;
  --t7-ink: #f1f3f9; --t7-soft: #b4bbcc; --t7-faint: #8189a0; --t7-line: #33364a;
  --t7-canvas: #1d1e26; --t7-card: #262932; --t7-gold-soft: rgba(234,179,8,.14);
  --t7-shadow: 0 1px 2px rgba(0,0,0,.4), 0 10px 28px -12px rgba(0,0,0,.6);
  --tp-ink: #f1f3f9; --tp-ink-soft: #b4bbcc; --tp-ink-faint: #8189a0; --tp-line: #33364a; --tp-surface: #262932; --tp-canvas: #1d1e26;
  --tp-navy-light: rgba(125,162,255,.14); --tp-success-bg: rgba(34,197,94,.16); --tp-warning-bg: rgba(245,158,11,.16);
  --tp-danger-bg: rgba(239,68,68,.16); --tp-pending-bg: rgba(99,102,241,.2);
  --tp-shadow-sm: 0 1px 2px rgba(0,0,0,.4); --tp-shadow-md: 0 6px 18px rgba(0,0,0,.45); --tp-shadow-lg: 0 14px 40px rgba(0,0,0,.55);
  --shadow-sm: 0 1px 2px rgba(0,0,0,.4); --shadow-md: 0 6px 18px rgba(0,0,0,.45); --shadow-lg: 0 14px 40px rgba(0,0,0,.55);
  --dt-ok: #4ade80; --dt-bad: #f87171;
}

/* ============ Part 3: chrome and stock components ============ */
html[data-theme="dark"], html[data-theme="dark"] body { background-color: #1d1e26; color: #b4bbcc; }
html[data-theme="dark"] body .page-wrapper, html[data-theme="dark"] .page-body-wrapper, html[data-theme="dark"] .page-body { background-color: #1d1e26; }
html[data-theme="dark"] h1, html[data-theme="dark"] h2, html[data-theme="dark"] h3, html[data-theme="dark"] h4, html[data-theme="dark"] h5, html[data-theme="dark"] h6 { color: #f1f3f9; }
html[data-theme="dark"] a:not([class]) { color: #9db8f0; }
html[data-theme="dark"] hr { border-color: #33364a; opacity: 1; }
html[data-theme="dark"] .text-muted, html[data-theme="dark"] .text-secondary { color: #8f98ae !important; }
html[data-theme="dark"] .text-dark, html[data-theme="dark"] .text-black { color: #f1f3f9 !important; }
html[data-theme="dark"] .bg-white, html[data-theme="dark"] .bg-light { background-color: #262932 !important; }
html[data-theme="dark"] .border, html[data-theme="dark"] .border-top, html[data-theme="dark"] .border-bottom, html[data-theme="dark"] .border-start, html[data-theme="dark"] .border-end { border-color: #33364a !important; }

/* top bar and footer */
html[data-theme="dark"] .page-header, html[data-theme="dark"] .page-header .header-wrapper { background-color: #262932 !important; border-color: #33364a; }
html[data-theme="dark"] .page-header .nav-right > ul > li > a, html[data-theme="dark"] .page-header .nav-right > ul > li > a i { color: #cbd2e3; }
html[data-theme="dark"] .footer { background-color: #262932 !important; border-top: 1px solid #33364a; color: #8f98ae; }
html[data-theme="dark"] .tp7-burger i { background: #f1f3f9; }

/* cards, forms, modals, menus, tables */
html[data-theme="dark"] .card, html[data-theme="dark"] .modal-content, html[data-theme="dark"] .dropdown-menu, html[data-theme="dark"] .offcanvas,
html[data-theme="dark"] .popover, html[data-theme="dark"] .list-group-item, html[data-theme="dark"] .accordion-item { background-color: #262932; color: #b4bbcc; border-color: #33364a; }
html[data-theme="dark"] .modal-header, html[data-theme="dark"] .modal-footer, html[data-theme="dark"] .card-header, html[data-theme="dark"] .card-footer { background-color: transparent; border-color: #33364a; }
html[data-theme="dark"] .modal-title, html[data-theme="dark"] .card-title { color: #f1f3f9; }
html[data-theme="dark"] .btn-close { filter: invert(1) grayscale(1) brightness(1.6); opacity: .8; }
html[data-theme="dark"] .modal-backdrop { --bs-backdrop-bg: #000; --bs-backdrop-opacity: .65; }
html[data-theme="dark"] .dropdown-item { color: #cbd2e3; }
html[data-theme="dark"] .dropdown-item:hover, html[data-theme="dark"] .dropdown-item:focus { background-color: #2d303c; color: #fff; }
html[data-theme="dark"] .dropdown-divider { border-color: #33364a; }

html[data-theme="dark"] .form-control, html[data-theme="dark"] .form-select, html[data-theme="dark"] textarea, html[data-theme="dark"] .input-group-text,
html[data-theme="dark"] input[type="text"], html[data-theme="dark"] input[type="tel"], html[data-theme="dark"] input[type="email"], html[data-theme="dark"] input[type="number"],
html[data-theme="dark"] input[type="password"], html[data-theme="dark"] input[type="search"], html[data-theme="dark"] input[type="date"], html[data-theme="dark"] select {
  background-color: #1d1e26; color: #f1f3f9; border-color: #3a3f55; }
html[data-theme="dark"] .form-control:focus, html[data-theme="dark"] .form-select:focus, html[data-theme="dark"] textarea:focus { background-color: #1d1e26; color: #fff; border-color: #7da2ff; box-shadow: 0 0 0 3px rgba(125,162,255,.2); }
html[data-theme="dark"] .form-control::placeholder, html[data-theme="dark"] textarea::placeholder, html[data-theme="dark"] input::placeholder { color: #7b8398; opacity: 1; }
html[data-theme="dark"] .form-control:disabled, html[data-theme="dark"] .form-control[readonly], html[data-theme="dark"] .form-select:disabled { background-color: #2d303c; color: #aab1c4; }
html[data-theme="dark"] .form-select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b4bbcc' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e"); }
html[data-theme="dark"] option { background-color: #262932; color: #f1f3f9; }
html[data-theme="dark"] label, html[data-theme="dark"] .form-label { color: #b4bbcc; }
html[data-theme="dark"] input[type="date"]::-webkit-calendar-picker-indicator, html[data-theme="dark"] input[type="time"]::-webkit-calendar-picker-indicator { filter: invert(.85); }
html[data-theme="dark"] input:-webkit-autofill, html[data-theme="dark"] input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 1000px #1d1e26 inset !important; -webkit-text-fill-color: #f1f3f9 !important; caret-color: #f1f3f9; }
html[data-theme="dark"] .form-check-input { background-color: #1d1e26; border-color: #5b6379; }
html[data-theme="dark"] .form-check-input:checked { background-color: #0D285E; border-color: #7da2ff; }

html[data-theme="dark"] .table { --bs-table-bg: transparent; --bs-table-color: #b4bbcc; --bs-table-border-color: #33364a; --bs-table-striped-bg: #2d303c; --bs-table-hover-bg: #2d303c; color: #b4bbcc; border-color: #33364a; }
html[data-theme="dark"] .table > :not(caption) > * > * { background-color: transparent; color: inherit; border-color: #33364a; }
html[data-theme="dark"] .table thead th { color: #f1f3f9; }
html[data-theme="dark"] .nav-tabs, html[data-theme="dark"] .nav-tabs .nav-link { border-color: #33364a; }
html[data-theme="dark"] .nav-tabs .nav-link { color: #b4bbcc; }
html[data-theme="dark"] .nav-tabs .nav-link.active { background-color: #262932; color: #fff; border-color: #33364a #33364a #262932; }
html[data-theme="dark"] .pagination .page-link { background-color: #262932; border-color: #33364a; color: #cbd2e3; }
html[data-theme="dark"] .pagination .active .page-link { background-color: #0D285E; border-color: #0D285E; color: #fff; }
html[data-theme="dark"] .alert-light, html[data-theme="dark"] .alert-secondary { background-color: #2d303c; border-color: #33364a; color: #cbd2e3; }
html[data-theme="dark"] .btn-light, html[data-theme="dark"] .btn-outline-secondary { background-color: #2d303c; border-color: #3a3f55; color: #e4e8f2; }
html[data-theme="dark"] .btn-outline-primary { color: #9db8f0; border-color: #4c6fb8; }
html[data-theme="dark"] .badge.bg-light { background-color: #2d303c !important; color: #cbd2e3 !important; }

/* drop-down search boxes, data tables, pop-up toasts */
html[data-theme="dark"] .select2-container--default .select2-selection--single, html[data-theme="dark"] .select2-container--default .select2-selection--multiple { background-color: #1d1e26; border-color: #3a3f55; }
html[data-theme="dark"] .select2-container--default .select2-selection--single .select2-selection__rendered { color: #f1f3f9; }
html[data-theme="dark"] .select2-dropdown { background-color: #262932; border-color: #3a3f55; color: #f1f3f9; }
html[data-theme="dark"] .select2-container--default .select2-search--dropdown .select2-search__field { background-color: #1d1e26; color: #f1f3f9; border-color: #3a3f55; }
html[data-theme="dark"] .select2-container--default .select2-results__option[aria-selected=true], html[data-theme="dark"] .select2-container--default .select2-results__option--selected { background-color: #2d303c; }
html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted[aria-selected], html[data-theme="dark"] .select2-container--default .select2-results__option--highlighted { background-color: #0D285E; color: #fff; }
html[data-theme="dark"] table.dataTable, html[data-theme="dark"] .dataTables_wrapper { color: #b4bbcc; }
html[data-theme="dark"] .dataTables_wrapper .dataTables_filter input, html[data-theme="dark"] .dataTables_wrapper .dataTables_length select { background-color: #1d1e26; color: #f1f3f9; border: 1px solid #3a3f55; }
html[data-theme="dark"] .dataTables_wrapper .dataTables_paginate .paginate_button { color: #cbd2e3 !important; }
html[data-theme="dark"] .swal2-popup { background: #262932; color: #b4bbcc; }
html[data-theme="dark"] .swal2-title { color: #f1f3f9; }
html[data-theme="dark"] .swal2-input, html[data-theme="dark"] .swal2-textarea, html[data-theme="dark"] .swal2-select { background: #1d1e26; color: #f1f3f9; border-color: #3a3f55; }
html[data-theme="dark"] .sn-notify { background: #2d303c; color: #f1f3f9; }

html[data-theme="dark"] .cx-choice.on { border-color: #7da2ff; box-shadow: 0 0 0 3px rgba(125,162,255,.16); }
html[data-theme="dark"] .cx-choice.on::after { background: #7da2ff; color: #0b1220; }

/* keep logo tiles, QR codes and card art readable: they stay light on purpose */
html[data-theme="dark"] .dt-net-logo, html[data-theme="dark"] .qr-box, html[data-theme="dark"] .qrcode, html[data-theme="dark"] .receipt-paper { background-color: #fff; }

/* inline white backgrounds written straight into markup */
html[data-theme="dark"] [style*="background:#fff"], html[data-theme="dark"] [style*="background: #fff"], html[data-theme="dark"] [style*="background:white"],
html[data-theme="dark"] [style*="background-color:#fff"], html[data-theme="dark"] [style*="background-color: #fff"], html[data-theme="dark"] [style*="background-color:white"] { background-color: #262932 !important; }

/* scrollbars */
html[data-theme="dark"] { scrollbar-color: #3a3f55 #1d1e26; }
html[data-theme="dark"] ::-webkit-scrollbar-track { background: #1d1e26; }
html[data-theme="dark"] ::-webkit-scrollbar-thumb { background: #3a3f55; border-radius: 8px; }

/* smooth switch (only while the button is used, never on first paint) */
html.tp-theme-anim, html.tp-theme-anim * { transition: background-color .25s ease, border-color .25s ease, color .2s ease !important; }

/* ============ Part 4: generated dark twins of the Tapsy stylesheets ============ */
/* ---- from css/tapsy-theme.css (24 rules) ---- */
html[data-theme="dark"] body { background-color: #1d1e26 !important; }
html[data-theme="dark"] .page-header { background-color: #262932 !important; border-bottom: 1px solid #33364a; }
html[data-theme="dark"] .card { border: 1px solid #33364a !important; }
html[data-theme="dark"] table.dataTable thead th { border-bottom: 1px solid #33364a !important; }
html[data-theme="dark"] table.dataTable tbody tr:hover { background-color: #2d303c !important; }
html[data-theme="dark"] .quick-tile,
html[data-theme="dark"] .service-tile { border: 1px solid #33364a !important; }
html[data-theme="dark"] .txt-primary,
html[data-theme="dark"] a.txt-primary { color: #b0c7f4 !important; }
html[data-theme="dark"] .page-header,
html[data-theme="dark"] .page-header .header-wrapper { background-color: #262932 !important; }
html[data-theme="dark"] .page-header .profile-media .media-body span { color: #ebebeb !important; }
html[data-theme="dark"] .page-header .profile-media .media-body p { color: #ebebeb !important; }
html[data-theme="dark"] .page-header .profile-media .media-body p i { color: #ebebeb !important; }
html[data-theme="dark"] .footer { background-color: #262932 !important; border-top: 1px solid #33364a; }
html[data-theme="dark"] .tapsy-wordmark { color: #ebebeb !important; }
html[data-theme="dark"] .bottom-navigation-bar { border-top: 1px solid #33364a; }
html[data-theme="dark"] .tf-navigation-bar li a { color: #b3b5bb; }
html[data-theme="dark"] .tf-navigation-bar li.active a,
html[data-theme="dark"] .tf-navigation-bar li.active a i { color: #b0c7f4 !important; }
html[data-theme="dark"] #moneyTransferModal .select2-container--default .select2-selection--single { border: 1px solid #33364a; }
html[data-theme="dark"] #package-table th:nth-last-child(-n+2),
html[data-theme="dark"] #package-table td:nth-last-child(-n+2) { background: #262932; }
html[data-theme="dark"] #package-table tbody tr:hover td:nth-last-child(-n+2) { background: #2d303c; }
html[data-theme="dark"] .tapsy-network-card { border: 1.5px solid #33364a; background: #262932; }
html[data-theme="dark"] .tapsy-network-card:hover { border-color: hsla(216,60%,50%,.35); }
html[data-theme="dark"] .tapsy-network-card span { color: #cdd1d7; }
html[data-theme="dark"] .tapsy-network-card.is-selected { background: #2d303c; }
html[data-theme="dark"] .tapsy-network-card.is-selected span { color: #b0c7f4; }
/* ---- from css/tapsy-modern.css (5 rules) ---- */
html[data-theme="dark"] .tp-option:hover { border-color: hsla(216,60%,50%,.35); }
html[data-theme="dark"] .tp-option.is-selected { background: #262932; }
html[data-theme="dark"] .tp-option.is-selected span { color: #9db8f0; }
html[data-theme="dark"] .tp-btn-primary:disabled { background: #3f4556; }
html[data-theme="dark"] .tp-btn-ghost { color: #9db8f0; }
/* ---- from css/tapsy-v7.css (62 rules) ---- */
html[data-theme="dark"] .tp7-crumbs li + li::before { border-right: 1.5px solid hsla(222,60%,50%,.35); border-top: 1.5px solid hsla(222,60%,50%,.35); }
html[data-theme="dark"] .tp7-crumbs a { background: #262932; }
html[data-theme="dark"] .tp7-crumbs a:hover { color: #9db8f0; }
html[data-theme="dark"] .tp7-wallet #currencySwitch option { color: #eeeeee; }
html[data-theme="dark"] .tp7-act.is-primary:hover { color: #fbf3da; }
html[data-theme="dark"] .tp7-wd { background: #262932; color: #9db8f0; }
html[data-theme="dark"] .tp7-sec-head a:hover { color: #9db8f0; }
html[data-theme="dark"] .tp7-svc:hover { background: #2d303c; }
html[data-theme="dark"] a.tp7-row:hover { background: #2d303c; }
html[data-theme="dark"] .tp7-row-ico { background: var(--t7-navy-light, #363b4a); color: #9db8f0; }
html[data-theme="dark"] .tp7-pill.ok { background: #2d303c; color: #87efad; }
html[data-theme="dark"] .tp7-pill.wait { background: #2d303c; }
html[data-theme="dark"] .tp7-pill.bad { background: #2d303c; color: #ea7b7b; }
@media (max-width: 767.98px) {
html[data-theme="dark"] .bottom-navigation-bar { background: rgba(38,41,50,0.92); }
html[data-theme="dark"] .tf-navigation-bar li.active a { background: var(--t7-navy-light, #363b4a); color: #9db8f0; }
html[data-theme="dark"] .tf-navigation-bar li.active a i { color: #9db8f0; }
}
@media (max-width: 991.98px) {
html[data-theme="dark"] .tp7-burger i { background: #262932; }
}
html[data-theme="dark"] .tp7-avatar-img,
html[data-theme="dark"] .tp7-avatar-init { border: 4px solid #33364a; }
html[data-theme="dark"] .tp7-avatar-img { background: #363b4a; }
html[data-theme="dark"] .tp7-avatar-btn { border: 3px solid #33364a; }
html[data-theme="dark"] .tp7-tx-card { background: #262932; }
html[data-theme="dark"] .tp7-tx-bar { background: #2d303c; }
html[data-theme="dark"] .tp7-tx-steps .dot { border: 2px solid #33364a; }
html[data-theme="dark"] .tp7-tx-steps li.done .dot::after { border: solid #33364a; }
html[data-theme="dark"] .tp7-btn.ghost { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .tp7-btn.ghost:hover { color: #9db8f0; }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
html[data-theme="dark"] .bottom-navigation-bar { background: #262932; }
}
html[data-theme="dark"] .tp7-chips button { background: #262932; }
html[data-theme="dark"] .tp7-chips button em { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .tp7-tablecard .dt-search input:focus,
html[data-theme="dark"] .tp7-tablecard .dataTables_filter input:focus { background-color: #262932; }
html[data-theme="dark"] .tp7-tablecard .dt-length select,
html[data-theme="dark"] .tp7-tablecard .dataTables_length select { background-color: #262932; }
html[data-theme="dark"] .tp7-tablecard .dt-paging-button,
html[data-theme="dark"] .tp7-tablecard .paginate_button { background: #262932 !important; }
html[data-theme="dark"] table.tp7-dt thead th { background: #262932; }
html[data-theme="dark"] table.tp7-dt tbody tr:hover td { background: #2d303c !important; }
html[data-theme="dark"] .tp7-act-btn { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .tp7-plus { color: #87efad; }
@media (max-width: 767.98px) {
html[data-theme="dark"] table.tp7-dt tbody tr { background: #262932; }
}
html[data-theme="dark"] .tp7-rbtn { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .tp7-row-ico.in { background: #2d303c; color: #87efad; }
html[data-theme="dark"] .tp7-row-amt.in { color: #87efad; }
html[data-theme="dark"] .pch-card.completed { background: linear-gradient(180deg, #2d303c, #262932 60%); }
html[data-theme="dark"] .pch-pct { color: #9db8f0; }
html[data-theme="dark"] .pch-bar { background: #2d303c; }
html[data-theme="dark"] .pch-warn { background: #2d303c; color: #f09c79; }
html[data-theme="dark"] .pch-btn { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .pch-btn:hover { background: #363b4a; }
html[data-theme="dark"] .pch-btn.danger { color: #ea7b7b; }
html[data-theme="dark"] .pch-h b.in { color: #87efad; }
html[data-theme="dark"] .pch-h b.out { color: #ea7b7b; }
html[data-theme="dark"] .pch-empty { border: 1px dashed hsla(222,60%,50%,.35); }
html[data-theme="dark"] .pch-chip { background: #262932; }
html[data-theme="dark"] .pch-chip:hover { color: #9db8f0; }
html[data-theme="dark"] .pch-ic span { background: #262932; }
html[data-theme="dark"] .pch-ic input:checked + span { background: #2d303c; }
html[data-theme="dark"] .pch-seg { background: #2d303c; }
html[data-theme="dark"] .pch-seg input:checked + span { background: #262932; color: #9db8f0; }
html[data-theme="dark"] .pch-wd > div { background: #2d303c; }
html[data-theme="dark"] .tp7-rcpt { background: #2d303c; border: 1px dashed hsla(222,60%,50%,.35); }
html[data-theme="dark"] .tp7-kv { border-bottom: 1px solid #33364a; }
html[data-theme="dark"] .tp7-copy { background: #363b4a; color: #9db8f0; }
html[data-theme="dark"] .tp7-copy.ok { background: hsla(141,70%,55%,.16); color: #9cefbb; }
html[data-theme="dark"] .tp7-row2 > summary.tp7-row:hover { background: #2d303c; }
/* ---- from css/tapsy-v8.css (10 rules) ---- */
html[data-theme="dark"] .tp7-chips.tp8-seg { background: #363b4a; }
html[data-theme="dark"] .tp7-chips.tp8-seg button.on { background: #262932; color: #9db8f0; }
html[data-theme="dark"] .tp7-tablecard table.tp7-dt.tp8-dt thead th { background: #2d303c; }
html[data-theme="dark"] .tp7-tablecard table.tp7-dt.tp8-dt .tp8-type { background: #2d303c; }
html[data-theme="dark"] .tp7-tablecard table.tp7-dt.tp8-dt tbody tr:hover td { background: #2d303c !important; }
html[data-theme="dark"] .tp7-sec-head .tp8-all { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .tp8-item:hover,
html[data-theme="dark"] .tp8-item[open] { background: #262932; }
html[data-theme="dark"] .tp8-amt.in .tp8-money { color: #87efad; }
html[data-theme="dark"] .tp8-item .tp7-rcpt { background: #262932; border: 1px dashed hsla(221,60%,50%,.35); }
html[data-theme="dark"] .tp8-empty-ico { background: #2d303c; color: #9db8f0; }
/* ---- from css/tapsy-sheets.css (14 rules) ---- */
html[data-theme="dark"] .tp-sheet .modal-content { background: #262932; }
html[data-theme="dark"] .tp-sheet .modal-toggle-wrapper::before { background: #3f4556; }
html[data-theme="dark"] .tp-sheet .modal-toggle-wrapper > button.badge:active { background: #363b4a !important; }
html[data-theme="dark"] .tp-sheet .form-control:focus,
html[data-theme="dark"] .tp-sheet .form-select:focus { background-color: #262932; }
html[data-theme="dark"] .tp-sheet .select2-container--open .select2-selection--single { background: #262932; }
html[data-theme="dark"] .tp-sheet .nav-tabs .nav-link.active { background: #262932 !important; color: #9db8f0 !important; }
html[data-theme="dark"] .tp-sheet .tapsy-network-card img,
html[data-theme="dark"] .tp-sheet .tp-net-card img { background: #262932; }
html[data-theme="dark"] .tp-sheet .tapsy-network-card.is-selected,
html[data-theme="dark"] .tp-sheet .tp-net-card.is-selected { background: #262932; }
html[data-theme="dark"] .tp-sheet .tapsy-network-card.is-selected span,
html[data-theme="dark"] .tp-sheet .tp-net-card.is-selected span { color: #9db8f0; }
html[data-theme="dark"] .tp-sheet .order-box ul.qty { background: #262932; }
html[data-theme="dark"] .tp-sheet .order-box ul.qty li:first-child p.owner { color: #f1b282 !important; }
html[data-theme="dark"] .tp-sheet .stat { background: hsla(47,70%,55%,.16); color: #f3b692 !important; }
html[data-theme="dark"] .swal2-title { color: #d9e1f2 !important; }
html[data-theme="dark"] .swal2-html-container { color: #b9bdc3 !important; }
/* ---- from css/tapsy-ios.css (5 rules) ---- */
html[data-theme="dark"] .tx2-search { background: #262932; border: 1px solid var(--t7-line, #33364a); }
html[data-theme="dark"] .tx2-empty { color: var(--t7-soft, #afb2ba); }
html[data-theme="dark"] .tx2-more { border: 1px solid var(--t7-line, #33364a); background: #262932; color: #9db8f0; }
html[data-theme="dark"] .acct-copy { border: 1px solid var(--t7-line, #33364a); background: #262932; color: #9db8f0; }
html[data-theme="dark"] .select2-container--open .select2-results__option[aria-disabled="true"] { background: #2d303c; }
/* ---- from css/tapsy-keyboard.css (5 rules) ---- */
html[data-theme="dark"] #buyDataModal .tapsy-network-card { background: #262932; border: 1.5px solid #33364a; }
html[data-theme="dark"] #buyDataModal .tapsy-network-card::after { border: 2px solid #33364a; }
html[data-theme="dark"] #buyDataModal .tapsy-network-card.is-selected { background: #2d303c; }
html[data-theme="dark"] #buyDataModal .form-control,
html[data-theme="dark"] #buyDataModal .form-select { background-color: #262932; border: 1.5px solid #33364a; }
html[data-theme="dark"] #buyDataModal .select2-container--default .select2-selection--single { background: #262932; border: 1.5px solid #33364a; }
/* ---- from css/tapsy-data.css (43 rules) ---- */
html[data-theme="dark"] .dt-card { background: #262932; }
html[data-theme="dark"] .dt-tabs { background: #2d303c; }
html[data-theme="dark"] .dt-tab.on { background: #262932; color: #9db8f0; }
html[data-theme="dark"] .dt-num { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .dt-page .tapsy-network-card { background: #262932; }
html[data-theme="dark"] .dt-page .tapsy-network-card:hover { border-color: hsla(221,60%,50%,.35); }
html[data-theme="dark"] .dt-net-logo { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .dt-net-logo img { background: #262932; }
html[data-theme="dark"] .dt-page .tapsy-network-card::after { background: #2d303c; }
html[data-theme="dark"] .dt-page .tapsy-network-card.is-selected { background: linear-gradient(180deg, #2d303c, #262932); }
html[data-theme="dark"] .dt-page .tapsy-network-card.is-selected .dt-net-txt b { color: #9db8f0; }
html[data-theme="dark"] .dt-chip { background: #262932; }
html[data-theme="dark"] .dt-chip:hover { border-color: hsla(221,60%,50%,.35); }
html[data-theme="dark"] .dt-plan { background: #262932; }
html[data-theme="dark"] .dt-plan:hover { border-color: hsla(221,60%,50%,.35); }
html[data-theme="dark"] .dt-plan .pr { color: #9db8f0; }
html[data-theme="dark"] .dt-plan .vd { background: #2d303c; }
html[data-theme="dark"] .dt-plan.is-selected { background: linear-gradient(180deg, #2d303c, #262932); }
html[data-theme="dark"] .dt-skel { background: linear-gradient(100deg, #2d303c 30%, #2d303c 50%, #2d303c 70%); }
html[data-theme="dark"] .dt-page .dt-phone input.dt-ph-input { border: 1.5px solid #33364a !important; background: #262932 !important; }
html[data-theme="dark"] .dt-ph-btn { background: #2d303c; }
html[data-theme="dark"] .dt-ph-btn:hover { background: #363b4a; color: #9db8f0; }
html[data-theme="dark"] .dt-sum-top { border-bottom: 1.5px dashed #33364a; }
html[data-theme="dark"] .dt-row.total { border-top: 1.5px dashed #33364a; }
html[data-theme="dark"] .dt-row.total b { color: #9db8f0; }
html[data-theme="dark"] .dt-warn { background: #2d303c; color: #eb7a7a; }
html[data-theme="dark"] .dt-bulk .form-select,
html[data-theme="dark"] .dt-bulk .form-control { border: 1.5px solid #33364a; }
html[data-theme="dark"] .dt-bulk .select2-container--default .select2-selection--single { border: 1.5px solid #33364a; }
html[data-theme="dark"] .dt-hist-head h2 i { background: #2d303c; }
html[data-theme="dark"] .dt-all { background: #262932; color: #9db8f0; }
html[data-theme="dark"] .dt-all:hover { color: #9db8f0; }
html[data-theme="dark"] .dt-stat { background: #262932; }
html[data-theme="dark"] .dt-hist .tp7-rbtn.again { background: hsla(48,70%,55%,.16); color: #f4de9e; }
html[data-theme="dark"] .dt-page .tapsy-network-card.is-selected { background: linear-gradient(180deg, var(--nc-s), #262932); }
html[data-theme="dark"] .dt-page .dt-plan.is-selected { background: linear-gradient(180deg, var(--nc-s), #262932); }
html[data-theme="dark"] .dt-page .dt-row.total b { color: #9db8f0; }
html[data-theme="dark"] .dt-page .dt-amount input#amountpay { border: 1.5px solid #33364a !important; background: #262932 !important; }
@media (max-width: 767.98px) {
html[data-theme="dark"] #creditwalletModalToggle .modal-toggle-wrapper::before { background: #3f4556; }
}
html[data-theme="dark"] .dt-page .dt-in { border: 1.5px solid #33364a !important; background: #262932 !important; }
html[data-theme="dark"] .dt-page .dt-in:disabled,
html[data-theme="dark"] .dt-page .dt-in[readonly] { background: #2d303c !important; }
html[data-theme="dark"] .sv-check > div { background: #2d303c; }
html[data-theme="dark"] .sv-check .text-success,
html[data-theme="dark"] .sv-check.text-success { background: #2d303c !important; color: #9cefbb !important; }
html[data-theme="dark"] .sv-check .text-danger { background: #2d303c !important; color: #eb7a7a !important; }
/* ---- from css/tapsy-svc2.css (15 rules) ---- */
html[data-theme="dark"] .sms-count .err { color: var(--dt-bad, #ea7b7b); }
html[data-theme="dark"] .sms-logo { color: #9db8f0; }
html[data-theme="dark"] .a2c-recv { border: 1.5px solid hsla(48,60%,50%,.35); background: linear-gradient(180deg, #2d303c, #262932); }
html[data-theme="dark"] .a2c-recv-top { color: #f4e09e; }
html[data-theme="dark"] .a2c-recv-row b { color: var(--dt-ink, #d9e1f2); }
html[data-theme="dark"] .a2c-recv p { color: var(--dt-soft, #b9bdc3); }
html[data-theme="dark"] .a2c-modal .dt-row { border-bottom: 1px dashed #33364a; color: #b9bdc3; }
html[data-theme="dark"] .a2c-modal .dt-row b { color: #d9e1f2; }
html[data-theme="dark"] .a2c-modal .dt-row.total { color: #d9e1f2; }
html[data-theme="dark"] .a2c-pin-l { color: #b9bdc3; }
html[data-theme="dark"] .a2c-modal .dt-in.a2c-pin { border: 1.5px solid #33364a; background: #262932; color: #d9e1f2; }
html[data-theme="dark"] .a2c-conf-msg { color: #eb7a7a; }
html[data-theme="dark"] .a2c-done-ico { background: hsla(141,70%,55%,.16); color: #87efad; }
html[data-theme="dark"] .a2c-done-msg { color: #b9bdc3; }
html[data-theme="dark"] .a2c-done-ref b { color: #d9e1f2; }
/* ---- from css/tapsy-intl.css (36 rules) ---- */
html[data-theme="dark"] .it-page .it-soon-ico { background: hsla(211,70%,55%,.16); color: #b0c7f4; }
html[data-theme="dark"] .it-page .it-soon h3 { color: #d9e1f2; }
html[data-theme="dark"] .it-page .it-soon p { color: #b9bdc3; }
html[data-theme="dark"] .it-page .it-country { background: #262932; }
html[data-theme="dark"] .it-page .it-country:hover { border-color: hsla(221,60%,50%,.35); }
html[data-theme="dark"] .it-flag { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .it-page .it-phone .it-dial { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .it-modal .modal-header { border-bottom: 1px solid #33364a; }
html[data-theme="dark"] .it-modal .modal-title { color: #d9e1f2; }
html[data-theme="dark"] .it-modal .btn-close { background-color: #2d303c; }
html[data-theme="dark"] .it-modal .dt-row { border-bottom: 1px dashed #33364a; }
html[data-theme="dark"] .it-modal .it-pin { border: 1.5px solid #33364a; background: #262932; color: #d9e1f2; }
html[data-theme="dark"] .it-modal .it-conf-msg { color: #eb7a7a; }
html[data-theme="dark"] .it-search { border-bottom: 1px solid #33364a; background: #262932; }
html[data-theme="dark"] .it-search input { border: 1.5px solid #33364a; background: #2d303c; }
html[data-theme="dark"] .it-search input:focus { background: #262932; }
html[data-theme="dark"] .it-row:hover,
html[data-theme="dark"] .it-row:active { background: #2d303c; }
html[data-theme="dark"] .it-row-t b { color: #d9e1f2; }
@media (max-width: 767.98px) {
html[data-theme="dark"] .it-modal.tp-m .modal-header::before { background: #3f4556; }
}
html[data-theme="dark"] .gc-page .gc-select { border: 1.5px solid #33364a; background: #262932; color: #d9e1f2; }
html[data-theme="dark"] .gc-page .gc-search input { border: 1.5px solid #33364a; background: #262932; }
html[data-theme="dark"] .gc-page .gc-qty { background: #2d303c; color: #b9bdc3; }
html[data-theme="dark"] .gc-page .gc-stepper button { background: #262932; color: #b0c7f4; }
html[data-theme="dark"] .gc-page .gc-stepper b { color: #d9e1f2; }
html[data-theme="dark"] .gc-code { border: 1.5px dashed #33364a; background: #262932; }
html[data-theme="dark"] .gc-code-row b { color: #d9e1f2; }
html[data-theme="dark"] .gc-code-row span { color: #b9bdc3; }
html[data-theme="dark"] .gc-link { color: #b0c7f4; }
html[data-theme="dark"] .vc-act { border: 1.5px solid #33364a; background: #262932; color: #b9bdc3; }
html[data-theme="dark"] .vc-act em { background: hsla(44,70%,55%,.16); color: #f3d094; }
html[data-theme="dark"] .vc-empty p { color: #b9bdc3; }
html[data-theme="dark"] .vc-page .vc-l { color: #b9bdc3; }
html[data-theme="dark"] .vc-page .vc-in { border: 1.5px solid #33364a; background: #262932; color: #d9e1f2; }
html[data-theme="dark"] .vc-note { color: #b9bdc3; }
html[data-theme="dark"] .vc-d { border-bottom: 1px dashed #33364a; }
html[data-theme="dark"] .vc-d b { color: #d9e1f2; }
/* ---- from css/tapsy-fixes.css (12 rules) ---- */
html[data-theme="dark"] .tp-cancel { color: #b9bdc3; }
html[data-theme="dark"] .tp-cancel:active { background: #2d303c; }
@media (max-width: 767.98px) {
html[data-theme="dark"] .tp-bar { background: #262932; border-bottom: 1px solid #33364a; }
html[data-theme="dark"] .tp-bar::before { background: #3f4556; }
html[data-theme="dark"] .tp-bar-title { color: #d9e1f2; }
html[data-theme="dark"] .tp-bar-x { background: #2d303c; color: #d9e1f2; }
html[data-theme="dark"] .tp-bar-x:active { background: #363b4a; }
}
html[data-theme="dark"] .tp-net-note { background: #2d303c; color: #b9bdc3; }
html[data-theme="dark"] .tp-net-note.ok { background: #2d303c; color: #9cefbb; }
html[data-theme="dark"] .tp-net-note.warn { background: hsla(45,70%,55%,.16); color: #f3d094; }
html[data-theme="dark"] .tp-net-note.bad { background: #2d303c; color: #eb7a7a; }
html[data-theme="dark"] .tp-net-act button.ghost { background: #262932; border: 1.5px solid #33364a; color: #b9bdc3; }
/* ---- from css/custom.css (54 rules) ---- */
html[data-theme="dark"] .action-sheet-transfer:not(:last-child) { border-bottom: 1px solid #33364a; }
html[data-theme="dark"] .action-sheet-transfer .icon i { color: #f0a675; }
html[data-theme="dark"] .bottom-navigation-bar { background: #262932; }
html[data-theme="dark"] .bottom-navigation-bar.st1 { background: #2d303c; }
html[data-theme="dark"] .tf-navigation-bar li a:focus,
html[data-theme="dark"] .tf-navigation-bar li a:active,
html[data-theme="dark"] .tf-navigation-bar li a:hover { color: #e7e7e7; }
html[data-theme="dark"] .tf-navigation-bar li.active a { color: #e7e7e7; }
html[data-theme="dark"] .tf-navigation-bar li.active a i { color: #f0a675; }
html[data-theme="dark"] .service-card { background: #262932; border: 1px solid #33364a; }
html[data-theme="dark"] .icon-wrapper { background: linear-gradient(135deg, #2d303c, hsla(226,70%,55%,.16)); }
html[data-theme="dark"] .service-card h6 { color: #dbdbdb; }
html[data-theme="dark"] .service-card { background: #262932; border: 1px solid #33364a; }
html[data-theme="dark"] .service-card.premium { background: linear-gradient(180deg, #262932, #262932); }
html[data-theme="dark"] .wallet-card .btn-light { background: #262932; color: #75a7f0; }
html[data-theme="dark"] .wallet-card .btn-light:hover { background: #2d303c; }
html[data-theme="dark"] .country-item { border-bottom: 1px solid #33364a; }
html[data-theme="dark"] .country-item:hover { background: #2d303c; }
html[data-theme="dark"] .country-flag { border: 1px solid #33364a; }
html[data-theme="dark"] .small { color: #b6b6b6; }
html[data-theme="dark"] .country-item:hover { background: #2d303c; }
html[data-theme="dark"] .sticky-search { background: #262932; }
html[data-theme="dark"] .operator-card { background: #262932; border: 1px solid #33364a; }
html[data-theme="dark"] .operator-card:hover { border-color: #33364a; }
html[data-theme="dark"] .op-logo-wrap { background: #2d303c; }
html[data-theme="dark"] .op-name { color: #eeeeee; }
html[data-theme="dark"] .op-meta { color: #b6b6b6; }
html[data-theme="dark"] .confirm-card { background: #262932; border: 1px solid #33364a; }
html[data-theme="dark"] .confirm-row span { color: #b6b6b6; }
html[data-theme="dark"] .confirm-row strong { color: #eeeeee; }
html[data-theme="dark"] .divider { background: #363b4a; }
html[data-theme="dark"] .confirm-total { border-top: 1px solid #33364a; }
html[data-theme="dark"] .confirm-total span { color: #b6b6b6; }
html[data-theme="dark"] .confirm-total h4 { color: #75a7f0; }
html[data-theme="dark"] .amount-chip { border: 1px solid #33364a; background: #262932; }
html[data-theme="dark"] .amount-chip .amount-value { color: #eeeeee; }
html[data-theme="dark"] .amount-chip .amount-currency { color: #b6b6b6; }
html[data-theme="dark"] .premium-card { background: #262932; border: 1px solid #33364a; }
html[data-theme="dark"] .op-meta { color: #adadad; }
html[data-theme="dark"] .premium-chip { border: 1px solid #33364a; background: #2d303c; }
html[data-theme="dark"] .premium-chip:hover { background: #2d303c; }
html[data-theme="dark"] .premium-input { border: 1px solid #33364a; }
html[data-theme="dark"] .range-hint { color: #adadad; }
html[data-theme="dark"] .confirm-card { background: #262932; }
html[data-theme="dark"] .summary-row span { color: #b6b6b6; }
html[data-theme="dark"] .gift-title { color: #c0c0c0; }
html[data-theme="dark"] .gift-country { color: #c0c0c0; }
html[data-theme="dark"] .success-subtitle { color: #b3b5bb; }
html[data-theme="dark"] .success-card { background: #2d303c; }
html[data-theme="dark"] .row-item span:first-child { color: #b3b5bb; }
html[data-theme="dark"] .row-item.total span:last-child { color: #87efad; }
html[data-theme="dark"] .copy-btn { background: #363b4a; }
html[data-theme="dark"] .flight-search-card input::placeholder { color: #aeb4bd; }
html[data-theme="dark"] .vcc-header p { color: #b6b6b6; }
html[data-theme="dark"] .cvv-box { background: #262932; color: #f7f7f7; }
html[data-theme="dark"] .slider::before { background: #262932; }
/* ---- from css/tapsy-auth-v8.css (29 rules) ---- */
html[data-theme="dark"] .a8-body { background: #262932; color: #d9e1f2; }
html[data-theme="dark"] .a8-main { background: #262932; }
html[data-theme="dark"] .a8-h { color: #d9e1f2; }
html[data-theme="dark"] .a8-sub { color: #b9bdc3; }
html[data-theme="dark"] .a8-badge { background: hsla(47,70%,55%,.16); color: #f5e0a6; }
html[data-theme="dark"] .a8-label { color: #cbd4e4; }
html[data-theme="dark"] .a8-input { border: 1.5px solid #33364a; background: #2d303c; color: #d9e1f2; }
html[data-theme="dark"] .a8-input:hover { border-color: hsla(220,60%,50%,.35); }
html[data-theme="dark"] .a8-input:focus { background: #262932; }
html[data-theme="dark"] .a8-wrap:focus-within .a8-ico { color: #b0c7f4; }
html[data-theme="dark"] .a8-eye { color: #afb2ba; }
html[data-theme="dark"] .a8-eye:hover { background: #2d303c; color: #b0c7f4; }
html[data-theme="dark"] .a8-eye.on { color: #b0c7f4; }
html[data-theme="dark"] .a8-check { color: #c9cdd5; }
html[data-theme="dark"] .a8-link { color: #b0c7f4; }
html[data-theme="dark"] .a8-link:hover { color: #9bb9f1; }
html[data-theme="dark"] .a8-btn.ghost { background: #2d303c; color: #b0c7f4; }
html[data-theme="dark"] .a8-btn.ghost:hover { background: #363b4a; }
html[data-theme="dark"] .a8-divider::before,
html[data-theme="dark"] .a8-divider::after { background: #363b4a; }
html[data-theme="dark"] .a8-bottom { color: #b9bdc3; }
html[data-theme="dark"] .a8-bottom a { color: #b0c7f4; }
html[data-theme="dark"] .a8-meter i { background: #363b4a; }
html[data-theme="dark"] .a8-hint { color: #afb2ba; }
html[data-theme="dark"] .a8-hint b { color: #c9cdd5; }
html[data-theme="dark"] .a8-hint .ok { color: #87efad; }
html[data-theme="dark"] .a8-hint .bad { color: #ea7b7b; }
html[data-theme="dark"] .a8-note { color: #afb2ba; }
html[data-theme="dark"] .a8-admin .a8-main { background: #2d303c; }
html[data-theme="dark"] .a8-admin .a8-card { background: #262932; border: 1px solid #33364a; }
/* ---- from css/tapsy-auth.css (9 rules) ---- */
html[data-theme="dark"] .tp7a-card { background: #262932; }
html[data-theme="dark"] .tp7a-padlock::before { border: 3px solid #33364a; }
html[data-theme="dark"] .tp7a h2 span { color: #b0c7f4; }
html[data-theme="dark"] .tp7a p { color: #b9bdc3; }
html[data-theme="dark"] .tp7a-steps li::before { border: 2px solid #33364a; }
html[data-theme="dark"] .tp7a-steps li.now { color: #d9e1f2; }
html[data-theme="dark"] .tp7a-steps li.done { color: #b9bdc3; }
html[data-theme="dark"] .tp7a-bar { background: #2d303c; }
html[data-theme="dark"] .tp7a-error { background: #2d303c; border: 1px solid hsla(0,60%,50%,.35); color: #eb7a7a; }
/* ---- from css/tapsy-cx.css (new) (15 rules) ---- */
html[data-theme="dark"] .cx-choice { background: #262932; }
html[data-theme="dark"] .cx-choice:hover { border-color: hsla(221,60%,50%,.35); }
html[data-theme="dark"] .cx-choice em { color: #9db8f0; }
html[data-theme="dark"] .cx-file { border: 1.5px dashed hsla(221,60%,50%,.35); background: #262932; }
html[data-theme="dark"] .cx-file i { color: #9db8f0; }
html[data-theme="dark"] .cx-file.has { background: #2d303c; }
html[data-theme="dark"] .cx-file.has .nm { color: #adedc6; }
html[data-theme="dark"] .cx-note { background: #2d303c; }
html[data-theme="dark"] .cx-pill { background: #2d303c; color: #9db8f0; }
html[data-theme="dark"] .cx-pill.ok { background: hsla(141,70%,55%,.16); color: #adedc6; }
html[data-theme="dark"] .cx-pill.bad { background: hsla(0,70%,55%,.16); color: #eb8e8e; }
html[data-theme="dark"] .cx-pill.wait { background: hsla(48,70%,55%,.16); color: #f3b692; }
html[data-theme="dark"] .cx-sum li.total b { color: #9db8f0; }
html[data-theme="dark"] .cx-btn.ghost { background: #262932; color: #9db8f0; }
html[data-theme="dark"] .cx-act { background: #262932; color: #9db8f0; }
/* ---- from account/main/referral.php <style> (15 rules) ---- */
html[data-theme="dark"] .rfu-stat { background: #262932; border: 1px solid #33364a; }
html[data-theme="dark"] .rfu-stat small { color: #a5a9b2; }
html[data-theme="dark"] .rfu-stat b { color: #c7d3ed; }
html[data-theme="dark"] .rfu-card { background: #262932; border: 1px solid #33364a; }
html[data-theme="dark"] .rfu-card h3 { color: #c7d3ed; }
html[data-theme="dark"] .rfu-step i { background: #2d303c; color: #7e91e7; }
html[data-theme="dark"] .rfu-step b { color: #c7d3ed; }
html[data-theme="dark"] .rfu-step span { color: #acb0b9; }
html[data-theme="dark"] .rfu-rate { background: #2d303c; border: 1px solid hsla(227,60%,50%,.35); color: #8d9de5; }
html[data-theme="dark"] .rfu-list td,
html[data-theme="dark"] .rfu-list th { border-bottom: 1px solid #33364a; }
html[data-theme="dark"] .rfu-list th { color: #a5a9b2; }
html[data-theme="dark"] .rfu-pill.ok { background: #363b4a; color: #9cf1bf; }
html[data-theme="dark"] .rfu-pill.wait { background: hsla(41,70%,55%,.16); color: #f3d090; }
html[data-theme="dark"] .rfu-empty { color: #a5a9b2; }
html[data-theme="dark"] .rfu-off { background: hsla(41,70%,55%,.16); color: #f5dea6; }
/* ============ Part 5: exceptions (white parts that sit on coloured surfaces and must stay white) ============ */
html[data-theme="dark"] .tp7-burger i { background: #fff; }
html[data-theme="dark"] .tp7-burger i:nth-child(2) { background: var(--t7-gold, #eab308); }
html[data-theme="dark"] .dt-net-logo img { background: #fff; }
html[data-theme="dark"] .slider::before { background: #fff; }

/* ============ sign-in: Google button frame ============ */
html[data-theme="dark"] .a8-google-in { background: #1f222c; }
html[data-theme="dark"] .a8-google { box-shadow: 0 10px 26px -14px rgba(0,0,0,.9); }
html[data-theme="dark"] .a8-google-note { color: #8c95aa; }

/* ============ v1.2 Buy Data / Airtime: selected cards readable in dark mode ============
   The selected card used the network's LIGHT tint (pale yellow for MTN) with white text on it.
   Now it is a dark card with a coloured edge, white text and a bright price. */
html[data-theme="dark"] .dt-page .tapsy-network-card.is-selected,
html[data-theme="dark"] .dt-page .dt-plan.is-selected {
  background: #33323a;
  background: linear-gradient(180deg, color-mix(in srgb, var(--nc) 24%, #262932), #262932);
  border-color: var(--nc);
  box-shadow: 0 0 0 1px var(--nc), 0 10px 24px -14px var(--nc-shadow);
}
html[data-theme="dark"] .dt-page .tapsy-network-card.is-selected .dt-net-txt b { color: #fff; }
html[data-theme="dark"] .dt-page .tapsy-network-card.is-selected .dt-net-txt small { color: #cfd4e4; }
html[data-theme="dark"] .dt-page .dt-plan.is-selected .sz { color: #fff; }
html[data-theme="dark"] .dt-page .dt-plan.is-selected .sub { color: #cfd4e4; }
html[data-theme="dark"] .dt-page .dt-plan.is-selected .pr { color: var(--nc); }
html[data-theme="dark"] .dt-page .dt-chip.on { color: var(--nc-k); }

/* ============ v1.3 Confirm / Thank-you pop-ups (data, airtime, electricity, TV, exam ...) ============
   Titles, the plan line, recipient, transaction ID and the thank-you text were dark grey on a dark card. */
html[data-theme="dark"] .modal-toggle-wrapper h1,
html[data-theme="dark"] .modal-toggle-wrapper h2,
html[data-theme="dark"] .modal-toggle-wrapper h3,
html[data-theme="dark"] .modal-toggle-wrapper h4,
html[data-theme="dark"] .modal-toggle-wrapper h5,
html[data-theme="dark"] .modal-toggle-wrapper h6,
html[data-theme="dark"] .modal-toggle-wrapper .text-gray,
html[data-theme="dark"] .modal-toggle-wrapper .order-box .qty li span,
html[data-theme="dark"] .modal-toggle-wrapper .order-box .qty li h3 { color: #f1f3f9 !important; }
html[data-theme="dark"] .modal-toggle-wrapper .order-box .qty li,
html[data-theme="dark"] .modal-toggle-wrapper .order-box .title-box,
html[data-theme="dark"] .modal-toggle-wrapper p,
html[data-theme="dark"] .modal-toggle-wrapper .succmsg { color: #c9cedd; }
html[data-theme="dark"] .modal-toggle-wrapper .order-box .qty { border-bottom-color: #33364a; }
html[data-theme="dark"] .modal-toggle-wrapper .form-control { color: #f1f3f9; background: #1f222c; border-color: #33364a; }
html[data-theme="dark"] .modal-toggle-wrapper .form-control::placeholder { color: #8c95aa; }
