/* Light mode — toggled via html[data-theme="light"] */

[data-theme="light"] {
  --bg: #f1f5f9;
  --bg-elevated: rgba(255, 255, 255, 0.9);
  --surface: #ffffff;
  --surface-hover: #f8fafc;
  --border: rgba(15, 23, 42, 0.1);
  --cyan: #0088b3;
  --cyan-dim: rgba(0, 136, 179, 0.12);
  --blue: #0066cc;
  --blue-dim: rgba(0, 102, 204, 0.1);
  --red: #dc2626;
  --red-dim: rgba(220, 38, 38, 0.1);
  --green: #059669;
  --text: #0f172a;
  --text-muted: #64748b;
  --input-bg: #ffffff;
  --row-hover: rgba(15, 23, 42, 0.04);
  --card-shadow: 0 1px 3px rgba(15, 23, 42, 0.08), 0 1px 2px rgba(15, 23, 42, 0.04);
  --gradient-btn: linear-gradient(90deg, #00b8e6 0%, #0066cc 100%);
  --gradient-cta: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 50%, #f0f9ff 100%);
}

[data-theme="light"] .bg-glow--1 {
  background: rgba(0, 114, 255, 0.08);
}
[data-theme="light"] .bg-glow--2 {
  background: rgba(0, 212, 255, 0.06);
}

[data-theme="light"] .glass {
  background: rgba(255, 255, 255, 0.75);
  border-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .btn--primary {
  color: #fff;
}

[data-theme="light"] .btn--ghost {
  border-color: rgba(0, 102, 204, 0.35);
  color: var(--text);
}

[data-theme="light"] .btn--ghost-light {
  border-color: rgba(15, 23, 42, 0.2);
  color: var(--text);
}

[data-theme="light"] .nav__logo {
  color: var(--text);
}

[data-theme="light"] .feature-card--highlight {
  background: rgba(0, 184, 230, 0.08);
  box-shadow: 0 0 32px rgba(0, 136, 179, 0.1);
}

[data-theme="light"] .card-dark,
[data-theme="light"] .content-card,
[data-theme="light"] .lead-form-card,
[data-theme="light"] .success-card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] .form-control,
[data-theme="light"] .form-select {
  background: #fff;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text);
}

[data-theme="light"] .preview-table tbody tr:hover {
  background: rgba(0, 136, 179, 0.06);
}

[data-theme="light"] body.lead-page {
  --bg: #f1f5f9;
  --card: #ffffff;
  --navy: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: rgba(15, 23, 42, 0.1);
  --cyan: #0088b3;
  --cyan-dim: rgba(0, 136, 179, 0.12);
}

[data-theme="light"] .lead-progress__bar {
  background: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .field select {
  background-color: #f8fafc;
  color: var(--text);
}

[data-theme="light"] .radio-option {
  background: rgba(255, 255, 255, 0.8);
}

[data-theme="light"] .field-message,
[data-theme="light"] .field-hint {
  color: #64748b;
}
[data-theme="light"] .field-message--error,
[data-theme="light"] .field-hint.is-error {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.4);
  color: #b91c1c;
}

[data-theme="light"] .btn-next:not(:disabled) {
  color: #fff;
}

[data-theme="light"] .nav__link {
  color: #475569;
}
[data-theme="light"] .nav__link:hover,
[data-theme="light"] .nav__link--active {
  color: var(--cyan);
}
[data-theme="light"] .nav.nav--open .nav__links,
[data-theme="light"] .nav.nav--open .nav__actions {
  background: rgba(255, 255, 255, 0.98);
  border-color: var(--border);
}

[data-theme="light"] .hero-mockup {
  background: transparent;
}
[data-theme="light"] .landing-page .hero__canvas,
[data-theme="light"] .landing-page .hero__canvas.hero__canvas--static,
[data-theme="light"] html.hero-touch-layout .landing-page .hero__canvas,
[data-theme="light"] html.hero-touch-layout .landing-page .hero__canvas.hero__canvas--ready {
  background: linear-gradient(155deg, rgba(224, 242, 254, 0.95), rgba(255, 255, 255, 0.98));
  border-color: rgba(0, 136, 179, 0.22);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
}
[data-theme="light"] html.hero-touch-layout .landing-page .hero-mockup,
[data-theme="light"] html.hero-touch-layout .landing-page .hero-mockup.glass {
  background: transparent !important;
}
[data-theme="light"] .landing-page .hero-mockup__card {
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(0, 136, 179, 0.18);
}
[data-theme="light"] .landing-page .hero-mockup__value {
  color: var(--blue);
}
[data-theme="light"] .landing-page .hero-mockup__bar {
  background: rgba(0, 136, 179, 0.35);
}
[data-theme="light"] .landing-page .hero-mockup__bar:nth-child(4) {
  background: rgba(0, 102, 204, 0.4);
}
[data-theme="light"] .trust-strip__inner {
  background: rgba(255, 255, 255, 0.85);
}
[data-theme="light"] .loan-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}
[data-theme="light"] .loan-card--featured {
  background: linear-gradient(160deg, rgba(0, 136, 179, 0.12) 0%, rgba(255, 255, 255, 0.95) 100%);
}

