/* Dark Mode Styles */

/* =============================================
   Theme Switcher
   ============================================= */
.theme-switcher {
  position: relative;
}

.theme-switcher-toggle {
  width: 2.375rem;
  height: 2.375rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #697a8d;
}

.theme-switcher-toggle:hover,
.theme-switcher-toggle:focus {
  color: #696cff;
  background-color: rgba(105, 108, 255, 0.08);
}

.theme-switcher-menu {
  min-width: 10rem;
  padding: 0.5rem 0;
  border: 0;
  box-shadow: 0 0.25rem 1rem rgba(67, 89, 113, 0.16);
}

.theme-switcher-item {
  display: flex;
  align-items: center;
  min-height: 2.75rem;
  color: #566a7f;
  font-weight: 500;
}

.theme-switcher-item i {
  width: 1.25rem;
  font-size: 1.25rem;
}

.theme-switcher-item.active,
.theme-switcher-item:active {
  color: #696cff;
  background-color: #e7e7ff;
}

.auth-theme-switcher {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1080;
}

.auth-theme-switcher .theme-switcher-toggle {
  background-color: #fff;
  box-shadow: 0 0.25rem 1rem rgba(67, 89, 113, 0.16);
}

.auth-navbar-wrapper {
  position: fixed;
  top: 0.5rem;
  right: 1rem;
  left: 1rem;
  z-index: 1075;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.auth-navbar {
  width: auto;
  min-height: 3.875rem;
  padding: 0 1rem;
  pointer-events: auto;
}

.auth-navbar .navbar-nav {
  gap: 0.25rem;
}

.auth-navbar .nav-item {
  display: flex;
  align-items: center;
}

.navbar-action-link {
  width: 2.25rem;
  height: 2.25rem;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: #697a8d;
}

.navbar-action-link i,
.auth-navbar .theme-switcher-icon {
  font-size: 1.35rem !important;
  line-height: 1;
}

.auth-navbar .theme-switcher-toggle {
  box-shadow: none;
}

.auth-navbar .theme-switcher-toggle .theme-switcher-icon {
  font-size: 1.55rem !important;
}

.navbar-action-link:hover,
.navbar-action-link:focus {
  color: #696cff;
  background-color: rgba(105, 108, 255, 0.08);
}

.badge-notifications {
  position: absolute;
  top: 0.4rem;
  right: 0.45rem;
  min-width: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  padding: 0;
  font-size: 0;
  border: 2px solid #fff;
}

.notification-menu {
  width: 22rem;
  max-width: calc(100vw - 2rem);
  padding: 0;
  overflow: hidden;
  border: 0;
  box-shadow: 0 0.25rem 1rem rgba(67, 89, 113, 0.16);
}

.notification-menu .dropdown-header h6 {
  color: #566a7f;
  font-size: 1rem;
}

.notification-list {
  max-height: 27rem;
  overflow-y: auto;
}

.dropdown-notifications-item {
  padding: 1rem;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

.dropdown-notifications-item:hover {
  background-color: rgba(67, 89, 113, 0.04);
}

.dropdown-notifications-item h6 {
  color: #566a7f;
  font-size: 0.9375rem;
  line-height: 1.25;
}

.dropdown-notifications-item p {
  color: #697a8d;
  font-size: 0.875rem;
}

.dropdown-notifications-actions {
  display: flex;
  align-items: center;
  padding-left: 0.5rem;
}

.badge-dot {
  width: 0.5rem;
  height: 0.5rem;
  min-width: 0.5rem;
  padding: 0;
  border-radius: 50%;
}

.navbar-apps-menu {
  width: 15rem;
  padding: 0.75rem;
}

.navbar-app-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 0.375rem;
  font-size: 0.8125rem;
}

.navbar-app-link i {
  font-size: 1.35rem;
}

@media (max-width: 575.98px) {
  .auth-navbar-wrapper {
    top: 0.25rem;
    right: 0.5rem;
    left: 0.5rem;
  }

  .auth-navbar {
    width: 100%;
    justify-content: center;
    padding: 0 0.75rem;
  }

  .navbar-action-link,
  .theme-switcher-toggle {
    width: 2rem;
    height: 2rem;
  }

  .navbar-action-link i,
  .auth-navbar .theme-switcher-icon {
    font-size: 1.2rem !important;
  }

  .notification-menu {
    width: calc(100vw - 1rem);
  }
}

html[data-theme="dark"] .theme-switcher-toggle {
  color: #d9dee3;
}

html[data-theme="dark"] .theme-switcher-toggle:hover,
html[data-theme="dark"] .theme-switcher-toggle:focus {
  color: #fff;
  background-color: rgba(105, 108, 255, 0.16);
}

html[data-theme="dark"] .theme-switcher-menu {
  background-color: #242829;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .theme-switcher-item.active,
html[data-theme="dark"] .theme-switcher-item:active {
  color: #a5a7ff;
  background-color: rgba(105, 108, 255, 0.18);
}

html[data-theme="dark"] .auth-theme-switcher .theme-switcher-toggle {
  background-color: #242829;
}

html[data-theme="dark"] .auth-navbar {
  background-color: #242829 !important;
}

html[data-theme="dark"] .navbar-action-link {
  color: #d9dee3;
}

html[data-theme="dark"] .navbar-action-link:hover,
html[data-theme="dark"] .navbar-action-link:focus {
  color: #fff;
  background-color: rgba(105, 108, 255, 0.16);
}

html[data-theme="dark"] .badge-notifications {
  border-color: #242829;
}

html[data-theme="dark"] .notification-menu,
html[data-theme="dark"] .navbar-apps-menu {
  background-color: #242829;
  box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.38);
}

html[data-theme="dark"] .notification-menu .dropdown-header h6,
html[data-theme="dark"] .dropdown-notifications-item h6 {
  color: #e0e0e0;
}

html[data-theme="dark"] .dropdown-notifications-item p {
  color: #b6bec9;
}

html[data-theme="dark"] .dropdown-notifications-item:hover {
  background-color: #2d3139;
}

/* =============================================
   Dark Mode Variables
   ============================================= */
html[data-theme="dark"],
html.dark-mode {
  color-scheme: dark;
}

html[data-theme="dark"] {
  /* Override Bootstrap variables */
  --bs-body-bg: #1a1d23;
  --bs-body-color: #e0e0e0;
  --bs-border-color: #2d3139;
  --bs-secondary-bg: #242829;
  --bs-tertiary-bg: #2d3139;
}

/* =============================================
   Layout & Background
   ============================================= */
html[data-theme="dark"] .layout-wrapper,
html[data-theme="dark"] body {
  background-color: #1a1d23;
  color: #e0e0e0;
}

html[data-theme="dark"] .layout-page {
  background-color: #1a1d23;
}

html[data-theme="dark"] .content-wrapper {
  background-color: #1a1d23;
}

/* =============================================
   Sidebar Menu
   ============================================= */
html[data-theme="dark"] .layout-menu {
  background-color: #242829 !important;
  border-right: 1px solid #2d3139;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.28) !important;
}

html[data-theme="dark"] .bg-menu-theme {
  background-color: #242829 !important;
  color: #b6bec9;
}

html[data-theme="dark"] .bg-menu-theme .menu-link,
html[data-theme="dark"] .bg-menu-theme .menu-horizontal-prev,
html[data-theme="dark"] .bg-menu-theme .menu-horizontal-next,
html[data-theme="dark"] .bg-menu-theme .menu-text,
html[data-theme="dark"] .app-brand-text {
  color: #e0e0e0;
}

html[data-theme="dark"] .bg-menu-theme .menu-link:hover,
html[data-theme="dark"] .bg-menu-theme .menu-link:focus,
html:not(.layout-menu-collapsed)[data-theme="dark"] .bg-menu-theme .menu-inner .menu-item.open > .menu-link,
html:not(.layout-menu-collapsed)[data-theme="dark"] .bg-menu-theme .menu-inner .menu-item .menu-link:not(.active):hover {
  background-color: #2d3139 !important;
  color: #fff;
}

html[data-theme="dark"] .bg-menu-theme .menu-item.open:not(.menu-item-closing) > .menu-toggle,
html[data-theme="dark"] .bg-menu-theme .menu-item.active > .menu-link,
html[data-theme="dark"] .bg-menu-theme .menu-inner > .menu-item.active > .menu-link {
  background-color: rgba(105, 108, 255, 0.2) !important;
  color: #a5a7ff;
}

html[data-theme="dark"] .bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle) {
  background-color: rgba(105, 108, 255, 0.14) !important;
  color: #c8c9ff;
}

