/*
 * Cashback Pro V36.7.114 — Light Glass Surface Transparency Repair
 * Root cause: legacy Light-mode sheets left many cards/panels with nearly
 * opaque white backgrounds. The animated page canvas existed, but was hidden
 * behind those opaque surfaces. This final sheet gives shared content surfaces
 * translucent pearl/blue/lavender gradients so the canvas can show through.
 * Inputs, selects, textareas, dialogs' text fields and action controls are
 * intentionally excluded to preserve readability and interaction contrast.
 */
html body.default-light-mode {
  --v367114-glass-blue: rgba(105, 157, 224, .20);
  --v367114-glass-lilac: rgba(177, 145, 226, .17);
  --v367114-glass-mint: rgba(111, 190, 185, .13);
}

/* Keep page-level wrappers clear: the animated canvas must remain visible. */
html body.default-light-mode .main-container,
html body.default-light-mode main,
html body.default-light-mode .tab-content,
html body.default-light-mode .tab-content.active,
html body.default-light-mode .main-content,
html body.default-light-mode .page-content,
html body.default-light-mode .dashboard-content,
html body.default-light-mode .content-wrapper,
html body.default-light-mode #tab-admin,
html body.default-light-mode #tab-admin > .admin-card {
  background-color: transparent !important;
  background-image: none !important;
}

/* Shared content surfaces across dashboard, customer, finance, orders, AI,
   support and every Admin sub-pane. More transparent than the previous
   V36.7.112 treatment so the moving page gradient is visibly present through
   the cards instead of being covered by flat white paint. */
html body.default-light-mode .glass-panel,
html body.default-light-mode .modal-card,
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 .finance-card,
html body.default-light-mode .withdrawal-card,
html body.default-light-mode .bank-management-card,
html body.default-light-mode .customer-withdrawals-card,
html body.default-light-mode .customer-withdrawals-filters,
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 .kpi-card,
html body.default-light-mode .ai-copilot-box,
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 .admin-access-card,
html body.default-light-mode .marketplace-list-card,
html body.default-light-mode .kb-upload-panel,
html body.default-light-mode .inbox-split,
html body.default-light-mode .result-box,
html body.default-light-mode .guidance-box,
html body.default-light-mode .admin-card,
html body.default-light-mode .backup-content-card,
html body.default-light-mode .marketplace-editor,
html body.default-light-mode .customer-create-user-card,
html body.default-light-mode .bank-admin-section,
html body.default-light-mode .backup-update-panel,
html body.default-light-mode .admin-pane .admin-card,
html body.default-light-mode .customer-admin-inner-pane,
html body.default-light-mode .audit-filter-bar,
html body.default-light-mode .audit-log-frame,
html body.default-light-mode .admin-subnav,
html body.default-light-mode .customer-admin-subnav,
html body.default-light-mode .backup-update-subnav,
html body.default-light-mode .admin-nav-shell,
html body.default-light-mode .admin-pane.active,
html body.default-light-mode .document-card,
html body.default-light-mode .doc-card,
html body.default-light-mode #docs-container-policy > article,
html body.default-light-mode #docs-container-guide > article,
html body.default-light-mode #docs-container-support > article {
  color: #26364d !important;
  background-color: rgba(231, 241, 253, .66) !important;
  background-image:
    radial-gradient(ellipse at 4% 0%, rgba(105, 157, 224, .25), transparent 55%),
    radial-gradient(ellipse at 100% 100%, rgba(177, 145, 226, .22), transparent 57%),
    radial-gradient(ellipse at 45% 110%, rgba(111, 190, 185, .13), transparent 52%),
    linear-gradient(132deg, rgba(250, 253, 255, .76) 0%, rgba(225, 239, 253, .68) 48%, rgba(239, 229, 251, .68) 100%) !important;
  background-size: 165% 165%, 165% 165%, 165% 165%, 180% 180% !important;
  background-position: 0% 0%, 100% 100%, 40% 100%, 0% 0% !important;
  border-color: rgba(119, 148, 190, .34) !important;
  box-shadow: 0 10px 28px rgba(49, 77, 119, .085),
              inset 0 1px 0 rgba(255, 255, 255, .78) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
  animation: v367114LightGlassDrift 28s ease-in-out infinite alternate;
}

/* Explicitly target common legacy wrappers/cards that were painted white by
   older appearance-light and readability stylesheets. */