/* Theme toggle icons — one visible at a time (beats .topbar__theme-btn .theme-icon) */
#theme-toggle .theme-icon--moon,
.nav__icon-btn .theme-icon--moon,
.topbar__theme-btn .theme-icon--moon {
  display: none;
}

#theme-toggle .theme-icon--sun,
.nav__icon-btn .theme-icon--sun,
.topbar__theme-btn .theme-icon--sun {
  display: block;
}

[data-theme="light"] #theme-toggle .theme-icon--sun,
[data-theme="light"] .nav__icon-btn .theme-icon--sun,
[data-theme="light"] .topbar__theme-btn .theme-icon--sun {
  display: none;
}

[data-theme="light"] #theme-toggle .theme-icon--moon,
[data-theme="light"] .nav__icon-btn .theme-icon--moon,
[data-theme="light"] .topbar__theme-btn .theme-icon--moon {
  display: block;
}

/* User & admin portal shell */
[data-theme="light"] body.admin-layout,
[data-theme="light"] body.user-portal {
  --bg: #f1f5f9;
  --surface: #ffffff;
  --surface-hover: #f8fafc;
  --border: rgba(15, 23, 42, 0.1);
  --cyan: #0088b3;
  --cyan-dim: rgba(0, 136, 179, 0.12);
  --blue: #0066cc;
  --blue-dim: rgba(0, 102, 204, 0.1);
  --red: #dc2626;
  --red-dim: rgba(220, 38, 38, 0.1);
  --green: #059669;
  --text: #0f172a;
  --text-muted: #64748b;
  --gradient-btn: linear-gradient(90deg, #00b8e6 0%, #0066cc 100%);
}

[data-theme="light"] body.user-portal .file-input-wrap {
  background: rgba(0, 136, 179, 0.04);
  border-color: rgba(15, 23, 42, 0.12);
}

[data-theme="light"] body.user-portal .modal-overlay {
  background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] body.user-portal .user-mobile-nav {
  background: rgba(255, 255, 255, 0.96);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: 0 -8px 24px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] body.user-portal .topbar__theme-btn:hover {
  border-color: rgba(0, 136, 179, 0.35);
}

[data-theme="light"] .register-consent {
  background: rgba(0, 136, 179, 0.04);
  border-color: rgba(15, 23, 42, 0.1);
}

/* Landing footer — subscribe */
[data-theme="light"] .footer__subscribe h4 {
  color: var(--text);
}

[data-theme="light"] .footer__subscribe p {
  color: var(--text-muted);
}

[data-theme="light"] .subscribe-form input {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text);
}

[data-theme="light"] .subscribe-form input::placeholder {
  color: #94a3b8;
}