html[data-theme="dark"] .bg-menu-theme .menu-inner-shadow {
  background: linear-gradient(#242829 41%, rgba(36, 40, 41, 0.2) 95%, rgba(36, 40, 41, 0));
}

html[data-theme="dark"] .bg-menu-theme .menu-inner > .menu-item.open > .menu-sub::before,
html[data-theme="dark"] .bg-menu-theme .menu-divider,
html[data-theme="dark"] .bg-menu-theme hr {
  border-color: #343a46 !important;
}

html[data-theme="dark"] .bg-menu-theme .menu-sub > .menu-item > .menu-link:before {
  background-color: #596273 !important;
}

html[data-theme="dark"] .bg-menu-theme .menu-sub > .menu-item.active > .menu-link:not(.menu-toggle):before {
  background-color: #a5a7ff !important;
  border-color: #242829 !important;
}

html[data-theme="dark"] .bg-menu-theme .ps__thumb-y,
html[data-theme="dark"] .bg-menu-theme .ps__rail-y.ps--clicking > .ps__thumb-y {
  background: rgba(224, 224, 224, 0.22) !important;
}

html[data-theme="dark"] .menu-header-text {
  color: #8a8d9e;
}

html[data-theme="dark"] .layout-overlay {
  background-color: #05070b;
  opacity: 0.62;
}

@media (max-width: 1199.98px) {
  .layout-menu {
    width: min(17rem, calc(100vw - 3.25rem)) !important;
    max-width: calc(100vw - 3.25rem);
    z-index: 1090;
    overflow: hidden;
  }

  .layout-menu .app-brand {
    position: sticky;
    top: 0;
    z-index: 1;
    background: inherit;
  }

  .layout-menu .menu-inner {
    height: calc(100vh - 4rem);
    overflow-y: auto;
    overflow-x: hidden;
    padding-bottom: 1rem;
  }

  .layout-overlay {
    z-index: 1089;
    transition: opacity 0.2s ease;
  }

  .layout-menu-toggle .bx-menu {
    color: inherit;
  }

  #layout-menu .app-brand .layout-menu-toggle {
    width: 2.25rem;
    height: 2.25rem;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    border-radius: 0.5rem;
  }

  #layout-menu .app-brand .layout-menu-toggle:hover,
  #layout-menu .app-brand .layout-menu-toggle:focus {
    background-color: rgba(105, 108, 255, 0.12);
  }
}

