﻿/* Light theme overrides extracted from admin.css */

html[data-theme='light'] {
  color-scheme: light;
}

html[data-theme='light'] body {
  --bg: #edf2f9;
  --panel: #ffffff;
  --text: #13213a;
  --muted: #566e91;
  --line: #d2deef;
  --primary: #2f6ac9;
  --primary-soft: #2457aa;
  --shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
}

html[data-theme='light'] .sidebar {
  background: linear-gradient(180deg, #f8fbff 0%, #edf3fc 100%);
  border-right-color: #c9d7ea;
  color: #1f2f4b;
  scrollbar-color: #98b0cf #e6eef9;
}

html[data-theme='light'] .sidebar::-webkit-scrollbar-track {
  background: #e6eef9;
}

html[data-theme='light'] .sidebar::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #b9ccea 0%, #8eadd2 100%);
  border-color: #e6eef9;
}

html[data-theme='light'] .sidebar::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #cad9ef 0%, #9ab8da 100%);
}

html[data-theme='light'] .brand {
  color: #213452;
}

html[data-theme='light'] .brand-mark {
  background: linear-gradient(160deg, #ffffff 0%, #e9f1fc 100%);
  border-color: rgba(109, 137, 179, 0.38);
  color: #24518a;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.95), 0 5px 14px rgba(27, 58, 101, 0.14);
}

html[data-theme='light'] .brand-mark::after {
  background: rgba(47, 106, 201, 0.84);
  box-shadow: 0 0 0 3px rgba(105, 144, 200, 0.2);
}

html[data-theme='light'] .brand-monogram {
  color: #1f4f89;
  text-shadow: none;
}

html[data-theme='light'] .brand-title {
  color: #1a2f50;
}

html[data-theme='light'] .brand-subtitle {
  color: #5f789c;
}

html[data-theme='light'] .brand-logo-dark {
  display: none;
}

html[data-theme='light'] .brand-logo-light {
  display: inline-block;
}

html[data-theme='light'] .nav-section-title {
  color: #617a9d;
}

html[data-theme='light'] .sidebar a {
  color: #3a4f70;
}

html[data-theme='light'] .nav-link:hover,
html[data-theme='light'] .nav-parent-row:hover > .nav-link {
  color: #143860;
  background: rgba(74, 117, 176, 0.14);
  border-color: rgba(100, 135, 184, 0.32);
}

html[data-theme='light'] .nav-link.active,
html[data-theme='light'] .subnav a.active {
  color: #10365f;
  background: rgba(47, 106, 201, 0.14);
  border-color: rgba(47, 106, 201, 0.35);
}

html[data-theme='light'] .subnav-toggle {
  color: #5d7698;
}

html[data-theme='light'] .sidebar-theme-dock {
  border-top-color: #c9d7ea;
  background: linear-gradient(180deg, rgba(248, 251, 255, 0.35), rgba(237, 243, 252, 0.95));
}

html[data-theme='light'] .theme-switch {
  border-color: #b6c9e3;
  background: linear-gradient(180deg, #f9fcff, #ecf4fe);
  color: #23486f;
}

html[data-theme='light'] .theme-switch-track {
  border-color: #b2c7e2;
  background: #dce8f7;
}

html[data-theme='light'] .theme-switch-thumb {
  background: #ffffff;
}

html[data-theme='light'] .topbar-right .logout-btn {
  border-color: #bdd0e8;
  background: linear-gradient(180deg, #f8fbff, #ecf4fd);
  color: #1f456f;
}

html[data-theme='light'] .topbar-right .logout-btn:hover {
  border-color: #9fb9da;
  background: linear-gradient(180deg, #edf5ff, #deecfb);
}

html[data-theme='light'] .logout-icon {
  color: #3b70b9;
}

html[data-theme='light'] tbody tr:hover {
  background: rgba(47, 106, 201, 0.12);
}

html[data-theme='light'] .toolbar button:hover,
html[data-theme='light'] .ghost-btn:hover,
html[data-theme='light'] .table-controls button:hover,
html[data-theme='light'] .pager button:hover,
html[data-theme='light'] .mini-btn:hover {
  border-color: #87a8d1;
  color: #0f3258;
}

html[data-theme='light'] .topbar,
html[data-theme='light'] .content-panel,
html[data-theme='light'] .dashboard-panel,
html[data-theme='light'] .table-wrap,
html[data-theme='light'] .table-wrap-inner,
html[data-theme='light'] .settings-card,
html[data-theme='light'] .control-panel,
html[data-theme='light'] .agent-summary,
html[data-theme='light'] .dashboard-table-wrap,
html[data-theme='light'] .ui-toast,
html[data-theme='light'] .action-menu,
html[data-theme='light'] .modal-card,
html[data-theme='light'] .docsx-card,
html[data-theme='light'] .docsx-endpoint-card,
html[data-theme='light'] .docsx-spec-table-wrap {
  background: #ffffff;
  border-color: #d2deef;
}

html[data-theme='light'] .agent-summary,
html[data-theme='light'] .control-panel,
html[data-theme='light'] .settings-card,
html[data-theme='light'] .dashboard-panel {
  background: #f7faff;
}

html[data-theme='light'] .topbar-avatar,
html[data-theme='light'] .settings-avatar {
  border-color: #b8cae4;
  background: #dce8f7;
  color: #173962;
}

html[data-theme='light'] .agent-identity-row strong {
  color: #133155;
}

html[data-theme='light'] .agent-identity-row span,
html[data-theme='light'] .agent-balance-row,
html[data-theme='light'] .settings-kv,
html[data-theme='light'] .dashboard-mini-table th,
html[data-theme='light'] .table-controls label,
html[data-theme='light'] .control-right label,
html[data-theme='light'] .provider-code-meta small,
html[data-theme='light'] .provider-online-text,
html[data-theme='light'] .provider-status-text,
html[data-theme='light'] .date-stack small {
  color: #5e7698;
}

html[data-theme='light'] .agent-balance-row b,
html[data-theme='light'] .settings-kv b,
html[data-theme='light'] .provider-code-meta strong,
html[data-theme='light'] .table-wrap-inner .generic-table .cell-num {
  color: #14375f;
}

html[data-theme='light'] .top-balance-refresh-btn {
  border-color: #b8cceb;
  background: #eff5fd;
  color: #3d6ea9;
}

html[data-theme='light'] .top-balance-refresh-btn:hover {
  border-color: #96b5dd;
  color: #1f4f88;
}

html[data-theme='light'] .toolbar input,
html[data-theme='light'] .toolbar select,
html[data-theme='light'] .table-controls input,
html[data-theme='light'] .table-controls select,
html[data-theme='light'] .pager input,
html[data-theme='light'] .modal-card input,
html[data-theme='light'] .modal-card select,
html[data-theme='light'] .game-toolbar-control,
html[data-theme='light'] .inline-check,
html[data-theme='light'] .action-menu button,
html[data-theme='light'] .quick-amount-btn,
html[data-theme='light'] .switch-card {
  background: #ffffff;
  border-color: #c7d7ec;
  color: #1a3457;
}

html[data-theme='light'] .toolbar input::placeholder,
html[data-theme='light'] .table-controls input::placeholder,
html[data-theme='light'] #tableSearch::placeholder {
  color: #7b93b4;
}

html[data-theme='light'] .toolbar button,
html[data-theme='light'] .ghost-btn,
html[data-theme='light'] .link-btn,
html[data-theme='light'] .table-controls button,
html[data-theme='light'] .pager button,
html[data-theme='light'] .mini-btn,
html[data-theme='light'] .sidebar-toggle,
html[data-theme='light'] .provider-action-btn {
  background: #f8fbff;
  border-color: #bfd0e8;
  color: #16385f;
}

html[data-theme='light'] .login-form button:hover,
html[data-theme='light'] .toolbar button:hover,
html[data-theme='light'] .ghost-btn:hover,
html[data-theme='light'] .link-btn:hover,
html[data-theme='light'] .table-controls button:hover,
html[data-theme='light'] .pager button:hover,
html[data-theme='light'] .mini-btn:hover,
html[data-theme='light'] .provider-action-btn:hover {
  background: #edf4fd;
  border-color: #a8c0df;
}

html[data-theme='light'] .table-wrap,
html[data-theme='light'] .table-wrap-inner {
  scrollbar-color: #95afcf #edf4fd;
}

html[data-theme='light'] .table-wrap::-webkit-scrollbar-track,
html[data-theme='light'] .table-wrap-inner::-webkit-scrollbar-track {
  background: #edf4fd;
}

html[data-theme='light'] .table-wrap::-webkit-scrollbar-thumb,
html[data-theme='light'] .table-wrap-inner::-webkit-scrollbar-thumb {
  background: #95afcf;
  border-color: #edf4fd;
}

html[data-theme='light'] .ui-messagebox-backdrop,
html[data-theme='light'] .modal-backdrop {
  background: rgba(15, 23, 42, 0.25);
}

html[data-theme='light'] .ui-messagebox-card {
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

html[data-theme='light'] .ui-messagebox-header {
  color: #133155;
}

html[data-theme='light'] .ui-messagebox-body {
  color: #4b668b;
}

html[data-theme='light'] .table-wrap-inner .generic-table .th-no,
html[data-theme='light'] .table-wrap-inner .generic-table .cell-no,
html[data-theme='light'] .dashboard-mini-table td,
html[data-theme='light'] .pager-info {
  color: #4a6488;
}

html[data-theme='light'] th {
  background: #eef4fc;
  color: #3d577b;
}

html[data-theme='light'] td {
  color: #1f3a5f;
}

html[data-theme='light'] thead th {
  border-bottom-color: #cbd9ec;
}

html[data-theme='light'] tbody td {
  border-bottom-color: #d7e2f1;
}

html[data-theme='light'] tbody tr:hover {
  background: rgba(61, 106, 166, 0.08);
}

html[data-theme='light'] .table-wrap-inner .generic-table th,
html[data-theme='light'] .dashboard-mini-table th {
  background: #eaf2fc;
  color: #466187;
}

html[data-theme='light'] .table-wrap-inner .generic-table td,
html[data-theme='light'] .dashboard-mini-table td {
  color: #1f3a5f;
}

html[data-theme='light'] .card-grid .metric-card,
html[data-theme='light'] .metric-card {
  background: linear-gradient(180deg, #ffffff, #f1f7ff);
  border-color: #ccdced;
}

html[data-theme='light'] .metric-card p {
  color: #5f789a;
}

html[data-theme='light'] .metric-card h3 {
  color: #123a66;
}

html[data-theme='light'] .agent-code-label,
html[data-theme='light'] .name-main {
  color: #183d66;
}

html[data-theme='light'] .row-actions {
  border-color: #b9cbe3;
  background: #f3f8ff;
  color: #1c446e;
}

html[data-theme='light'] .settings-profile-card {
  background: linear-gradient(180deg, #fdfefe, #f1f7ff);
  border-color: #cad9ec;
}

html[data-theme='light'] .settings-profile-meta strong {
  color: #1a3f69;
}

html[data-theme='light'] .settings-profile-meta span,
html[data-theme='light'] .settings-profile-card .settings-kv span {
  color: #5d789e;
}

html[data-theme='light'] .value-start-soft {
  color: #3f6fae;
}

html[data-theme='light'] .page-transition-backdrop {
  background: radial-gradient(circle at 30% 25%, rgba(59, 130, 246, 0.12), rgba(148, 163, 184, 0.22) 44%, rgba(148, 163, 184, 0.36) 100%);
}

html[data-theme='light'] .page-transition-card {
  border-color: rgba(116, 155, 205, 0.45);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(244, 249, 255, 0.94));
  box-shadow: 0 16px 28px rgba(15, 23, 42, 0.16);
}

html[data-theme='light'] .page-transition-spinner {
  border-color: rgba(79, 133, 202, 0.26);
  border-top-color: #3a6eb2;
}

html[data-theme='light'] .page-transition-text-wrap strong {
  color: #1f446f;
}

html[data-theme='light'] .page-transition-text-wrap span {
  color: #6782a7;
}

html[data-theme='light'] .login-form input,
html[data-theme='light'] .settings-card input {
  background: #ffffff;
  border-color: #c7d7ec;
  color: #1a3457;
}

html[data-theme='light'] .login-body {
  background:
    radial-gradient(1200px 620px at -8% -12%, rgba(136, 184, 253, 0.35), rgba(136, 184, 253, 0) 60%),
    radial-gradient(900px 540px at 110% 105%, rgba(120, 214, 229, 0.24), rgba(120, 214, 229, 0) 58%),
    linear-gradient(145deg, #edf4ff 0%, #e8f1fc 40%, #dce8f7 100%);
}

html[data-theme='light'] .login-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.93), rgba(247, 251, 255, 0.95));
  border-color: rgba(146, 171, 208, 0.4);
  box-shadow: 0 18px 40px rgba(44, 74, 118, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

html[data-theme='light'] .login-form label {
  color: #24476f;
}

html[data-theme='light'] .login-footnote {
  color: #6a82a4;
}

html[data-theme='light'] .login-form input::placeholder,
html[data-theme='light'] .settings-card input::placeholder,
html[data-theme='light'] .modal-card input::placeholder,
html[data-theme='light'] .modal-card select::placeholder {
  color: #7b93b4;
}

html[data-theme='light'] .switch-card {
  background: linear-gradient(180deg, #ffffff, #f1f7ff);
  border-color: #cad9ec;
  color: #1d3f68;
}

html[data-theme='light'] .switch-meta strong {
  color: #1a3e67;
}

html[data-theme='light'] .switch-meta small {
  color: #6b84a6;
}

html[data-theme='light'] .switch-slider {
  background: #d9e6f6;
  border-color: #aac2de;
}

html[data-theme='light'] .switch-slider::after {
  background: #ffffff;
}

html[data-theme='light'] .switch-ui input[type='checkbox']:checked + .switch-slider {
  background: rgba(47, 106, 201, 0.32);
  border-color: #3b70b9;
}

html[data-theme='light'] .switch-ui input[type='checkbox']:checked + .switch-slider::after {
  background: #f7fbff;
}

html[data-theme='light'] .modern-inline-check {
  border-color: #bfd0e8;
  background: linear-gradient(180deg, #f8fbff, #eff5fd);
}

html[data-theme='light'] .modern-inline-check .toggle-pill {
  border-color: #b0c6e2;
  background: #d9e7f7;
}

html[data-theme='light'] .modern-inline-check .toggle-pill::after {
  background: #ffffff;
}

html[data-theme='light'] .modern-inline-check input[type='checkbox']:checked + .toggle-pill {
  background: rgba(47, 106, 201, 0.32);
  border-color: #3b70b9;
}

html[data-theme='light'] .modern-inline-check input[type='checkbox']:checked + .toggle-pill::after {
  background: #f7fbff;
}

html[data-theme='light'] .value-percent {
  color: #2f5f97;
}

html[data-theme='light'] .value-percent.strong {
  color: #1f4f88;
}

html[data-theme='light'] .value-percent.rtp-good {
  color: #1f7a53;
}

html[data-theme='light'] .value-percent.rtp-mid {
  color: #9a6118;
}

html[data-theme='light'] .value-percent.rtp-low {
  color: #a33150;
}

html[data-theme='light'] .value-money {
  color: #285f9c;
}

html[data-theme='light'] .docsx-page,
html[data-theme='light'] .docsx-page * {
  scrollbar-color: #a2b8d6 #edf4fd;
}

html[data-theme='light'] .docsx-page *::-webkit-scrollbar-track {
  background: #edf4fd;
}

html[data-theme='light'] .docsx-page *::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #bad0ea, #8daed1);
  border-color: #edf4fd;
}

html[data-theme='light'] .docsx-page *::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c6d8ee, #99b8d9);
}

html[data-theme='light'] .docsx-eyebrow {
  color: #2f6ac9;
}

html[data-theme='light'] .docsx-pill {
  color: #256f52;
  border-color: rgba(22, 163, 74, 0.35);
  background: rgba(22, 163, 74, 0.12);
}

html[data-theme='light'] .docsx-row input,
html[data-theme='light'] .docsx-auth-grid input,
html[data-theme='light'] .docsx-form-grid input,
html[data-theme='light'] .docsx-form-grid select,
html[data-theme='light'] #endpointSearch,
html[data-theme='light'] #reqBody,
html[data-theme='light'] .docsx-path-line input,
html[data-theme='light'] .docsx-config .docsx-auth-grid input {
  background: #ffffff;
  color: #183b62;
  border-color: #c8d8ec;
}

html[data-theme='light'] .docsx-row input::placeholder,
html[data-theme='light'] #endpointSearch::placeholder,
html[data-theme='light'] #reqBody::placeholder {
  color: #7690b3;
}

html[data-theme='light'] #reqBody::selection {
  background: rgba(47, 106, 201, 0.2);
}

html[data-theme='light'] #reqBody:focus,
html[data-theme='light'] #reqBody:focus-visible {
  border-color: #5d87bd;
  box-shadow: 0 0 0 2px rgba(47, 106, 201, 0.2);
}

html[data-theme='light'] .docsx-page .docsx-btn,
html[data-theme='light'] .docsx-filter-tabs .docsx-btn {
  border-color: #b7cbe6;
  background: linear-gradient(180deg, #f7fbff, #eaf3ff);
  color: #1d416b;
}

html[data-theme='light'] .docsx-page .docsx-btn:hover,
html[data-theme='light'] .docsx-filter-tabs .docsx-btn:hover {
  border-color: #9fb9da;
  background: linear-gradient(180deg, #eff6ff, #dfeefe);
}

html[data-theme='light'] .docsx-page .docsx-btn.docsx-btn-primary,
html[data-theme='light'] .docsx-filter-tabs .docsx-btn.is-active {
  border-color: #6f9cd3;
  background: linear-gradient(180deg, #4f85ca, #3a6eb2);
  color: #f4f9ff;
}

html[data-theme='light'] .docsx-page .docsx-btn.docsx-btn-primary:hover,
html[data-theme='light'] .docsx-filter-tabs .docsx-btn.is-active:hover {
  border-color: #618fca;
  background: linear-gradient(180deg, #457cc2, #3366ab);
}

html[data-theme='light'] .docsx-page .docsx-btn.docsx-btn-secondary {
  border-color: #9fb9da;
  background: linear-gradient(180deg, #edf4ff, #dce9fa);
  color: #23466f;
}

html[data-theme='light'] .docsx-page .docsx-btn.docsx-btn-secondary:hover {
  border-color: #8aaad1;
  background: linear-gradient(180deg, #e4efff, #d2e3f8);
}

html[data-theme='light'] .docsx-endpoint-card {
  border-color: #c4d6ea;
  background: linear-gradient(180deg, #fafdff, #edf5ff);
  color: #173a61;
}

html[data-theme='light'] .docsx-endpoint-card.active {
  border-color: #74a0d5;
  box-shadow: 0 0 0 2px rgba(83, 131, 195, 0.18) inset;
}

html[data-theme='light'] .docsx-method {
  background: rgba(22, 163, 74, 0.14);
  color: #2a7a58;
}

html[data-theme='light'] .docsx-title {
  color: #1e436e;
}

html[data-theme='light'] .docsx-summary,
html[data-theme='light'] .docsx-spec-summary,
html[data-theme='light'] .docsx-spec-empty,
html[data-theme='light'] .docsx-mode-grid p,
html[data-theme='light'] .docsx-meta strong {
  color: #5f789a;
}

html[data-theme='light'] .docsx-mode-grid article {
  border-color: #c4d6ea;
  background: #f5faff;
}

html[data-theme='light'] .docsx-mode-tag.seamless {
  color: #1b6e88;
  background: rgba(14, 165, 233, 0.14);
  border-color: rgba(14, 165, 233, 0.35);
}

html[data-theme='light'] .docsx-mode-tag.transfer {
  color: #335f98;
  background: rgba(59, 130, 246, 0.14);
  border-color: rgba(59, 130, 246, 0.36);
}

html[data-theme='light'] .docsx-mode-tag.call {
  color: #92400e;
  background: rgba(245, 158, 11, 0.2);
  border-color: rgba(217, 119, 6, 0.42);
}

html[data-theme='light'] .docsx-owner-tag.agent {
  color: #9a3412;
  background: rgba(251, 146, 60, 0.14);
  border-color: rgba(234, 88, 12, 0.34);
}

html[data-theme='light'] .docsx-endpoint-card-agent {
  border-color: #e7bf95;
  background: linear-gradient(180deg, #fff8f0, #fff2e3);
}

html[data-theme='light'] .docsx-endpoint-card-agent .docsx-title {
  color: #7c2d12;
}

html[data-theme='light'] .docsx-endpoint-card-agent .docsx-summary {
  color: #9a5a2f;
}

html[data-theme='light'] .docsx-meta {
  border-color: #b9cee6;
  background: #f9fcff;
}

html[data-theme='light'] .docsx-response,
html[data-theme='light'] .docsx-response.hljs {
  border-color: #c4d6ea;
  background: #f5f9ff;
  color: #213f66;
}

html[data-theme='light'] .docsx-response .hljs-attr,
html[data-theme='light'] .docsx-response .hljs-string {
  color: #18794e;
}

html[data-theme='light'] .docsx-response .hljs-number {
  color: #b42318;
}

html[data-theme='light'] .docsx-response .hljs-literal {
  color: #6e3cbc;
}

html[data-theme='light'] .docsx-spec {
  border-color: #c7d9ed;
  background: #f8fbff;
}

html[data-theme='light'] .docsx-impl-note {
  border-color: #f1c89a;
  background: #fff4e8;
  color: #9a3412;
}

html[data-theme='light'] .docsx-spec-head code {
  color: #1f436f;
}

html[data-theme='light'] .docsx-spec-table th,
html[data-theme='light'] .docsx-spec-table td {
  border-color: #c9d9ec;
}

html[data-theme='light'] .docsx-spec-table th {
  color: #3f5b80;
  background: #eaf2fc;
}

html[data-theme='light'] .docsx-spec-table td {
  color: #1f3b61;
  background: #f9fcff;
}

html[data-theme='light'] .docsx-spec-response {
  border-color: #c8d8ea;
  background: #f2f8ff;
}

html[data-theme='light'] .docsx-spec-response h5 {
  color: #325276;
}

html[data-theme='light'] .docsx-spec-response pre {
  color: #1e3d66;
}

html[data-theme='light'] .badge {
  color: #21456f;
  border-color: #b9cbe3;
  background: #edf4fd;
}

html[data-theme='light'] .badge-reseller,
html[data-theme='light'] .badge-live,
html[data-theme='light'] .badge-flag-on {
  background: #eaf8f1;
  color: #1f7a53;
  border-color: #9fd5bb;
}

html[data-theme='light'] .badge-operator,
html[data-theme='light'] .badge-stop,
html[data-theme='light'] .badge-deny {
  background: #fbeef1;
  color: #a33150;
  border-color: #e7b0be;
}

html[data-theme='light'] .badge-affiliate,
html[data-theme='light'] .badge-grant,
html[data-theme='light'] .badge-finished {
  background: #f1edfd;
  color: #6543b4;
  border-color: #c7baf1;
}

html[data-theme='light'] .badge-seamless,
html[data-theme='light'] .badge-allow,
html[data-theme='light'] .badge-charge {
  background: #ecf5ff;
  color: #2461a7;
  border-color: #a9c8ea;
}

html[data-theme='light'] .badge-transfer,
html[data-theme='light'] .badge-exchange,
html[data-theme='light'] .badge-pending {
  background: #fff6e8;
  color: #9a6118;
  border-color: #efcd9f;
}

html[data-theme='light'] .badge-deleted,
html[data-theme='light'] .badge-flag-off {
  background: #eef2f7;
  color: #52647f;
  border-color: #c5d0df;
}

html[data-theme='light'] .provider-thumb {
    
    border: 1px solid #bccfee;
    background: #bccfee;
}

html[data-theme='light'] .login-card .login-form button[type='submit'] {
  color: #ffffff;
  background: linear-gradient(135deg, #2a66c2 0%, #3f82d8 52%, #65a3ea 100%);
  border-color: rgba(109, 151, 212, 0.42);
  box-shadow: 0 12px 24px rgba(70, 113, 179, 0.28);
}

html[data-theme='light'] .login-card .login-form button[type='submit']:hover {
  background: linear-gradient(135deg, #235db6 0%, #3778cb 52%, #5a99e1 100%);
}

html[data-theme='light'] .login-captcha-image {
  color: #214b7f;
  border-color: rgba(114, 151, 201, 0.5);
  background: rgba(233, 241, 252, 0.95);
}

html[data-theme='light'] .login-captcha-refresh {
  color: #2a5e9f;
  border-color: rgba(114, 151, 201, 0.5);
  background: linear-gradient(180deg, #f8fbff, #e8f0fc);
}

html[data-theme='light'] .login-captcha-refresh:hover:not(:disabled) {
  border-color: rgba(84, 126, 183, 0.56);
  background: linear-gradient(180deg, #eef5ff, #dde9fa);
}

html[data-theme='light'] .login-captcha-answer {
  color: #1f456f;
}

html[data-theme='light'] div[data-page='users'] .users-usercode-emphasis {
  color: #123a66;
}

html[data-theme='light'] div[data-page='users'] .users-rtp-value.is-high {
  color: #b42318;
}

html[data-theme='light'] div[data-page='users'] .users-rtp-value.is-low {
  color: #1f7a53;
}

html[data-theme='light'] div[data-page='users'] .users-rtp-value.is-near {
  color: #245b97;
}

html[data-theme='light'] div[data-page='users'] .users-rtp-value.is-neutral,
html[data-theme='light'] div[data-page='users'] .users-rtp-target {
  color: #617a9d;
}

html[data-theme='light'] div[data-page='users'] .users-seamless-notice {
  border-color: #f59e0b;
  background: linear-gradient(180deg, #fff4db 0%, #ffecbf 100%);
  color: #7c3f00;
}

html[data-theme='light'] div[data-page='users'] .users-seamless-notice-link {
  color: #a14f00;
}

html[data-theme='light'] div[data-page='users'] .users-seamless-modal-text {
  color: #36567f;
}

html[data-theme='light'] .nav-ico {
  color: #5f7fa7;
}

html[data-theme='light'] .sidebar .nav-link:hover .nav-ico,
html[data-theme='light'] .sidebar .nav-link.active .nav-ico,
html[data-theme='light'] .nav-item.has-active-child > .nav-parent-row > .nav-link.active .nav-ico {
  color: #1f4f88;
}

html[data-theme='light'] .value-minus,
html[data-theme='light'] .pair-stack .value-minus {
  color: #b0324d;
}

html[data-theme='light'] .value-plus,
html[data-theme='light'] .pair-stack .value-plus {
  color: #1f7a53;
}

html[data-theme='light'] .inline-tag {
  border-color: #bed0e6;
  background: #eff5fd;
  color: #2b4f79;
}

html[data-theme='light'] .tag-debit {
  background: #fbeef1;
  border-color: #e4b0be;
  color: #a33150;
}

html[data-theme='light'] .tag-credit {
  background: #eaf8f1;
  border-color: #9fd5bb;
  color: #1f7a53;
}

html[data-theme='light'] .tag-game-type,
html[data-theme='light'] .tag-game-free {
  background: #ecf5ff;
  border-color: #a9c8ea;
  color: #2461a7;
}

html[data-theme='light'] .tag-game-base {
  background: #fff6e8;
  border-color: #efcd9f;
  color: #9a6118;
}

html[data-theme='light'] .inline-id,
html[data-theme='light'] .pair-top,
html[data-theme='light'] .value-end-strong,
html[data-theme='light'] .th-stack,
html[data-theme='light'] .th-stack span {
  color: #1f3f67;
}

html[data-theme='light'] .pair-bottom,
html[data-theme='light'] .amount-subtime,
html[data-theme='light'] .date-stack small {
  color: #617b9f;
}

html[data-theme='light'] .table-mini-btn {
  border-color: #b9cbe3;
  background: #f2f8ff;
  color: #244a75;
}

html[data-theme='light'] .table-mini-btn.danger {
  border-color: #e4b8c3;
  background: #fff0f4;
  color: #a33150;
}

html[data-theme='light'] .table-mini-btn.danger:hover {
  border-color: #d598aa;
  background: #ffe8ef;
  color: #8f2946;
}

html[data-theme='light'] .table-mini-btn:hover {
  border-color: #9fb9da;
  background: #e4efff;
  color: #1f456f;
}

html[data-theme='light'] .table-mini-btn.table-mini-btn-lg {
  color: #1f456f;
}

html[data-theme='light'] .status-inline-check > span:last-child {
  color: #5e7698;
}

html[data-theme='light'] .game-code-chip {
  color: #1f446f;
}

html[data-theme='light'] .game-code-provider-icon {
  border-color: rgba(129, 157, 192, 0.5);
}

html[data-theme='light'] .game-code-banner-icon {
  background: #eef4fc;
}

html[data-theme='light'] .game-code-banner-fallback {
  color: #2a507b;
  background: linear-gradient(135deg, #edf5ff 0%, #dbe9f8 100%);
}

html[data-theme='light'] .game-code-meta strong {
  color: #1d426d;
}

html[data-theme='light'] .game-code-meta small {
  color: #6280a4;
}

html[data-theme='light'] .report-action-backdrop {
  background: rgba(15, 23, 42, 0.3);
}

html[data-theme='light'] .report-action-dialog {
  border-color: #c7d8ec;
  background: #f8fbff;
}

html[data-theme='light'] .provider-endpoint-cell {
  color: #275687;
}

html[data-theme='light'] .provider-domains-cell small {
  color: #557aa3;
}

html[data-theme='light'] .provider-domains-input {
  border-color: #c7d7ec;
  background: #ffffff;
  color: #1a3457;
}

html[data-theme='light'] .provider-editor-modal label > span {
  color: #5f7a9f;
}

html[data-theme='light'] .log-row-warn {
  background: rgba(245, 158, 11, 0.18);
}

html[data-theme='light'] .log-error-summary {
  border-color: #e5b8c0;
  background: linear-gradient(180deg, #fff3f5, #ffebef);
}

html[data-theme='light'] .log-error-summary-head,
html[data-theme='light'] .log-error-summary-grid strong,
html[data-theme='light'] .log-error-summary-message strong {
  color: #9b1c33;
}

html[data-theme='light'] .log-error-summary-grid span,
html[data-theme='light'] .log-error-summary-message span {
  color: #7c2d3d;
}

html[data-theme='light'] #systemLogTableWrap .table-wrap-inner .generic-table th {
  color: #35587f;
  background: linear-gradient(180deg, #edf4ff 0%, #e6effb 100%);
  border-bottom-color: #c4d5ea;
  box-shadow: inset 0 -1px 0 rgba(143, 166, 195, 0.28);
}

html[data-theme='light'] .log-row-error {
  background: rgba(239, 68, 68, 0.18);
}

html[data-theme='light'] .log-json-cell-alert {
  color: #9f1239;
  background: rgba(244, 63, 94, 0.16);
}

html[data-theme='light'] .log-json-cell-success {
  color: #166534;
  background: rgba(34, 197, 94, 0.16);
}

html[data-theme='light'] .log-detail-backdrop {
  background: rgba(15, 23, 42, 0.38);
}

html[data-theme='light'] .log-detail-card {
  border-color: #bfd1e9;
  background: #f7fbff;
}

html[data-theme='light'] .log-detail-head {
  border-bottom-color: #c8d8ec;
}

html[data-theme='light'] .log-detail-head h3 {
  color: #21486f;
}

html[data-theme='light'] .log-location-cell {
  color: #3f6e9e;
}

html[data-theme='light'] .log-error-cell {
  color: #9b6521;
}

html[data-theme='light'] .log-detail-table th,
html[data-theme='light'] .log-detail-table td {
  border-bottom-color: #d4e2f1;
}

html[data-theme='light'] .log-detail-table th {
  color: #3b638e;
  background: #edf5ff;
}

html[data-theme='light'] .log-detail-table td pre {
  color: #274b74;
}

html[data-theme='light'] .report-action-header {
  border-bottom-color: #c7d8ec;
  background: #edf4fd;
  color: #21466f;
}

html[data-theme='light'] .report-action-body {
  color: #22486f;
}

html[data-theme='light'] .report-detail-frame,
html[data-theme='light'] .report-inquiry-text,
html[data-theme='light'] .report-inquiry-note {
  border-color: #c7d8ec;
  background: #ffffff;
  color: #23486f;
}

html[data-theme='light'] .report-detail-empty,
html[data-theme='light'] .report-help-text {
  color: #5f789a;
}

html[data-theme='light'] .report-shortcut-wrap span {
  color: #3e6faa;
}

html[data-theme='light'] .report-shortcut-wrap a {
  color: #245f9d;
}

html[data-theme='light'] .signed-value,
html[data-theme='light'] .th-stack-right,
html[data-theme='light'] .pair-stack-right {
  color: #23496f;
}

html[data-theme='light'] .mini-btn.danger {
  border-color: #e4b8c3;
  background: #fff0f4;
  color: #a33150;
}

html[data-theme='light'] .mini-btn.danger:hover {
  border-color: #d598aa;
  background: #ffe8ef;
  color: #8f2946;
}

html[data-theme='light'] .badge-success {
  color: #1f7a53;
  background: #eaf8f1;
  border-color: #9fd5bb;
}

html[data-theme='light'] .badge-muted {
  color: #52647f;
  background: #eef2f7;
  border-color: #c5d0df;
}

html[data-theme='light'] .login-error {
  color: #a33150;
}

html[data-theme='light'] .ui-toast {
  color: #22466d;
}

html[data-theme='light'] .ui-toast.success {
  border-color: #83c4a6;
  color: #1f7a53;
  background: #edf9f2;
}

html[data-theme='light'] .ui-toast.error {
  border-color: #e2b0bb;
  color: #a33150;
  background: #fff0f4;
}

html[data-theme='light'] .ui-toast.warn {
  border-color: #e4c594;
  color: #9a6118;
  background: #fff7ea;
}

html[data-theme='light'] .settings-reset-card {
  border-color: #e5b8c0;
  background: linear-gradient(180deg, #fff3f5, #ffebef);
}

html[data-theme='light'] .settings-reset-desc {
  color: #9b1c33;
}

html[data-theme='light'] .log-badge-level-info {
  background: #edf5ff;
  border-color: #a9c8ea;
  color: #2461a7;
}

html[data-theme='light'] .log-badge-level-debug {
  background: #f1edfd;
  border-color: #c7baf1;
  color: #6543b4;
}

html[data-theme='light'] .log-badge-level-warn,
html[data-theme='light'] .log-badge-level-warning {
  background: #fff6e8;
  border-color: #efcd9f;
  color: #9a6118;
}

html[data-theme='light'] .log-badge-level-error {
  background: #fff0f4;
  border-color: #e4b0be;
  color: #a33150;
}

html[data-theme='light'] .log-badge-method-get,
html[data-theme='light'] .log-badge-status-ok {
  background: #eaf8f1;
  border-color: #9fd5bb;
  color: #1f7a53;
}

html[data-theme='light'] .log-badge-method-post,
html[data-theme='light'] .log-badge-method-put,
html[data-theme='light'] .log-badge-method-patch,
html[data-theme='light'] .log-badge-method-delete {
  background: #ecf5ff;
  border-color: #a9c8ea;
  color: #2461a7;
}

html[data-theme='light'] .log-badge-status-warn {
  background: #fff6e8;
  border-color: #efcd9f;
  color: #9a6118;
}

html[data-theme='light'] .log-badge-status-err {
  background: #fff0f4;
  border-color: #e4b0be;
  color: #a33150;
}

html[data-theme='light'] .dashboard-table-wrap {
  border-color: #b8cde7;
}

html[data-theme='light'] .winner-group {
  border-color: #b8cde7;
  background: linear-gradient(180deg, #ffffff, #eef6ff);
}

html[data-theme='light'] .winner-group h4 {
  color: #1f446f;
}

html[data-theme='light'] .winner-group li {
  color: #4f678a;
}

html[data-theme='light'] .winner-code {
  color: #153d67;
}

html[data-theme='light'] .winner-rank {
  color: #9a6118;
}

html[data-theme='light'] .winner-count-badge {
  color: #1d558f;
  background: #e1efff;
  border-color: #8eb3df;
}

html[data-theme='light'] .winner-amount {
  color: #1f7a53;
}

html[data-theme='light'] .winner-amount.is-negative {
  color: #a33150;
}

html[data-theme='light'] .winner-empty {
  border-color: #b8cde7;
  background: #f2f8ff;
}

html[data-theme='light'] .dashboard-trend-chart,
html[data-theme='light'] .dashboard-chart-wrap {
  border-color: #b8cde7;
  background: linear-gradient(180deg, #ffffff, #f1f7ff);
}

html[data-theme='light'] .dashboard-chart-wrap .no-data {
  color: #4f678a;
}

html[data-theme='light'] div[data-page='users'] .users-game-status {
  color: #4d668a;
}

html[data-theme='light'] .remote-panel {
  border-color: #b8cde7;
  background: linear-gradient(180deg, #ffffff, #f0f7ff);
}

html[data-theme='light'] .remote-section-head p,
html[data-theme='light'] .remote-pager-page-label,
html[data-theme='light'] .remote-pager-info,
html[data-theme='light'] .remote-rtp-target {
  color: #4f688b;
}

html[data-theme='light'] .remote-badge.is-ready {
  color: #9a6118;
  background: #fff6e8;
  border-color: #efcd9f;
}

html[data-theme='light'] .remote-badge.is-running,
html[data-theme='light'] .remote-badge.is-applied {
  color: #2461a7;
  background: #ecf5ff;
  border-color: #a9c8ea;
}

html[data-theme='light'] .remote-badge.is-done {
  color: #1f7a53;
  background: #eaf8f1;
  border-color: #9fd5bb;
}

html[data-theme='light'] .remote-badge.is-curse {
  color: #a33150;
  background: #fff0f4;
  border-color: #e4b0be;
}

html[data-theme='light'] .remote-row-state-bless td {
  background: rgba(22, 163, 74, 0.1);
}

html[data-theme='light'] .remote-row-state-curse td {
  background: rgba(239, 68, 68, 0.1);
}

html[data-theme='light'] .remote-row-state-applied td {
  background: rgba(59, 130, 246, 0.1);
}

html[data-theme='light'] .remote-rtp-value.is-high,
html[data-theme='light'] .remote-money-bet {
  color: #b42318;
}

html[data-theme='light'] .remote-rtp-value.is-low,
html[data-theme='light'] .remote-money-win {
  color: #1f7a53;
}

html[data-theme='light'] .remote-rtp-value.is-near {
  color: #245b97;
}

html[data-theme='light'] .remote-pager-btn,
html[data-theme='light'] .remote-pager-page-select,
html[data-theme='light'] .remote-action-btn {
  border-color: #aec5e2;
  background: #f4f9ff;
  color: #133a63;
}

html[data-theme='light'] .remote-pager-btn:hover,
html[data-theme='light'] .remote-action-btn:hover {
  background: #e8f2ff;
  border-color: #8fb0d7;
  color: #0d2f55;
}

html[data-theme='light'] .remote-action-btn.is-bless {
  border-color: #9fd5bb;
  color: #1f7a53;
}

html[data-theme='light'] .remote-action-btn.is-bless:hover {
  background: #eaf8f1;
  border-color: #7fbe9f;
  color: #176343;
}

html[data-theme='light'] .remote-action-btn.is-curse {
  border-color: #efcd9f;
  color: #9a6118;
}

html[data-theme='light'] .remote-action-btn.is-curse:hover {
  background: #fff6e8;
  border-color: #ddb87f;
  color: #7f4f13;
}

html[data-theme='light'] .remote-flag-check {
  background: #e6effa;
  color: #3f5878;
}

html[data-theme='light'] .remote-flag-check input[type='radio'] {
  border-color: #9db7d8;
  background: #ffffff;
}

html[data-theme='light'] .remote-flag-check.is-bless {
  background: #eaf8f1;
  color: #1f7a53;
}

html[data-theme='light'] .remote-flag-check.is-curse {
  background: #fff0f4;
  color: #a33150;
}

html[data-theme='light'] .remote-flag-check.is-rtp {
  background: #ecf5ff;
  color: #2461a7;
}

html[data-theme='light'] .remote-input-field {
  border-color: #c7d7ec;
  background: #ffffff;
  color: #1a3457;
}

html[data-theme='light'] .remote-input-field:focus {
  border-color: #5d87bd;
  box-shadow: 0 0 0 2px rgba(47, 106, 201, 0.2);
}