[data-theme="light"] .subscribe-form input:hover {
  border-color: rgba(15, 23, 42, 0.22);
  background: #f8fafc;
}

[data-theme="light"] .subscribe-form input:focus {
  border-color: var(--cyan);
  background: #ffffff;
  box-shadow: 0 0 0 3px var(--cyan-dim);
}

[data-theme="light"] .subscribe-form input:-webkit-autofill,
[data-theme="light"] .subscribe-form input:-webkit-autofill:hover,
[data-theme="light"] .subscribe-form input:-webkit-autofill:focus {
  -webkit-text-fill-color: var(--text);
  -webkit-box-shadow: 0 0 0 1000px #ffffff inset;
  box-shadow: 0 0 0 1000px #ffffff inset;
}

[data-theme="light"] .footer__social a {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.1);
  color: var(--text-muted);
}

[data-theme="light"] .footer__link-btn {
  color: var(--text-muted);
}

[data-theme="light"] .footer__link-btn:hover {
  color: var(--cyan);
}

[data-theme="light"] .footer__funding-cta {
  border-color: rgba(0, 136, 179, 0.22);
  background: linear-gradient(118deg, rgba(0, 184, 230, 0.16) 0%, rgba(219, 234, 254, 0.72) 42%, rgba(255, 255, 255, 0.96) 100%);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.08);
}

[data-theme="light"] .footer__funding-cta::before {
  background: linear-gradient(180deg, #00b8e6, #0066cc);
  box-shadow: 0 0 10px rgba(0, 136, 179, 0.3);
}

[data-theme="light"] .footer__funding-cta__badge {
  border-color: rgba(0, 136, 179, 0.28);
  background: rgba(0, 136, 179, 0.1);
  color: #0088b3;
}

[data-theme="light"] .footer__funding-cta__text {
  color: #64748b;
}

[data-theme="light"] .footer__funding-cta__btn {
  color: #fff;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 22px rgba(0, 102, 204, 0.22);
}

[data-theme="light"] .footer__funding-cta__btn-icon {
  background: rgba(255, 255, 255, 0.18);
}

[data-theme="light"] .footer__funding-cta__btn:hover {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.4) inset,
    0 10px 26px rgba(0, 102, 204, 0.28);
}

[data-theme="light"] .footer__funding-cta__btn:hover .footer__funding-cta__btn-icon {
  background: rgba(255, 255, 255, 0.24);
}

[data-theme="light"] .footer__funding-cta__btn:focus-visible {
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.35) inset,
    0 8px 22px rgba(0, 102, 204, 0.22),
    0 0 0 3px rgba(0, 136, 179, 0.22);
}

/* ===== Admin & user portal — professional light shell ===== */
[data-theme="light"] body.admin-layout,
[data-theme="light"] body.user-portal {
  background: var(--bg);
  color: var(--text);
}

[data-theme="light"] body.admin-layout .sidebar {
  background: #ffffff;
  border-right-color: rgba(15, 23, 42, 0.08);
  box-shadow: 1px 0 0 rgba(15, 23, 42, 0.04);
}

[data-theme="light"] body.admin-layout .brand-logo--sidebar img {
  filter: none;
}