/* =============================================
   Navbar
   ============================================= */
html[data-theme="dark"] .navbar {
  background-color: #242829 !important;
  border-bottom: 1px solid #2d3139;
}

html[data-theme="dark"] .nav-link,
html[data-theme="dark"] .navbar-nav .nav-item {
  color: #e0e0e0;
}

html[data-theme="dark"] .navbar-nav .nav-link:hover {
  color: #fff;
}

/* =============================================
   Cards & Content
   ============================================= */
html[data-theme="dark"] .card {
  background-color: #242829;
  border-color: #2d3139;
  color: #e0e0e0;
}

html[data-theme="dark"] .card-header {
  background-color: #2d3139;
  border-color: #3a3f4a;
  color: #e0e0e0;
}

html[data-theme="dark"] .card-body {
  color: #e0e0e0;
}

html[data-theme="dark"] .card-title,
html[data-theme="dark"] .card-subtitle {
  color: #e0e0e0;
}

/* =============================================
   Forms
   ============================================= */
html[data-theme="dark"] .form-control,
html[data-theme="dark"] .form-select {
  background-color: #2d3139;
  border-color: #3a3f4a;
  color: #e0e0e0;
}

html[data-theme="dark"] .form-control::placeholder {
  color: #8a8d9e;
}

html[data-theme="dark"] .form-control:focus,
html[data-theme="dark"] .form-select:focus {
  background-color: #2d3139;
  border-color: #696cff;
  color: #e0e0e0;
  box-shadow: 0 0 0 0.2rem rgba(105, 108, 255, 0.25);
}

