/* KolorCom — related navy/orange palette with WCAG-minded contrast */

:root {
    --navy: #0a2340;
    --navy-bright: #1b527a;
    --orange: #f97316;
    --orange-deep: #c2410c;
    --orange-glow: #ffc56d;
    --brand-rgb: 249, 115, 22;
    --brand-600: #f97316;
    --brand-500: #ff9a2e;
    --brand-700: #ea580c;
    --menu-primary: #f97316;
    --rainbow-gradient: linear-gradient(90deg, #4c1d95 0%, #7c5cff 45%, #f97316 100%);
}

/* Dark cinematic chrome (Vortasky-like): near-black, violet glow, orange CTAs */
html.dark {
    color-scheme: dark;
    --bg: #080612;
    --bg-primary: #080612;
    --bg-secondary: #120e1e;
    --surface: #161228;
    --surface-2: #1e1834;
    --ink: #f7f5ff;
    --ink-muted: #c4bdd8;
    --line: rgba(167, 139, 250, 0.28);
    --text-primary: #f7f5ff;
    --text-secondary: #c4bdd8;
    --navy: #0a0614;
    --card-bg: #161228;
    --card-border: rgba(167, 139, 250, 0.28);
}

/* Light — matches the logo: white field, navy type, orange accent */
html:not(.dark) {
    color-scheme: light;
    --bg: #ffffff;
    --bg-primary: #f4f7fb;
    --bg-secondary: #ffffff;
    --surface: #ffffff;
    --surface-2: #f4f7fb;
    --ink: #0d2b4a;
    --ink-muted: #3d4f66;
    --line: rgba(13, 43, 74, 0.12);
    --text-primary: #0d2b4a;
    --text-secondary: #3d4f66;
    --card-bg: #ffffff;
    --card-border: rgba(13, 43, 74, 0.12);
}

/* Logo always on white so navy artwork stays visible */
.brand-logo-plate {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-radius: 12px;
    padding: 6px 10px;
    line-height: 0;
    border: 1px solid rgba(13, 43, 74, 0.08);
    box-shadow: 0 1px 0 rgba(13, 43, 74, 0.04), 0 8px 20px rgba(13, 43, 74, 0.08);
}
.brand-logo-plate img {
    display: block;
    background: #ffffff;
}
.brand-logo-plate--auth {
    padding: 12px 18px;
    border-radius: 16px;
}
.brand-logo-plate--nav {
    padding: 4px 8px;
    border-radius: 10px;
}
.brand-logo-plate--footer {
    padding: 8px 12px;
}
.brand-logo-plate--mini {
    padding: 4px;
    border-radius: 10px;
}
.brand-auth-title { color: var(--ink); }

.front-site-header {
    background: rgba(8, 6, 18, 0.92);
    border-color: rgba(167, 139, 250, 0.22);
    color: #f7f5ff;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
}
html.dark .front-site-header {
    background: rgba(8, 6, 18, 0.92);
    border-color: rgba(167, 139, 250, 0.22);
    color: #f7f5ff;
}
html:not(.dark) .front-site-header {
    background: #ffffff;
    border-color: rgba(13, 43, 74, 0.12);
    color: #0d2b4a;
}

html.dark,
html.dark body,
body.dark {
    background: var(--bg) !important;
    color: var(--ink) !important;
}
html.dark body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background:
        radial-gradient(ellipse 90% 50% at 50% 120%, rgba(124, 58, 237, 0.28), transparent 58%),
        radial-gradient(ellipse 40% 30% at 90% -5%, rgba(249, 115, 22, 0.12), transparent 50%);
}

html:not(.dark) body,
body.landing-light {
    background: var(--bg) !important;
    color: var(--ink) !important;
}

.shader-bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    max-height: 100dvh;
    z-index: 0;
    pointer-events: none;
    display: block;
    opacity: 0.92;
}
html:not(.dark) .shader-bg-canvas,
html[data-theme="light"] .shader-bg-canvas {
    opacity: 0.28;
}
#app-shell,
.rainbow-card,
.front-site-header,
nav,
section,
footer {
    position: relative;
    z-index: 1;
}

.app-logo, .app-favicon { object-fit: contain !important; max-width: 100%; max-height: 100%; }

