/* Light theme presets. Dark stays on the :root values in theme.css. */
html[data-theme="light-red"],
html[data-theme="light-gray"] {
    --stax-surface: #ffffff;
    --stax-text: #1a1d21;
    --stax-muted: #5b6573;
    --stax-on-accent: #ffffff;
    --stax-bar: #1c1f24;
    --stax-bar-text: #ffffff;
    --stax-bar-muted: #c5c9d0;
    --stax-bar-elevated: #2a2f36;
    --stax-bar-border: rgba(255, 255, 255, 0.12);
    --stax-shadow: 0 12px 40px rgba(16, 24, 40, 0.10);
    --stax-shadow-sm: 0 4px 16px rgba(16, 24, 40, 0.08);
    --stax-ok: #15803d;
    --stax-danger: #b42318;
    --stax-ok-ink: #166534;
    --stax-ok-soft: #dcfce7;
    --stax-ok-border: #86efac;
    --stax-ok-alt: #166534;
    --stax-pending-text: #166534;
    --stax-pending-bar: #15803d;
    --stax-pending-bg: #dcfce7;
    --stax-pending-hover: #bbf7d0;
    --stax-pending-badge-bg: #dcfce7;
    --stax-pending-badge-border: #86efac;
    --stax-progress: #15803d;
    --stax-progress-dim: #c5cad3;
    --stax-progress-glow: rgba(21, 128, 61, 0.22);
    --stax-on-progress: #ffffff;
    --stax-warn-ink: #9f1239;
    --stax-danger-soft: #fee4e2;
    --stax-danger-border: #f04438;
    --stax-danger-border-soft: #fda29b;
    --stax-secondary-hover: #e7eaee;
    --stax-switch-off: #c5cad1;
    --stax-overlay: rgba(16, 24, 40, 0.45);
    --stax-overlay-soft: rgba(16, 24, 40, 0.06);
    --stax-row-hover: rgba(16, 24, 40, 0.05);
    --stax-dash-border: #c5cad1;
    --stax-step-muted: #5b6573;
    --stax-step-track: #e7eaee;
    --stax-step-label: #5b6573;
    --stax-login-scrim: linear-gradient(180deg, rgba(255, 255, 255, 0.28) 0%, rgba(255, 255, 255, 0.34) 100%);
    --stax-chart-grid: rgba(28, 31, 36, 0.12);
    color-scheme: light;
}

html[data-theme="light-red"] .login-card,
html[data-theme="light-gray"] .login-card {
    background: var(--stax-surface);
    box-shadow: 0 18px 48px rgba(16, 24, 40, 0.16);
}

html[data-theme="light-red"] button.request-status-btn:hover,
html[data-theme="light-gray"] button.request-status-btn:hover {
    background: var(--stax-secondary-hover);
    color: var(--stax-text);
}

html[data-theme="light-red"] .login-brand .mark,
html[data-theme="light-gray"] .login-brand .mark,
html[data-theme="light-red"] .login-brand p,
html[data-theme="light-gray"] .login-brand p {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.55);
}

html[data-theme="light-red"] {
    --stax-black: #f5f6f8;
    --stax-elevated: #eef0f3;
    --stax-border: #dde1e7;
    --stax-code-bg: #f5f6f8;
    --stax-code-border: #dde1e7;
    --stax-code-text: #1a1d21;
    --stax-accent: #d62839;
    --stax-accent-hover: #b01f2e;
    --stax-accent-ink: #9f1239;
    --stax-accent-soft: rgba(214, 40, 57, 0.12);
    --stax-accent-border: rgba(214, 40, 57, 0.35);
    --stax-accent-ring: rgba(214, 40, 57, 0.45);
    --stax-accent-wash: rgba(214, 40, 57, 0.08);
    --stax-accent-strong: rgba(214, 40, 57, 0.16);
    --stax-accent-chip: rgba(214, 40, 57, 0.10);
    --stax-accent-chip-strong: rgba(214, 40, 57, 0.14);
    --stax-accent-soft-10: rgba(214, 40, 57, 0.10);
    --stax-accent-border-strong: rgba(214, 40, 57, 0.40);
    --stax-bar-active: rgba(214, 40, 57, 0.55);
    --stax-bar-accent: #ff5c67;
}

html[data-theme="light-gray"] {
    --stax-black: #f4f5f7;
    --stax-elevated: #eceef1;
    --stax-border: #d7dbe1;
    --stax-text: #1f2328;
    --stax-code-bg: #f4f5f7;
    --stax-code-border: #d7dbe1;
    --stax-code-text: #1f2328;
    --stax-accent: #3d4652;
    --stax-accent-hover: #2a313a;
    --stax-accent-ink: #1f2328;
    --stax-accent-soft: rgba(61, 70, 82, 0.10);
    --stax-accent-border: rgba(61, 70, 82, 0.28);
    --stax-accent-ring: rgba(61, 70, 82, 0.45);
    --stax-accent-wash: rgba(61, 70, 82, 0.08);
    --stax-accent-strong: rgba(61, 70, 82, 0.16);
    --stax-accent-chip: rgba(61, 70, 82, 0.10);
    --stax-accent-chip-strong: rgba(61, 70, 82, 0.14);
    --stax-accent-soft-10: rgba(61, 70, 82, 0.10);
    --stax-accent-border-strong: rgba(61, 70, 82, 0.35);
    --stax-bar-active: rgba(255, 255, 255, 0.14);
    --stax-bar-accent: #ffffff;
    --stax-warn-ink: #9f1239;
}
