/* NCKF Light theme (v2.12). Only active when <html data-theme="light">. Dark purple stays the default. */
html[data-theme="light"]{color-scheme:light}
html[data-theme="light"] body{background:#efeaff}
html[data-theme="light"] #root>div.bg-gradient-to-br{background-image:linear-gradient(135deg,#f6f2ff 0%,#e8e0ff 52%,#f6e9ff 100%)!important}
html[data-theme="light"] .orb-1,html[data-theme="light"] .orb-2,html[data-theme="light"] .orb-3,html[data-theme="light"] .orb-4{opacity:.3}

/* sidebar (desktop) */
html[data-theme="light"] aside>div{background-image:linear-gradient(180deg,rgba(255,255,255,.88),rgba(238,231,255,.92))!important;color:#2d1b69!important;border-color:rgba(76,29,149,.14)!important}
html[data-theme="light"] aside .text-white,html[data-theme="light"] aside [class*="text-white"]{color:#2d1b69!important}
html[data-theme="light"] aside nav a{color:#4c3a8a!important}
html[data-theme="light"] aside nav a:hover{background:rgba(124,92,255,.10)!important}
html[data-theme="light"] aside nav a[class*="bg-white/15"]{background:rgba(124,92,255,.18)!important;color:#3b1b8f!important}
html[data-theme="light"] aside [class*="bg-white/10"],html[data-theme="light"] aside [class*="bg-white/5"]{background:rgba(124,92,255,.08)!important;border-color:rgba(76,29,149,.15)!important}
html[data-theme="light"] aside [class*="border-white"]{border-color:rgba(76,29,149,.14)!important}
html[data-theme="light"] aside [class*="text-violet"],html[data-theme="light"] aside [class*="text-indigo"]{color:#5b4aa6!important}

/* top headers */
html[data-theme="light"] header{background:rgba(255,255,255,.72)!important;border-color:rgba(76,29,149,.12)!important}
html[data-theme="light"] header [class*="text-white"]{color:#2d1b69!important}
html[data-theme="light"] header [class*="text-violet"],html[data-theme="light"] header [class*="text-indigo"]{color:#5b4aa6!important}

/* headings / helper text sitting directly on the page background */
html[data-theme="light"] main h1[class*="text-white"],html[data-theme="light"] main h2[class*="text-white"],html[data-theme="light"] main>div>div>p[class*="text-white"],html[data-theme="light"] main>div>div>div>p[class*="text-white"]{color:#2d1b69!important}
html[data-theme="light"] main h1 .nk-status.nk-active{background:rgba(16,185,129,.16);color:#047857;box-shadow:inset 0 0 0 1px rgba(16,185,129,.35)}
html[data-theme="light"] main h1 .nk-status.nk-closed{background:rgba(100,116,139,.18);color:#475569;box-shadow:inset 0 0 0 1px rgba(100,116,139,.35)}

/* page-level glass buttons: tinted violet glass with dark text */
html[data-theme="light"] button[class*="from-indigo-600"][class*="to-violet-600"]:not([class*="flex-1"]):not([class*="w-full"]),
html[data-theme="light"] button[class*="bg-white/20"][class*="backdrop-blur-sm"][class*="text-white"]{background-color:rgba(124,92,255,.14)!important;background-image:linear-gradient(135deg,rgba(124,92,255,.22),rgba(255,255,255,.35))!important;color:#3b1b8f!important;text-shadow:none;box-shadow:inset 0 0 0 1px rgba(76,29,149,.28),inset 0 1px 0 rgba(255,255,255,.8),0 6px 16px rgba(76,29,149,.12)!important;border-color:rgba(76,29,149,.25)!important}
html[data-theme="light"] .nk-chip{background:rgba(255,255,255,.65);color:#3b1b8f;border-color:rgba(76,29,149,.25)}
html[data-theme="light"] .nk-chip .n{background:rgba(76,29,149,.1)}
html[data-theme="light"] .nk-chip.on{background:#4c1d95;color:#fff;border-color:#4c1d95}
html[data-theme="light"] .nk-chip.on .n{background:rgba(255,255,255,.22)}
html[data-theme="light"] .nk-statusbtn{background:rgba(255,255,255,.7);color:#3b1b8f;border-color:rgba(76,29,149,.28)}
html[data-theme="light"] main button[class*="bg-white/20"][class*="text-white"]{color:#3b1b8f!important}

/* bottom nav */
html[data-theme="light"] nav[class*="fixed"][class*="bottom-0"]{background-color:rgba(255,255,255,.86)!important;border-top-color:rgba(76,29,149,.16)!important;box-shadow:inset 0 1px 0 rgba(255,255,255,.9),0 -8px 24px rgba(76,29,149,.14)}
html[data-theme="light"] nav[class*="fixed"][class*="bottom-0"] a{color:#6b5aa8!important;text-shadow:none}
html[data-theme="light"] nav[class*="fixed"][class*="bottom-0"] a:not([class*="text-violet-500/70"]){color:#3b1b8f!important}

/* customer detail summary cards keep white text on their coloured glass */
html[data-theme="light"] main [class*="from-indigo-500/"] ,html[data-theme="light"] main [class*="from-violet-500/"]{color:#fff}

/* customer detail summary cards: readable labels/values on light backgrounds */
html[data-theme="light"] main .grid-cols-2>div[class*="backdrop-blur-xl"] p.text-white{color:#1e1b4b!important}
html[data-theme="light"] main .grid-cols-2>div[class*="backdrop-blur-xl"] p[class*="text-indigo-200"]{color:#4338ca!important}
html[data-theme="light"] main .grid-cols-2>div[class*="backdrop-blur-xl"] p[class*="text-violet-200"]{color:#6d28d9!important}
html[data-theme="light"] main .grid-cols-2>div[class*="backdrop-blur-xl"] p[class*="text-emerald-200"],html[data-theme="light"] main .grid-cols-2>div[class*="backdrop-blur-xl"] p[class*="text-teal-200"]{color:#047857!important}
html[data-theme="light"] main .grid-cols-2>div[class*="backdrop-blur-xl"] p[class*="text-rose-200"],html[data-theme="light"] main .grid-cols-2>div[class*="backdrop-blur-xl"] p[class*="text-pink-200"]{color:#be123c!important}

/* sign out in the light sidebar */
html[data-theme="light"] aside button[class*="text-rose-300"]{color:#be123c!important;background:rgba(244,63,94,.08)!important}
html[data-theme="light"] .nk-toast{background:rgba(255,255,255,.95);color:#2d1b69;box-shadow:0 8px 24px rgba(76,29,149,.22),inset 0 0 0 1px rgba(76,29,149,.16)}
html[data-theme="light"] main button[class*="bg-white/20"] svg[class*="text-white"]{color:#4c1d95!important}