/* Rainbow Card - Animated border, dark theme */
.rainbow-card, .stat-card {
    position: relative;
    z-index: 1;
    background: var(--surface) !important;
    color: var(--ink) !important;
    border-radius: 22px;
    padding: 1.5rem;
    border: 1px solid var(--line);
    overflow: hidden;
    backdrop-filter: blur(16px);
    transition: all 0.3s ease;
    box-shadow: 0 24px 60px -32px rgba(124, 58, 237, 0.45);
}

/* reCAPTCHA / Turnstile need visible overflow or their iframe challenge is clipped / blank */
.rainbow-card:has(.captcha-widget),
.stat-card:has(.captcha-widget) {
    overflow: visible;
}
.captcha-widget {
    position: relative;
    z-index: 20;
    overflow: visible;
    min-height: 78px;
}
.captcha-widget .g-recaptcha,
.captcha-widget .cf-turnstile {
    display: inline-block;
    max-width: 100%;
}
.captcha-widget iframe {
    max-width: 100%;
}

.rainbow-card h2, .rainbow-card h3, .rainbow-card p, .rainbow-card label,
.stat-card h2, .stat-card h3, .stat-card p, .stat-card label { color: var(--ink); }

.rainbow-card th, .stat-card th { color: var(--ink-muted); }

.rainbow-card a:hover, .stat-card a:hover { color: var(--orange-glow); }
html:not(.dark) .rainbow-card a:hover, html:not(.dark) .stat-card a:hover { color: var(--orange-deep); }