html body.default-light-mode .seasonal-welcome,
html body.default-light-mode .seasonal-shortcuts,
html body.default-light-mode .dashboard-card,
html body.default-light-mode .info-card,
html body.default-light-mode .stat-card,
html body.default-light-mode .summary-card,
html body.default-light-mode .panel-card,
html body.default-light-mode .content-panel,
html body.default-light-mode .admin-panel,
html body.default-light-mode .settings-card,
html body.default-light-mode .bank-card,
html body.default-light-mode .customer-card,
html body.default-light-mode .order-panel,
html body.default-light-mode .withdraw-panel,
html body.default-light-mode .ai-panel,
html body.default-light-mode .knowledge-card,
html body.default-light-mode .support-panel,
html body.default-light-mode .profile-card,
html body.default-light-mode .history-card {
  background-color: rgba(231, 241, 253, .64) !important;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(105, 157, 224, .23), transparent 58%),
    radial-gradient(ellipse at 100% 100%, rgba(177, 145, 226, .20), transparent 58%),
    linear-gradient(132deg, rgba(250,253,255,.74), rgba(225,239,253,.66) 52%, rgba(239,229,251,.66)) !important;
  border-color: rgba(119, 148, 190, .32) !important;
  box-shadow: 0 10px 26px rgba(49,77,119,.08), inset 0 1px 0 rgba(255,255,255,.76) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
}

/* Make Admin shells and nested panes use the same translucent glass language. */
html body.default-light-mode #tab-admin .admin-pane,
html body.default-light-mode #tab-admin .admin-pane > .admin-card,
html body.default-light-mode #tab-admin .admin-pane .admin-card,
html body.default-light-mode #tab-admin .admin-pane .backup-update-panel,
html body.default-light-mode #tab-admin .admin-pane .backup-content-card,
html body.default-light-mode #tab-admin .admin-pane .marketplace-editor,
html body.default-light-mode #tab-admin .admin-pane .customer-create-user-card,
html body.default-light-mode #tab-admin .admin-pane .bank-admin-section,
html body.default-light-mode #tab-admin .admin-pane .inbox-split,
html body.default-light-mode #tab-admin .admin-pane .table-card,
html body.default-light-mode #tab-admin .admin-pane .custom-table {
  background-color: rgba(231, 241, 253, .62) !important;
  background-image:
    radial-gradient(ellipse at 0% 0%, rgba(105,157,224,.22), transparent 58%),
    radial-gradient(ellipse at 100% 100%, rgba(177,145,226,.19), transparent 58%),
    linear-gradient(132deg, rgba(250,253,255,.72), rgba(225,239,253,.64) 52%, rgba(239,229,251,.64)) !important;
  border-color: rgba(119,148,190,.32) !important;
  box-shadow: 0 9px 25px rgba(49,77,119,.075), inset 0 1px 0 rgba(255,255,255,.74) !important;
  -webkit-backdrop-filter: blur(18px) saturate(135%) !important;
  backdrop-filter: blur(18px) saturate(135%) !important;
}

/* Table rows should not become opaque white strips over the glass surface. */
html body.default-light-mode .custom-table,
html body.default-light-mode table {
  background-color: rgba(235, 244, 253, .48) !important;
  background-image: linear-gradient(135deg, rgba(232,242,253,.48), rgba(244,236,252,.42)) !important;
}
html body.default-light-mode .custom-table tbody td,
html body.default-light-mode table tbody td {
  background-color: rgba(244, 248, 255, .34) !important;
}
html body.default-light-mode .custom-table tbody tr:nth-child(even) td,
html body.default-light-mode table tbody tr:nth-child(even) td {
  background-color: rgba(215, 230, 249, .30) !important;
}

/* Form controls remain intentionally clearer/less transparent for legibility. */
html body.default-light-mode input,
html body.default-light-mode select,
html body.default-light-mode textarea,
html body.default-light-mode .form-control {
  background-color: rgba(255, 255, 255, .88);
  background-image: linear-gradient(135deg, rgba(255,255,255,.92), rgba(238,245,253,.84));
}

/* Keep button states and the active navigation accent intact. */
html body.default-light-mode button,
html body.default-light-mode .btn,
html body.default-light-mode .tab-btn,
html body.default-light-mode .admin-subnav-btn,
html body.default-light-mode .customer-admin-subnav-btn,
html body.default-light-mode .backup-update-tab-btn {
  -webkit-backdrop-filter: blur(10px) saturate(125%);
  backdrop-filter: blur(10px) saturate(125%);
}

@keyframes v367114LightGlassDrift {
  0% { background-position: 0% 0%, 100% 100%, 40% 100%, 0% 0%; }
  100% { background-position: 100% 60%, 0% 30%, 90% 0%, 100% 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html body.default-light-mode * {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
  }
}