[data-theme="light"] body.admin-layout .topbar {
  background: #ffffff;
  border-bottom-color: rgba(15, 23, 42, 0.08);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

[data-theme="light"] body.admin-layout,
[data-theme="light"] body.user-portal {
  --card-border: rgba(0, 102, 204, 0.1);
  --card-border-hover: rgba(0, 136, 179, 0.35);
  --card-shadow: 0 1px 0 rgba(255, 255, 255, 1) inset, 0 4px 16px rgba(15, 23, 42, 0.06);
  --card-shadow-hover: 0 8px 24px rgba(0, 102, 204, 0.1), 0 0 0 1px rgba(0, 136, 179, 0.12);

  /* Brand washes — matches landing page cyan / blue / green / red */
  --card-bg-default: linear-gradient(152deg, #ffffff 0%, #f8fafc 100%);
  --card-bg-panel: linear-gradient(160deg, #ffffff 0%, #f1f5f9 100%);
  --card-bg-cyan: linear-gradient(118deg, rgba(0, 184, 230, 0.24) 0%, rgba(224, 242, 254, 0.92) 40%, #ffffff 76%);
  --card-bg-blue: linear-gradient(118deg, rgba(0, 102, 204, 0.22) 0%, rgba(219, 234, 254, 0.88) 40%, #ffffff 76%);
  --card-bg-green: linear-gradient(118deg, rgba(5, 150, 105, 0.2) 0%, rgba(236, 253, 245, 0.88) 40%, #ffffff 76%);
  --card-bg-purple: linear-gradient(118deg, rgba(0, 102, 204, 0.1) 0%, rgba(241, 245, 249, 0.9) 40%, #ffffff 76%);
  --card-bg-rose: linear-gradient(118deg, rgba(220, 38, 38, 0.16) 0%, rgba(254, 226, 226, 0.82) 40%, #ffffff 76%);
}

[data-theme="light"] body.admin-panel .stat-mini::before,
[data-theme="light"] body.user-portal .stat-mini::before {
  width: 4px;
  top: 10px;
  bottom: 10px;
}

[data-theme="light"] body.admin-panel .stat-mini--cyan::before,
[data-theme="light"] body.user-portal .stat-mini--cyan::before {
  background: linear-gradient(180deg, #00b8e6, #0088b3);
  box-shadow: 0 0 8px rgba(0, 136, 179, 0.35);
}

[data-theme="light"] body.admin-panel .stat-mini--blue::before,
[data-theme="light"] body.user-portal .stat-mini--blue::before {
  background: linear-gradient(180deg, #0066cc, #004d99);
  box-shadow: 0 0 8px rgba(0, 102, 204, 0.3);
}

[data-theme="light"] body.admin-panel .stat-mini--green::before,
[data-theme="light"] body.user-portal .stat-mini--green::before {
  background: linear-gradient(180deg, #059669, #047857);
  box-shadow: 0 0 8px rgba(5, 150, 105, 0.28);
}

[data-theme="light"] body.admin-panel .stat-mini--purple::before,
[data-theme="light"] body.user-portal .stat-mini--purple::before {
  background: linear-gradient(180deg, #64748b, #0066cc);
  box-shadow: none;
}

[data-theme="light"] body.admin-panel .card::after,
[data-theme="light"] body.user-portal .card::after {
  background: radial-gradient(circle, rgba(0, 184, 230, 0.06) 0%, transparent 68%);
}

[data-theme="light"] body.admin-panel .stat-mini.card::after,
[data-theme="light"] body.user-portal .stat-mini.card::after,
[data-theme="light"] body.admin-panel .kpi-card.card::after {
  display: none;
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(1)::before {
  background: linear-gradient(180deg, #00b8e6, #0088b3);
  box-shadow: 0 0 8px rgba(0, 136, 179, 0.35);
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(2)::before {
  background: linear-gradient(180deg, #0066cc, #004d99);
  box-shadow: 0 0 8px rgba(0, 102, 204, 0.3);
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(3)::before {
  background: linear-gradient(180deg, #dc2626, #b91c1c);
  box-shadow: 0 0 8px rgba(220, 38, 38, 0.25);
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(1) .kpi-card__value {
  color: #0088b3;
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(2) .kpi-card__value {
  color: #0066cc;
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(3) .kpi-card__value {
  color: #dc2626;
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(1) {
  background: var(--card-bg-cyan);
  border-color: rgba(0, 136, 179, 0.24);
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(2) {
  background: var(--card-bg-blue);
  border-color: rgba(0, 102, 204, 0.22);
}

[data-theme="light"] body.admin-panel .kpi-row .kpi-card:nth-child(3) {
  background: var(--card-bg-rose);
  border-color: rgba(220, 38, 38, 0.18);
}

[data-theme="light"] body.admin-panel .kpi-card__icon--cyan {
  background: linear-gradient(145deg, rgba(0, 184, 230, 0.28), rgba(224, 242, 254, 0.95));
  color: #0088b3;
}

[data-theme="light"] body.admin-panel .kpi-card__icon--blue {
  background: linear-gradient(145deg, rgba(0, 102, 204, 0.24), rgba(219, 234, 254, 0.95));
  color: #0066cc;
}

[data-theme="light"] body.admin-panel .kpi-card__icon--red {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.2), rgba(254, 226, 226, 0.95));
  color: #dc2626;
}

[data-theme="light"] body.admin-panel .kpi-card__delta--up {
  background: rgba(5, 150, 105, 0.12);
  border-color: rgba(5, 150, 105, 0.22);
  color: #059669;
}

[data-theme="light"] body.admin-panel .kpi-card__delta--pending {
  background: rgba(220, 38, 38, 0.1);
  border-color: rgba(220, 38, 38, 0.2);
  color: #dc2626;
}

[data-theme="light"] body.admin-layout .card:not(.kpi-card):not(.stat-mini),
[data-theme="light"] body.user-portal .card:not(.kpi-card):not(.stat-mini) {
  background: var(--card-bg-default);
  border-color: rgba(15, 23, 42, 0.1);
  box-shadow: var(--card-shadow);
}
[data-theme="light"] body.admin-panel .stat-mini.card.stat-mini--cyan,
[data-theme="light"] body.user-portal .stat-mini.card.stat-mini--cyan {
  background: var(--card-bg-cyan);
  border-color: rgba(0, 136, 179, 0.22);
}

[data-theme="light"] body.admin-panel .stat-mini.card.stat-mini--blue,
[data-theme="light"] body.user-portal .stat-mini.card.stat-mini--blue {
  background: var(--card-bg-blue);
  border-color: rgba(0, 102, 204, 0.2);
}

[data-theme="light"] body.admin-panel .stat-mini.card.stat-mini--green,
[data-theme="light"] body.user-portal .stat-mini.card.stat-mini--green {
  background: var(--card-bg-green);
  border-color: rgba(5, 150, 105, 0.2);
}

[data-theme="light"] body.admin-panel .stat-mini.card.stat-mini--purple,
[data-theme="light"] body.user-portal .stat-mini.card.stat-mini--purple {
  background: var(--card-bg-purple);
  border-color: rgba(100, 116, 139, 0.18);
}

[data-theme="light"] body.user-portal .stat-mini.card.stat-mini--cyan,
[data-theme="light"] body.user-portal .stat-mini.card.stat-mini--blue,
[data-theme="light"] body.user-portal .stat-mini.card.stat-mini--green,
[data-theme="light"] body.user-portal .stat-mini.card.stat-mini--purple {
  background-color: #020024;
  background-image: linear-gradient(90deg, rgba(2, 0, 36, 1) 0%, rgba(9, 9, 121, 1) 35%, rgba(0, 212, 255, 1) 100%);
  border: 1.5px solid rgba(0, 136, 179, 0.85);
}

[data-theme="light"] body.user-portal .stat-mini .stat-mini__value {
  color: #ffffff;
}

[data-theme="light"] body.user-portal .stat-mini .stat-mini__label {
  color: rgba(255, 255, 255, 0.82);
}

[data-theme="light"] body.admin-panel .stat-mini--cyan .stat-mini__value {
  color: #0088b3;
}

[data-theme="light"] body.admin-panel .stat-mini--blue .stat-mini__value {
  color: #0066cc;
}

[data-theme="light"] body.admin-panel .stat-mini--green .stat-mini__value {
  color: #059669;
}

[data-theme="light"] body.admin-panel .stat-mini--purple .stat-mini__value {
  color: #475569;
}

[data-theme="light"] body.admin-panel .card:not(.stat-mini):not(.kpi-card)::before,
[data-theme="light"] body.user-portal .card:not(.stat-mini):not(.kpi-card)::before {
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.95), transparent);
}

[data-theme="light"] body.admin-panel .panel__title,
[data-theme="light"] body.user-portal .panel__title,
[data-theme="light"] body.admin-panel .panel--flush-table > .panel__title,
[data-theme="light"] body.user-portal .panel--flush-table > .panel__title,
[data-theme="light"] body.user-portal .panel__title--flush {
  border-bottom-color: rgba(15, 23, 42, 0.08);
  background: linear-gradient(180deg, rgba(248, 250, 252, 0.9), transparent);
}

[data-theme="light"] body.admin-panel .kpi-card__icon {
  border-color: rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

[data-theme="light"] body.admin-panel .kpi-card__delta {
  background: rgba(15, 23, 42, 0.04);
  border-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] body.admin-panel .kpi-card__bar {
  background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] body.admin-panel .modal-card,
[data-theme="light"] body.user-portal .modal-card {
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] body.admin-panel .modal-card__header,
[data-theme="light"] body.user-portal .modal-card__header {
  background: linear-gradient(180deg, #f8fafc, #ffffff);
  border-bottom-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] body.admin-panel .modal-card__footer,
[data-theme="light"] body.user-portal .modal-card__footer {
  background: #f8fafc;
  border-top-color: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] body.admin-panel .panel.card,
[data-theme="light"] body.user-portal .panel.card,
[data-theme="light"] body.admin-panel .chart-panel.card,
[data-theme="light"] body.admin-panel .recent-leads.card {
  background: var(--card-bg-panel);
}

[data-theme="light"] body.admin-panel .stat-mini__label,
[data-theme="light"] body.user-portal .stat-mini__label {
  color: var(--text-muted);
}

[data-theme="light"] body.admin-layout .stat-mini__value,
[data-theme="light"] body.user-portal .stat-mini__value {
  color: var(--text);
}

[data-theme="light"] body.admin-layout .kpi-card__bar {
  background: rgba(15, 23, 42, 0.08);
}

[data-theme="light"] body.admin-layout .data-table th {
  background: #f8fafc;
}

[data-theme="light"] body.admin-layout .data-table tr:hover td,
[data-theme="light"] body.admin-layout .table-dark-custom tr:hover td {
  background: var(--row-hover);
}

[data-theme="light"] body.admin-layout .field input,
[data-theme="light"] body.admin-layout .field select,
[data-theme="light"] body.admin-layout .field textarea,
[data-theme="light"] body.admin-layout .filters input,
[data-theme="light"] body.admin-layout .filters select,
[data-theme="light"] body.admin-layout .form-control,
[data-theme="light"] body.admin-layout .form-select,
[data-theme="light"] body.admin-layout .form-stack input,
[data-theme="light"] body.admin-layout .form-stack select,
[data-theme="light"] body.admin-layout .form-stack textarea,
[data-theme="light"] body.admin-layout .table-actions select,
[data-theme="light"] body.user-portal .form-control,
[data-theme="light"] body.user-portal .u-form input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
[data-theme="light"] body.user-portal .u-form select,
[data-theme="light"] body.user-portal .u-form textarea,
[data-theme="light"] body.user-portal .form-stack input:not([type="file"]):not([type="checkbox"]):not([type="radio"]),
[data-theme="light"] body.user-portal .form-stack select,
[data-theme="light"] body.user-portal .form-stack textarea {
  background: var(--input-bg);
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text);
}

[data-theme="light"] body.admin-layout .field input:focus,
[data-theme="light"] body.admin-layout .field select:focus,
[data-theme="light"] body.admin-layout .filters input:focus,
[data-theme="light"] body.admin-layout .filters select:focus,
[data-theme="light"] body.admin-layout .form-control:focus,
[data-theme="light"] body.admin-layout .form-select:focus,
[data-theme="light"] body.user-portal .form-control:focus,
[data-theme="light"] body.user-portal .u-form input:focus,
[data-theme="light"] body.user-portal .u-form select:focus,
[data-theme="light"] body.user-portal .u-form textarea:focus {
  background: #ffffff;
}

[data-theme="light"] body.admin-layout .search {
  background: #f8fafc;
}

[data-theme="light"] body.admin-layout .btn--primary,
[data-theme="light"] body.user-portal .btn--primary,
[data-theme="light"] body.admin-layout .btn-primary-custom {
  color: #ffffff;
}

[data-theme="light"] body.admin-layout .btn--ghost,
[data-theme="light"] body.user-portal .btn--ghost {
  background: #ffffff;
  border-color: rgba(15, 23, 42, 0.15);
  color: var(--text);
}

[data-theme="light"] body.admin-layout .btn--ghost:hover,
[data-theme="light"] body.user-portal .btn--ghost:hover {
  background: var(--cyan-dim);
  border-color: rgba(0, 136, 179, 0.35);
  color: var(--cyan);
}

[data-theme="light"] body.admin-layout .topbar__theme-btn {
  background: #f8fafc;
}

[data-theme="light"] body.admin-layout .topbar__theme-btn:hover,
[data-theme="light"] body.user-portal .topbar__theme-btn:hover {
  border-color: rgba(0, 136, 179, 0.35);
}

[data-theme="light"] body.admin-layout .admin-page-content .bg-secondary {
  background: rgba(15, 23, 42, 0.06);
  color: var(--text-muted);
}

[data-theme="light"] body.admin-layout .pipeline__col h3 span {
  background: rgba(15, 23, 42, 0.06);
}

[data-theme="light"] body.admin-layout .pipeline__card {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.1);
}

[data-theme="light"] body.admin-layout .modal-overlay,
[data-theme="light"] body.user-portal .modal-overlay {
  background: rgba(15, 23, 42, 0.45);
}

[data-theme="light"] body.admin-layout .modal-card,
[data-theme="light"] body.user-portal .modal-card {
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

[data-theme="light"] body.admin-layout .modal-close {
  color: var(--text-muted);
}

[data-theme="light"] body.admin-layout .modal-close:hover {
  color: var(--text);
  background: var(--row-hover);
}

[data-theme="light"] body.user-portal .data-table--mobile tbody tr {
  background: #ffffff;
  box-shadow: var(--card-shadow);
}

[data-theme="light"] body.user-portal .data-table--mobile tbody tr:hover td {
  background: transparent;
}

[data-theme="light"] body.user-portal .user-mobile-nav__link:hover {
  background: var(--row-hover);
}

[data-theme="light"] body.user-portal .register-steps li {
  background: #f8fafc;
}

[data-theme="light"] body.user-portal .register-consent {
  background: rgba(0, 136, 179, 0.04);
}

[data-theme="light"] body.user-portal .file-input-wrap {
  background: #f8fafc;
  border-color: rgba(15, 23, 42, 0.15);
}

[data-theme="light"] body.user-portal .file-input-wrap:hover,
[data-theme="light"] body.user-portal .file-input-wrap:focus-within {
  background: rgba(0, 136, 179, 0.04);
  border-color: rgba(0, 136, 179, 0.35);
}

[data-theme="light"] body.admin-layout .pagination__link {
  background: #ffffff;
}

[data-theme="light"] body.admin-layout .tab-nav__link--active {
  color: var(--cyan);
}

[data-theme="light"] body.admin-layout .sidebar-backdrop {
  background: rgba(15, 23, 42, 0.35);
}

[data-theme="light"] body.admin-layout .toggle {
  background: #f1f5f9;
}

[data-theme="light"] body.admin-layout .alert-banner--success {
  color: #047857;
}

[data-theme="light"] body.admin-layout .alert-banner--danger {
  background: rgba(220, 38, 38, 0.08);
  border-color: rgba(220, 38, 38, 0.25);
  color: #b91c1c;
}