.rainbow-card .text-blue-400, .stat-card .text-blue-400 { color: #7dd3fc !important; }
html:not(.dark) .rainbow-card .text-blue-400, html:not(.dark) .stat-card .text-blue-400 { color: #0369a1 !important; }
.rainbow-card .text-green-500, .stat-card .text-green-500,
.rainbow-card .text-emerald-400, .stat-card .text-emerald-400 { color: #34d399 !important; }
html:not(.dark) .rainbow-card .text-green-500, html:not(.dark) .stat-card .text-green-500,
html:not(.dark) .rainbow-card .text-emerald-400, html:not(.dark) .stat-card .text-emerald-400 { color: #047857 !important; }
.rainbow-card .text-amber-400, .stat-card .text-amber-400 { color: #fbbf24 !important; }
html:not(.dark) .rainbow-card .text-amber-400, html:not(.dark) .stat-card .text-amber-400 { color: #b45309 !important; }

.rainbow-card::before, .stat-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--rainbow-gradient);
    background-size: 200% 100%;
    animation: rainbow-flow 3s linear infinite;
}

@keyframes rainbow-flow {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.rainbow-card:hover, .stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4);
}

.rainbow-card:hover::before, .stat-card:hover::before {
    animation-duration: 1.5s;
    height: 5px;
}

.sidebar-gradient {
    background: linear-gradient(180deg, #161228 0%, #080612 100%) !important;
    border-right: 1px solid rgba(167, 139, 250, 0.22);
    color: #f7f5ff;
}

.sidebar-gradient .menu-heading { color: #ffc56d !important; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; font-size: 0.75rem; }

.btn-primary {
    background: linear-gradient(135deg, #ff9a2e 0%, #f97316 100%);
    color: #ffffff !important;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.35),
        inset 0 -2px 4px rgba(0, 0, 0, 0.28),
        0 8px 24px rgba(249, 115, 22, 0.35);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.35),
        inset 0 -2px 4px rgba(0, 0, 0, 0.28),
        0 8px 20px rgba(var(--brand-rgb), 0.35);
    color: white !important;
}

.btn-primary:active {
    transform: translateY(0);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
}

.form-input {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 8px;
    color: var(--ink);
    padding: 0.75rem 1rem;
    width: 100%;
}

html.dark .form-input, .dark .form-input {
    background: var(--surface-2);
    border-color: rgba(255, 197, 109, 0.45);
    color: var(--ink);
}
html.dark .form-input::placeholder, .dark .form-input::placeholder { color: var(--ink-muted); }
html:not(.dark) .form-input::placeholder { color: var(--ink-muted); }
.form-input:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(var(--brand-rgb), 0.28); }
select.form-input { appearance: menulist; cursor: pointer; min-height: 2.5rem; }

::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: #163a5c; border-radius: 4px; }
::-webkit-scrollbar-thumb { background: #ff9a2e; border-radius: 4px; }
html:not(.dark) ::-webkit-scrollbar-track { background: #e8eef4; }
html:not(.dark) ::-webkit-scrollbar-thumb { background: #f97316; }

@media (max-width: 640px) { .rainbow-card, .stat-card { padding: 1rem; } }
.sidebar-menu-scroll { flex: 1 1 0; min-height: 0; overflow-y: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 768px) {
    .hero-slider .hero-prev, .hero-slider .hero-next { width: 40px; height: 40px; left: 8px; right: 8px; font-size: 0.875rem; }
}
@media (max-width: 640px) {
    .hero-slider .hero-prev, .hero-slider .hero-next { width: 36px; height: 36px; left: 4px; right: 4px; }
}
.table-responsive table {
    width: max-content;
    min-width: 100%;
}

/* Scroll-to-top FAB — safe area on notched phones */
.scroll-to-top-fab {
    bottom: max(5.5rem, calc(4.5rem + env(safe-area-inset-bottom, 0px)));
    z-index: 10060;
    touch-action: manipulation;
}

@media (max-width: 1023px) {
    .scroll-to-top-fab {
        bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
    }
}

/* Admin dashboard — denser stat cards so KPIs sit above the fold */
.dashboard-stat-grid .stat-card {
    padding: 0.75rem 0.875rem;
}
.dashboard-stat-grid .stat-card .text-3xl {
    font-size: 1.375rem !important;
    line-height: 1.75rem;
    margin-top: 0.125rem;
}
.dashboard-stat-grid .stat-card .text-2xl {
    font-size: 1.125rem !important;
    line-height: 1.5rem;
}
.dashboard-stat-grid .stat-card .text-sm {
    font-size: 0.6875rem !important;
    letter-spacing: 0.04em;
}
.dashboard-stat-grid .stat-card .w-12 {
    width: 2.25rem !important;
    height: 2.25rem !important;
}
.dashboard-stat-grid .stat-card .text-xl {
    font-size: 0.875rem !important;
}
.dashboard-stat-grid .stat-card a.text-sm {
    font-size: 0.6875rem !important;
    margin-top: 0.375rem;
}
.dashboard-stat-grid .stat-card .text-xs {
    font-size: 0.625rem !important;
}

/* Customer dashboard — payment reminders */
.payment-reminders-section {
    margin-bottom: 1.5rem;
}

.payment-reminders-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 0 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fbbf24 !important;
}

.payment-reminders-heading i {
    color: #fbbf24 !important;
    font-size: 0.875rem;
}

.payment-reminders-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-reminder-card {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    background: var(--surface);
    border: 1px solid var(--line);
    overflow: hidden;
}

.payment-reminder-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #fbbf24 0%, #22c55e 100%);
    animation: none;
}

.payment-reminder-card__title {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--ink) !important;
    line-height: 1.4;
}

.payment-reminder-card__meta,
.payment-reminder-card__due {
    margin: 0.25rem 0 0;
    font-size: 0.8125rem;
    color: var(--ink-muted) !important;
    line-height: 1.45;
}

.payment-reminder-card__due i {
    margin-right: 0.35rem;
    color: var(--ink-muted) !important;
}

.payment-reminder-card__actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.payment-reminder-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.payment-reminder-btn--view {
    background: transparent;
    border: 1px solid var(--line);
    color: var(--ink) !important;
}

.payment-reminder-btn--view:hover {
    background: rgba(249, 115, 22, 0.12);
    border-color: var(--orange);
    color: var(--ink) !important;
}

.payment-reminder-btn--pay {
    background: #16a34a;
    border: 1px solid #16a34a;
    color: #ffffff !important;
    font-weight: 600;
}

.payment-reminder-btn--pay:hover {
    background: #15803d;
    border-color: #15803d;
    color: #ffffff !important;
}

@media (max-width: 640px) {
    .payment-reminder-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .payment-reminder-card__actions {
        width: 100%;
    }

    .payment-reminder-btn {
        flex: 1;
    }
}

/* ── Global glass + embossed buttons ── */
button,
input[type="submit"],
input[type="button"],
input[type="reset"],
a.btn-primary {
    border-radius: 50px !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

button:not(.btn-primary):not([class*="bg-"]):not(.payment-reminder-btn),
input[type="submit"]:not(.btn-primary):not([class*="bg-"]),
input[type="button"]:not([class*="bg-"]) {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.35),
        inset 0 -2px 4px rgba(0, 0, 0, 0.28),
        0 4px 14px rgba(0, 0, 0, 0.25);
}
html:not(.dark) button:not(.btn-primary):not([class*="bg-"]):not(.payment-reminder-btn),
html:not(.dark) input[type="submit"]:not(.btn-primary):not([class*="bg-"]),
html:not(.dark) input[type="button"]:not([class*="bg-"]) {
    background: #f4f7fb;
    border: 1px solid rgba(13, 43, 74, 0.15);
    color: #0d2b4a;
    box-shadow: 0 1px 2px rgba(13, 43, 74, 0.06);
}

button:not(.btn-primary)[class*="bg-"],
input[type="submit"]:not(.btn-primary)[class*="bg-"],
input[type="button"][class*="bg-"] {
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow:
        inset 0 1px 1px rgba(255, 255, 255, 0.25),
        inset 0 -2px 4px rgba(0, 0, 0, 0.22),
        0 4px 12px rgba(0, 0, 0, 0.2);
}

button:hover:not(:disabled),
input[type="submit"]:hover:not(:disabled),
input[type="button"]:hover:not(:disabled) {
    transform: translateY(-1px);
}

button:active:not(:disabled),
input[type="submit"]:active:not(:disabled),
input[type="button"]:active:not(:disabled) {
    transform: translateY(0);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* ── Sidebar section headings: glass + emboss + individual shadow ── */
.sidebar-gradient summary.menu-heading {
    border-radius: 12px;
    margin: 0.35rem 0.5rem;
    padding: 0.5rem 0.75rem !important;
    background: rgba(255, 255, 255, 0.06) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.14),
        inset 0 -1px 0 rgba(0, 0, 0, 0.35),
        0 4px 10px rgba(0, 0, 0, 0.28);
    text-shadow:
        0 1px 0 rgba(255, 255, 255, 0.12),
        0 -1px 1px rgba(0, 0, 0, 0.45);
}

.sidebar-gradient summary.menu-heading:hover {
    background: rgba(var(--brand-rgb), 0.15) !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3),
        0 6px 14px rgba(var(--brand-rgb), 0.25);
}

.sidebar-gradient .menu-item {
    border-radius: 50px;
    transition: background 0.2s ease, box-shadow 0.2s ease;
}

.sidebar-gradient a.menu-item:hover,
.sidebar-gradient a[class*="menu-item"]:hover {
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.1),
        0 2px 8px rgba(0, 0, 0, 0.2);
}

.sidebar-gradient a.text-white.bg-purple-600,
.sidebar-gradient a.bg-purple-600 {
    border-radius: 50px !important;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2),
        0 3px 10px rgba(var(--brand-rgb), 0.35);
}

/* Compact sidebar — tighter gaps so all section headers fit without scrolling */
.sidebar-gradient nav {
    margin-top: 0.375rem !important;
    padding-bottom: 0.375rem !important;
}
.sidebar-gradient nav > div.pt-4,
.sidebar-gradient nav details.pt-4,
.sidebar-gradient nav details.group {
    padding-top: 0.125rem !important;
}
.sidebar-gradient summary.menu-heading {
    margin: 0.08rem 0.35rem !important;
    padding: 0.28rem 0.55rem !important;
    border-radius: 8px;
    min-height: 0;
    line-height: 1.25;
}
.sidebar-gradient nav a[class*="py-2"],
.sidebar-gradient nav summary[class*="py-2"] {
    padding-top: 0.3rem !important;
    padding-bottom: 0.3rem !important;
}
.sidebar-gradient nav .mt-1 {
    margin-top: 0.125rem !important;
}

.sidebar-gradient .menu-item { color: #f7fbff !important; }
.sidebar-gradient .menu-item:hover { color: #ffffff !important; }
.sidebar-gradient .text-white,
.sidebar-gradient h1,
.sidebar-gradient a.text-white,
html:not(.dark) .sidebar-gradient .text-white,
html:not(.dark) .sidebar-gradient h1,
html:not(.dark) .sidebar-gradient a.text-white { color: #ffffff !important; }

/*
 * Contrast map — Tailwind utilities were written for a dark UI.
 * Remap them so type stays readable on both cream (light) and navy (dark).
 */
html.dark .bg-gray-900,
html.dark .dark\:bg-gray-900 { background-color: var(--bg) !important; }
html.dark .bg-gray-800,
html.dark .dark\:bg-gray-800 { background-color: var(--surface) !important; }
html.dark .bg-gray-700,
html.dark .dark\:bg-gray-700 { background-color: var(--surface-2) !important; }

html.dark .text-black,
html.dark .text-gray-900,
html.dark .text-gray-800,
html.dark .text-gray-700 { color: var(--ink) !important; }
html.dark .text-gray-100,
html.dark .text-gray-200,
html.dark .text-gray-300 { color: var(--ink) !important; }
html.dark .text-white:not([class*="bg-purple"]):not([class*="bg-red"]):not([class*="bg-green"]):not([class*="bg-teal"]):not([class*="bg-orange"]):not(.btn-primary) { color: var(--ink) !important; }
html.dark .text-gray-400,
html.dark .text-gray-500,
html.dark .text-gray-600 { color: var(--ink-muted) !important; }
html.dark .placeholder-gray-400::placeholder,
html.dark .placeholder-gray-300::placeholder { color: var(--ink-muted) !important; }
html.dark .text-purple-300,
html.dark .text-purple-400 { color: var(--orange-glow) !important; }
html.dark .border-gray-700,
html.dark .border-gray-600 { border-color: var(--line) !important; }

html:not(.dark) .bg-gray-900,
html:not(.dark) .bg-gray-800 { background-color: var(--surface) !important; color: var(--ink); }
html:not(.dark) .bg-gray-700,
html:not(.dark) .bg-gray-700\/70,
html:not(.dark) .bg-gray-700\/50 { background-color: var(--surface-2) !important; color: var(--ink); }
html:not(.dark) .bg-gray-100 { background-color: var(--bg) !important; }
html:not(.dark) .bg-white { background-color: #ffffff !important; }

html:not(.dark) .text-white:not([class*="bg-purple"]):not([class*="bg-red"]):not([class*="bg-green"]):not([class*="bg-teal"]):not([class*="bg-orange"]):not([class*="bg-pink"]):not([class*="bg-amber"]):not([class*="bg-blue"]):not(.btn-primary):not(.mobile-menu-btn),
html:not(.dark) .text-gray-100,
html:not(.dark) .text-gray-200,
html:not(.dark) .text-gray-300 { color: var(--ink) !important; }
html:not(.dark) .text-gray-400,
html:not(.dark) .text-gray-500 { color: var(--ink-muted) !important; }
html:not(.dark) .text-gray-600,
html:not(.dark) .text-gray-700,
html:not(.dark) .text-gray-800,
html:not(.dark) .text-gray-900,
html:not(.dark) .text-black { color: var(--ink) !important; }
html:not(.dark) .placeholder-gray-400::placeholder,
html:not(.dark) .placeholder-gray-500::placeholder { color: var(--ink-muted) !important; }
html:not(.dark) .text-purple-300,
html:not(.dark) .text-purple-400 { color: var(--orange-deep) !important; }
html:not(.dark) .border-gray-700,
html:not(.dark) .border-gray-600 { border-color: var(--line) !important; }
html:not(.dark) .prose-invert { color: var(--ink) !important; }

/* Saturated chips/buttons keep white type in both modes */
.bg-purple-600, .bg-purple-500, .bg-purple-700,
.hover\:bg-purple-600:hover, .hover\:bg-purple-500:hover,
.bg-red-500, .bg-red-600, .bg-green-500, .bg-green-600, .bg-teal-600,
.bg-orange-500, .bg-orange-600, .bg-amber-500, .bg-pink-600, .bg-blue-600,
.btn-primary {
    color: #ffffff !important;
}
.bg-purple-600 .text-white, .bg-purple-500 .text-white,
.btn-primary .text-white { color: #ffffff !important; }

html:not(.dark) header.bg-gray-900\/95,
html:not(.dark) header[class*="bg-gray-900"] {
    background-color: rgba(255, 255, 255, 0.96) !important;
    color: var(--ink);
}