html[data-theme="dark"] .input-group-text {
  background-color: #2d3139;
  border-color: #3a3f4a;
  color: #8a8d9e;
}

/* =============================================
   Tables
   ============================================= */
html[data-theme="dark"] .table {
  color: #e0e0e0;
  border-color: #2d3139;
}

html[data-theme="dark"] .table-hover tbody tr:hover {
  background-color: #2d3139;
}

html[data-theme="dark"] th {
  background-color: #2d3139;
  color: #e0e0e0;
  border-color: #3a3f4a;
}

html[data-theme="dark"] td {
  border-color: #2d3139;
}

/* =============================================
   Badges
   ============================================= */
html[data-theme="dark"] .badge {
  color: #e0e0e0;
}

html[data-theme="dark"] .badge-light {
  background-color: #3a3f4a;
  color: #e0e0e0;
}

html[data-theme="dark"] .badge-primary {
  background-color: #696cff;
}

html[data-theme="dark"] .badge-success {
  background-color: #71dd5e;
}

html[data-theme="dark"] .badge-danger {
  background-color: #ff6b6b;
}

html[data-theme="dark"] .badge-warning {
  background-color: #ffa502;
}

html[data-theme="dark"] .badge-info {
  background-color: #45b7d1;
}

/* =============================================
   Buttons
   ============================================= */
html[data-theme="dark"] .btn {
  border-color: transparent;
}

html[data-theme="dark"] .btn-secondary {
  background-color: #3a3f4a;
  border-color: #3a3f4a;
  color: #e0e0e0;
}

html[data-theme="dark"] .btn-secondary:hover {
  background-color: #4a5159;
  border-color: #4a5159;
}

html[data-theme="dark"] .btn-outline-secondary {
  border-color: #3a3f4a;
  color: #e0e0e0;
}

html[data-theme="dark"] .btn-outline-secondary:hover {
  background-color: #3a3f4a;
  border-color: #3a3f4a;
}

html[data-theme="dark"] .btn-light {
  background-color: #3a3f4a;
  border-color: #3a3f4a;
  color: #e0e0e0;
}

html[data-theme="dark"] .btn-light:hover {
  background-color: #4a5159;
  border-color: #4a5159;
}

/* =============================================
   Dropdowns
   ============================================= */
html[data-theme="dark"] .dropdown-menu {
  background-color: #242829;
  border-color: #2d3139;
}

html[data-theme="dark"] .dropdown-item {
  color: #e0e0e0;
}

html[data-theme="dark"] .dropdown-item:hover,
html[data-theme="dark"] .dropdown-item:focus {
  background-color: #2d3139;
  color: #fff;
}

html[data-theme="dark"] .dropdown-divider {
  border-color: #2d3139;
}

/* =============================================
   App-Specific Dark Mode
   ============================================= */
html[data-theme="dark"] .offer-card {
  background-color: #242829;
  border-color: #2d3139;
}

