/* Cashback V36.7.83 — final surface pass
   - Make every default-light page use the same white page canvas.
   - Remove the redundant outer admin-card shell that looked like a square frame.
   - Use one glass opacity/blur system for balances and withdrawal filters in all
     three seasonal themes. Text stays fully opaque; only panel backgrounds tint. */

/* -------------------------------------------------------------------------
   DEFAULT LIGHT MODE: one white canvas, independent of the selected tab.
   Higher specificity than the older appearance/light-contrast sheets.
   ------------------------------------------------------------------------- */
html body.theme-default.default-light-mode,
html body.default-light-mode {
  color-scheme: light !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #25344a !important;
}
html body.theme-default.default-light-mode .main-container,
html body.theme-default.default-light-mode main,
html body.theme-default.default-light-mode .main-content,
html body.theme-default.default-light-mode .page-content,
html body.theme-default.default-light-mode .tab-content,
html body.theme-default.default-light-mode .tab-content.active,
html body.theme-default.default-light-mode #tab-home,
html body.theme-default.default-light-mode #tab-finance,
html body.theme-default.default-light-mode #tab-orders,
html body.theme-default.default-light-mode #tab-converter,
html body.theme-default.default-light-mode #tab-profile,
html body.theme-default.default-light-mode #tab-support,
html body.theme-default.default-light-mode #tab-admin,
html body.theme-default.default-light-mode .app-footer,
html body.default-light-mode .main-container,
html body.default-light-mode main,
html body.default-light-mode .main-content,
html body.default-light-mode .page-content,
html body.default-light-mode .tab-content,
html body.default-light-mode .tab-content.active,
html body.default-light-mode .app-footer {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #25344a !important;
}
html body.theme-default.default-light-mode .admin-pane,
html body.theme-default.default-light-mode .admin-pane.active,
html body.default-light-mode .admin-pane,
html body.default-light-mode .admin-pane.active {
  background: transparent !important;
  background-color: transparent !important;
  color: #25344a !important;
}

/* Light-mode cards are opaque by design: no background text/scene may show
   through the content, while thin borders preserve the visual hierarchy. */
html body.default-light-mode .seasonal-kpi,
html body.default-light-mode .seasonal-orders,
html body.default-light-mode .balance-card,
html body.default-light-mode #balance-summary-source,
html body.default-light-mode #balance-summary-source > *,
html body.default-light-mode .finance-card,
html body.default-light-mode .withdrawal-card,
html body.default-light-mode .customer-withdrawals-card,
html body.default-light-mode .customer-withdrawal-row,
html body.default-light-mode .bank-management-card,
html body.default-light-mode .customer-bank-item,
html body.default-light-mode .profile-page-card,
html body.default-light-mode .converter-card,
html body.default-light-mode .table-card,
html body.default-light-mode .admin-card,
html body.default-light-mode .admin-section-card,
html body.default-light-mode .section-card,
html body.default-light-mode .content-card,
html body.default-light-mode .filter-card,
html body.default-light-mode .order-card,
html body.default-light-mode .support-card,
html body.default-light-mode .commission-card,
html body.default-light-mode .customer-admin-subnav {
  color: #26364c !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border-color: #d5dfeb !important;
  box-shadow: 0 5px 18px rgba(37,55,82,.075) !important;
  opacity: 1 !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}
html body.default-light-mode .customer-withdrawal-row,
html body.default-light-mode .customer-bank-item {
  background: #f6f8fc !important;
  background-color: #f6f8fc !important;
  border-color: #d9e2ed !important;
}
html body.default-light-mode .customer-withdrawals-filters {
  background: #f6f8fc !important;
  background-color: #f6f8fc !important;
  background-image: none !important;
  border: 1px solid #d9e2ed !important;
  border-radius: 16px !important;
  padding: 12px !important;
  box-shadow: inset 0 1px 2px rgba(37,55,82,.025) !important;
}
html body.default-light-mode .customer-withdrawals-filters label {
  color: #52647b !important;
}
html body.default-light-mode .customer-withdrawals-card input,
html body.default-light-mode .customer-withdrawals-card select,
html body.default-light-mode .customer-withdrawals-card textarea,
html body.default-light-mode .bank-management-card input,
html body.default-light-mode .bank-management-card select,
html body.default-light-mode .bank-management-card textarea,
html body.default-light-mode .tab-content input:not([type="checkbox"]):not([type="radio"]),
html body.default-light-mode .tab-content select,
html body.default-light-mode .tab-content textarea {
  color: #26364c !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #cbd7e5 !important;
  opacity: 1 !important;
}
html body.default-light-mode .tab-content input::placeholder,
html body.default-light-mode .tab-content textarea::placeholder {
  color: #8796a8 !important;
  opacity: 1 !important;
}
html body.default-light-mode .tab-content h1,
html body.default-light-mode .tab-content h2,
html body.default-light-mode .tab-content h3,
html body.default-light-mode .tab-content h4,
html body.default-light-mode .tab-content strong,
html body.default-light-mode .admin-pane h2,
html body.default-light-mode .admin-pane h3 {
  color: #26364c !important;
  text-shadow: none !important;
}
html body.default-light-mode .tab-content p,
html body.default-light-mode .tab-content label,
html body.default-light-mode .tab-content small {
  color: #5d6e83 !important;
}

/* Remove the redundant outer white rectangle around the Admin navigation.
   The navigation itself remains a single rounded card; inner admin cards are
   intentionally not affected by this direct-child selector. */
html body.default-light-mode #tab-admin > .admin-card,
html body.theme-default.default-light-mode #tab-admin > .admin-card,
html body.theme-halloween:not(.default-light-mode) #tab-admin > .admin-card,
html body.theme-winter:not(.default-light-mode) #tab-admin > .admin-card,
html body.theme-ocean:not(.default-light-mode) #tab-admin > .admin-card {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
}
html body.default-light-mode #tab-admin > .admin-card > .admin-subnav {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border: 1px solid #d5dfeb !important;
  border-radius: 22px !important;
  box-shadow: 0 5px 18px rgba(37,55,82,.075) !important;
  padding: 18px !important;
  margin: 0 0 20px !important;
}

/* -------------------------------------------------------------------------
   SEASONAL DARK THEMES: the same surface alpha and blur for the balance cards,
   withdrawal history, its date/time filter panel, and bank-account panel.
   Opacity is never applied to the element itself, so text remains crisp.
   ------------------------------------------------------------------------- */
html body.theme-halloween:not(.default-light-mode) .seasonal-kpi,
html body.theme-halloween:not(.default-light-mode) .seasonal-orders,
html body.theme-halloween:not(.default-light-mode) .balance-card,
html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-card,
html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-filters,
html body.theme-halloween:not(.default-light-mode) .bank-management-card,
html body.theme-halloween:not(.default-light-mode) .customer-withdrawal-row,
html body.theme-halloween:not(.default-light-mode) .customer-bank-item,
html body.theme-halloween:not(.default-light-mode) .profile-page-card,
html body.theme-halloween:not(.default-light-mode) .converter-card,
html body.theme-halloween:not(.default-light-mode) .table-card,
html body.theme-halloween:not(.default-light-mode) .admin-subnav,
html body.theme-winter:not(.default-light-mode) .seasonal-kpi,
html body.theme-winter:not(.default-light-mode) .seasonal-orders,
html body.theme-winter:not(.default-light-mode) .balance-card,
html body.theme-winter:not(.default-light-mode) .customer-withdrawals-card,
html body.theme-winter:not(.default-light-mode) .customer-withdrawals-filters,
html body.theme-winter:not(.default-light-mode) .bank-management-card,
html body.theme-winter:not(.default-light-mode) .customer-withdrawal-row,
html body.theme-winter:not(.default-light-mode) .customer-bank-item,
html body.theme-winter:not(.default-light-mode) .profile-page-card,
html body.theme-winter:not(.default-light-mode) .converter-card,
html body.theme-winter:not(.default-light-mode) .table-card,
html body.theme-winter:not(.default-light-mode) .admin-subnav,
html body.theme-ocean:not(.default-light-mode) .seasonal-kpi,
html body.theme-ocean:not(.default-light-mode) .seasonal-orders,
html body.theme-ocean:not(.default-light-mode) .balance-card,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-card,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-filters,
html body.theme-ocean:not(.default-light-mode) .bank-management-card,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawal-row,
html body.theme-ocean:not(.default-light-mode) .customer-bank-item,
html body.theme-ocean:not(.default-light-mode) .profile-page-card,
html body.theme-ocean:not(.default-light-mode) .converter-card,
html body.theme-ocean:not(.default-light-mode) .table-card,
html body.theme-ocean:not(.default-light-mode) .admin-subnav {
  -webkit-backdrop-filter: blur(18px) saturate(130%) !important;
  backdrop-filter: blur(18px) saturate(130%) !important;
  border: 1px solid rgba(190,215,245,.28) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,.19), inset 0 1px 0 rgba(255,255,255,.10) !important;
  opacity: 1 !important;
}
html body.theme-halloween:not(.default-light-mode) .seasonal-kpi,
html body.theme-halloween:not(.default-light-mode) .seasonal-orders,
html body.theme-halloween:not(.default-light-mode) .balance-card,
html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-card,
html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-filters,
html body.theme-halloween:not(.default-light-mode) .bank-management-card,
html body.theme-halloween:not(.default-light-mode) .customer-withdrawal-row,
html body.theme-halloween:not(.default-light-mode) .customer-bank-item,
html body.theme-halloween:not(.default-light-mode) .profile-page-card,
html body.theme-halloween:not(.default-light-mode) .converter-card,
html body.theme-halloween:not(.default-light-mode) .table-card,
html body.theme-halloween:not(.default-light-mode) .admin-subnav {
  color: #f2edff !important;
  background: linear-gradient(145deg, rgba(58,39,82,.84), rgba(28,22,50,.88)) !important;
}
html body.theme-winter:not(.default-light-mode) .seasonal-kpi,
html body.theme-winter:not(.default-light-mode) .seasonal-orders,
html body.theme-winter:not(.default-light-mode) .balance-card,
html body.theme-winter:not(.default-light-mode) .customer-withdrawals-card,
html body.theme-winter:not(.default-light-mode) .customer-withdrawals-filters,
html body.theme-winter:not(.default-light-mode) .bank-management-card,
html body.theme-winter:not(.default-light-mode) .customer-withdrawal-row,
html body.theme-winter:not(.default-light-mode) .customer-bank-item,
html body.theme-winter:not(.default-light-mode) .profile-page-card,
html body.theme-winter:not(.default-light-mode) .converter-card,
html body.theme-winter:not(.default-light-mode) .table-card,
html body.theme-winter:not(.default-light-mode) .admin-subnav {
  color: #edf6ff !important;
  background: linear-gradient(145deg, rgba(33,72,112,.84), rgba(12,36,66,.88)) !important;
}
html body.theme-ocean:not(.default-light-mode) .seasonal-kpi,
html body.theme-ocean:not(.default-light-mode) .seasonal-orders,
html body.theme-ocean:not(.default-light-mode) .balance-card,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-card,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-filters,
html body.theme-ocean:not(.default-light-mode) .bank-management-card,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawal-row,
html body.theme-ocean:not(.default-light-mode) .customer-bank-item,
html body.theme-ocean:not(.default-light-mode) .profile-page-card,
html body.theme-ocean:not(.default-light-mode) .converter-card,
html body.theme-ocean:not(.default-light-mode) .table-card,
html body.theme-ocean:not(.default-light-mode) .admin-subnav {
  color: #e9fbff !important;
  background: linear-gradient(145deg, rgba(10,78,94,.84), rgba(4,43,62,.88)) !important;
}