html[data-theme="dark"] .agent-greeting-hero {
  border-color: rgba(105, 108, 255, 0.24);
  background:
    linear-gradient(135deg, rgba(105, 108, 255, 0.2), rgba(3, 195, 236, 0.12) 48%, rgba(255, 171, 0, 0.08)),
    #242829;
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.26);
}

html[data-theme="dark"] .agent-tier-pill {
  background-color: rgba(45, 49, 57, 0.84);
  color: #d9dee3;
  box-shadow: inset 0 0 0 1px rgba(105, 108, 255, 0.18);
}

html[data-theme="dark"] .agent-greeting-copy h1 {
  color: #fff;
}

html[data-theme="dark"] .agent-greeting-copy p,
html[data-theme="dark"] .agent-greeting-actions .btn-link {
  color: #b6bec9;
}

html[data-theme="dark"] .agent-metric-card,
html[data-theme="dark"] .agent-sales-card {
  border-color: rgba(105, 108, 255, 0.16);
  background:
    linear-gradient(180deg, rgba(45, 49, 57, 0.94), #242829),
    #242829;
  color: #e0e0e0;
}

html[data-theme="dark"] .agent-metric-card:hover {
  box-shadow: 0 0.875rem 1.85rem rgba(0, 0, 0, 0.34);
}

html[data-theme="dark"] .agent-metric-card h3,
html[data-theme="dark"] .agent-sales-card .card-title {
  color: #fff;
}

html[data-theme="dark"] .agent-metric-card p,
html[data-theme="dark"] .agent-metric-chip,
html[data-theme="dark"] .network-chart-axis,
html[data-theme="dark"] .network-bar-item,
html[data-theme="dark"] .network-legend {
  color: #b6bec9;
}

html[data-theme="dark"] .agent-metric-chip {
  background-color: rgba(255, 255, 255, 0.07);
}

html[data-theme="dark"] .agent-metric-action {
  background-color: #2d3139;
  color: #e0e0e0;
}

html[data-theme="dark"] .agent-metric-action:hover {
  background-color: #3a3f4a;
  color: #a5a7ff;
}

html[data-theme="dark"] .agent-metric-action.is-muted {
  color: #8a8d9e;
}

html[data-theme="dark"] .network-bars {
  border-color: #3a3f4a;
  background-image: repeating-linear-gradient(to top, #2d3139 0, #2d3139 1px, transparent 1px, transparent 25%);
}

html[data-theme="dark"] .offer-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .kpi-card {
  background-color: #242829;
  border-color: #2d3139;
}

html[data-theme="dark"] .wallet-balance {
  background: linear-gradient(135deg, #2d5a7b, #1e3d52);
  color: #fff;
}

html[data-theme="dark"] .commission-stat {
  background: linear-gradient(135deg, #3d5a2d, #2d4620);
  color: #fff;
}

html[data-theme="dark"] .storefront-preview {
  background: linear-gradient(135deg, #5a4a2d, #3d3320);
}

html[data-theme="dark"] .storefront-preview-inner {
  background: #2d3139;
}

html[data-theme="dark"] .nav-tabs {
  border-color: #2d3139;
}

html[data-theme="dark"] .nav-tabs .nav-link {
  color: #8a8d9e;
  border-color: transparent;
}

html[data-theme="dark"] .nav-tabs .nav-link:hover {
  border-color: #2d3139;
  color: #e0e0e0;
}

html[data-theme="dark"] .nav-tabs .nav-link.active {
  background-color: #242829;
  border-color: #696cff #2d3139 #242829 #2d3139;
  color: #696cff;
}

/* =============================================
   Text Colors
   ============================================= */
html[data-theme="dark"] .text-muted {
  color: #8a8d9e !important;
}

html[data-theme="dark"] .text-secondary {
  color: #8a8d9e !important;
}

html[data-theme="dark"] .text-dark {
  color: #e0e0e0 !important;
}

/* =============================================
   Alerts
   ============================================= */
html[data-theme="dark"] .alert {
  background-color: #242829;
  border-color: #2d3139;
  color: #e0e0e0;
}

html[data-theme="dark"] .alert-info {
  background-color: #1e3a45;
  border-color: #2d5a7b;
  color: #a8d8e8;
}

html[data-theme="dark"] .alert-success {
  background-color: #1e3a2d;
  border-color: #2d5a3d;
  color: #a8e8b8;
}

html[data-theme="dark"] .alert-warning {
  background-color: #3a3120;
  border-color: #5a5a2d;
  color: #e8d4a8;
}

html[data-theme="dark"] .alert-danger {
  background-color: #3a1e1e;
  border-color: #5a2d2d;
  color: #e8a8a8;
}

/* =============================================
   Modals
   ============================================= */
html[data-theme="dark"] .modal-content {
  background-color: #242829;
  border-color: #2d3139;
  color: #e0e0e0;
}

html[data-theme="dark"] .modal-header {
  background-color: #2d3139;
  border-color: #3a3f4a;
}

html[data-theme="dark"] .modal-body {
  color: #e0e0e0;
}

html[data-theme="dark"] .modal-footer {
  background-color: #2d3139;
  border-color: #3a3f4a;
}

html[data-theme="dark"] .close,
html[data-theme="dark"] .btn-close {
  color: #e0e0e0;
}

/* =============================================
   Buy Data Page
   ============================================= */
html[data-theme="dark"] .purchase-hero {
  border-color: #343a46;
  background:
    linear-gradient(135deg, rgba(105, 108, 255, 0.2), rgba(3, 169, 244, 0.1) 52%, rgba(40, 199, 111, 0.08)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.04) 0 1px, transparent 1px 4.5rem);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.2);
}

html[data-theme="dark"] .purchase-hero-copy h4,
html[data-theme="dark"] .purchase-wallet strong,
html[data-theme="dark"] .purchase-builder-title h5,
html[data-theme="dark"] .network-option,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .purchase-mode,
html[data-theme="dark"] .plan-card strong,
html[data-theme="dark"] .purchase-summary-list strong,
html[data-theme="dark"] .purchase-help strong {
  color: #e8eaf2;
}

html[data-theme="dark"] .purchase-hero-copy p,
html[data-theme="dark"] .purchase-wallet span,
html[data-theme="dark"] .purchase-summary-list span,
html[data-theme="dark"] .purchase-summary-network small,
html[data-theme="dark"] .network-option small,
html[data-theme="dark"] .plan-card .plan-copy small,
html[data-theme="dark"] .purchase-help span {
  color: #9aa3b2;
}

html[data-theme="dark"] .purchase-wallet,
html[data-theme="dark"] .purchase-summary,
html[data-theme="dark"] .purchase-help,
html[data-theme="dark"] .bulk-panel,
html[data-theme="dark"] .purchase-network-accordion .accordion-item,
html[data-theme="dark"] .purchase-network-accordion .accordion-button,
html[data-theme="dark"] .network-option,
html[data-theme="dark"] .plan-card,
html[data-theme="dark"] .purchase-mode {
  border-color: #343a46;
  background-color: #242829;
  box-shadow: none;
}

html[data-theme="dark"] .purchase-eyebrow,
html[data-theme="dark"] .purchase-step {
  background-color: rgba(105, 108, 255, 0.16);
}

html[data-theme="dark"] .purchase-wallet {
  border-color: #343a46;
  background:
    linear-gradient(135deg, #242829, #20242c),
    linear-gradient(90deg, rgba(105, 108, 255, 0.12), transparent);
}

html[data-theme="dark"] .purchase-wallet::after {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
}

html[data-theme="dark"] .purchase-wallet-icon {
  background-color: rgba(105, 108, 255, 0.16);
  box-shadow: inset 0 0 0 1px rgba(105, 108, 255, 0.2);
}

html[data-theme="dark"] .purchase-wallet-icon::before {
  border-color: rgba(105, 108, 255, 0.28);
}

html[data-theme="dark"] .purchase-builder-header {
  border-color: #343a46;
}

html[data-theme="dark"] .network-logo,
html[data-theme="dark"] .plan-network-logo,
html[data-theme="dark"] .purchase-summary-network {
  background-color: #2d3139;
}

html[data-theme="dark"] .purchase-network-accordion .accordion-button:not(.collapsed) {
  background-color: #242a34;
  color: #e8eaf2;
}

html[data-theme="dark"] .purchase-network-accordion .accordion-body {
  border-color: #343a46;
}

html[data-theme="dark"] .product-hero,
html[data-theme="dark"] .product-balance,
html[data-theme="dark"] .product-form-card,
html[data-theme="dark"] .product-summary,
html[data-theme="dark"] .product-table-card,
html[data-theme="dark"] .checker-card {
  border-color: #343a46;
  background-color: #242829;
  color: #e8eaf2;
  box-shadow: none;
}

html[data-theme="dark"] .product-hero h4,
html[data-theme="dark"] .product-balance strong,
html[data-theme="dark"] .product-summary-top h5,
html[data-theme="dark"] .product-summary-top strong,
html[data-theme="dark"] .pin-preview strong {
  color: #e8eaf2;
}

html[data-theme="dark"] .product-balance span,
html[data-theme="dark"] .product-summary-list span,
html[data-theme="dark"] .pin-preview span,
html[data-theme="dark"] .checker-card small,
html[data-theme="dark"] .checker-card em {
  color: #9aa3b2;
}

html[data-theme="dark"] .product-form-card .card-header,
html[data-theme="dark"] .product-summary-list div,
html[data-theme="dark"] .pin-preview {
  border-color: #343a46;
}

html[data-theme="dark"] .product-balance i,
html[data-theme="dark"] .product-summary-top i,
html[data-theme="dark"] .checker-card i {
  background-color: rgba(105, 108, 255, 0.16);
}

html[data-theme="dark"] .network-heading-copy strong {
  color: #e8eaf2;
}

html[data-theme="dark"] .network-heading-copy small {
  color: #9aa3b2;
}

html[data-theme="dark"] .purchase-mode-row {
  border-color: #343a46;
  background-color: #1f232b;
}

html[data-theme="dark"] .excel-panel {
  border-color: #343a46;
  background-color: #242829;
}

html[data-theme="dark"] .excel-panel:hover,
html[data-theme="dark"] .excel-panel.is-dragging {
  border-color: #696cff;
  background-color: rgba(105, 108, 255, 0.12);
}

html[data-theme="dark"] .excel-panel i {
  background-color: rgba(105, 108, 255, 0.14);
}

html[data-theme="dark"] .bulk-panel-header small,
html[data-theme="dark"] .bulk-panel-footer small,
html[data-theme="dark"] .excel-panel p,
html[data-theme="dark"] .excel-panel small {
  color: #9aa3b2;
}

html[data-theme="dark"] .plan-network-logo {
  border-color: #343a46;
  box-shadow: none;
}

html[data-theme="dark"] .network-option.active,
html[data-theme="dark"] .plan-card.active,
html[data-theme="dark"] .purchase-mode.active {
  border-color: #696cff;
  background-color: rgba(105, 108, 255, 0.14);
}

html[data-theme="dark"] .purchase-summary-list div {
  border-color: #343a46;
}

html[data-theme="dark"] .purchase-help i {
  background-color: rgba(3, 169, 244, 0.14);
}

/* =============================================
   Scrollbar
   ============================================= */
html[data-theme="dark"] ::-webkit-scrollbar {
  width: 10px;
}

html[data-theme="dark"] ::-webkit-scrollbar-track {
  background: #242829;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: #3a3f4a;
  border-radius: 5px;
}

html[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: #4a5159;
}

/* =============================================
   Footer
   ============================================= */
html[data-theme="dark"] .footer {
  background-color: #242829;
  border-top: 1px solid #2d3139;
  color: #8a8d9e;
}