/* Date/time filter content: preserve crisp labels and readable controls in dark
   seasonal themes while the surrounding filter panel uses the shared glass. */
html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-filters label,
html body.theme-winter:not(.default-light-mode) .customer-withdrawals-filters label,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-filters label {
  color: rgba(239,244,255,.88) !important;
}
html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-filters input,
html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-filters select,
html body.theme-winter:not(.default-light-mode) .customer-withdrawals-filters input,
html body.theme-winter:not(.default-light-mode) .customer-withdrawals-filters select,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-filters input,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-filters select {
  color: #f4f7ff !important;
  background: rgba(7,17,35,.76) !important;
  border-color: rgba(185,211,242,.32) !important;
}
html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-filters input::placeholder,
html body.theme-winter:not(.default-light-mode) .customer-withdrawals-filters input::placeholder,
html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-filters input::placeholder {
  color: rgba(220,231,246,.68) !important;
  opacity: 1 !important;
}

@media (prefers-reduced-transparency: reduce) {
  html body.theme-halloween:not(.default-light-mode) .seasonal-kpi,
  html body.theme-halloween:not(.default-light-mode) .balance-card,
  html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-card,
  html body.theme-halloween:not(.default-light-mode) .customer-withdrawals-filters,
  html body.theme-halloween:not(.default-light-mode) .bank-management-card,
  html body.theme-winter:not(.default-light-mode) .seasonal-kpi,
  html body.theme-winter:not(.default-light-mode) .balance-card,
  html body.theme-winter:not(.default-light-mode) .customer-withdrawals-card,
  html body.theme-winter:not(.default-light-mode) .customer-withdrawals-filters,
  html body.theme-winter:not(.default-light-mode) .bank-management-card,
  html body.theme-ocean:not(.default-light-mode) .seasonal-kpi,
  html body.theme-ocean:not(.default-light-mode) .balance-card,
  html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-card,
  html body.theme-ocean:not(.default-light-mode) .customer-withdrawals-filters,
  html body.theme-ocean:not(.default-light-mode) .bank-management-card {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }
}
