/* CarlCorp light theme - toggled via html[data-theme=light] */
html[data-theme="light"]{color-scheme:light;
--color-primary-dark:#f1f5f9;--color-secondary-dark:#ffffff;--color-text-primary:#0f172a;--color-text-secondary:#475569;
--color-white:#0f172a;--color-gray-200:#cbd5e1;--color-gray-300:#334155;--color-gray-400:#475569;--color-gray-500:#64748b;
--color-slate-200:#cbd5e1;--color-slate-300:#334155;--color-slate-400:#475569;--color-slate-500:#64748b;
--color-zinc-300:#334155;--color-zinc-400:#475569;--color-neutral-300:#334155;--color-neutral-400:#475569;}
html[data-theme="light"] body{background-color:#f1f5f9;color:#0f172a}
/* keep white text on coloured / gradient surfaces */
html[data-theme="light"] [class*="bg-gradient"],html[data-theme="light"] .bg-accent-primary,html[data-theme="light"] .bg-accent-secondary,html[data-theme="light"] .bg-accent-glow,html[data-theme="light"] .bg-success,html[data-theme="light"] .bg-error,html[data-theme="light"] .bg-info,html[data-theme="light"] .bg-warning,html[data-theme="light"] .bg-red-500,html[data-theme="light"] .bg-red-600,html[data-theme="light"] .bg-green-500,html[data-theme="light"] .bg-green-600,html[data-theme="light"] .bg-emerald-500,html[data-theme="light"] .bg-emerald-600,html[data-theme="light"] .bg-blue-500,html[data-theme="light"] .bg-blue-600,html[data-theme="light"] .bg-indigo-500,html[data-theme="light"] .bg-indigo-600,html[data-theme="light"] .bg-purple-500,html[data-theme="light"] .bg-purple-600,html[data-theme="light"] .bg-violet-500,html[data-theme="light"] .bg-violet-600,html[data-theme="light"] .bg-cyan-500,html[data-theme="light"] .bg-cyan-600{--color-white:#ffffff;color:#ffffff}
/* hard-coded dark surfaces */
html[data-theme="light"] [class*="bg-[#0"],html[data-theme="light"] [class*="bg-[#1"],html[data-theme="light"] [class*="bg-[#2"]{background-color:#ffffff !important}
html[data-theme="light"] [class*="bg-primary-dark/"],html[data-theme="light"] [class*="bg-secondary-dark/"]{background-color:rgba(255,255,255,.92) !important}
html[data-theme="light"] [class*="from-primary-dark"],html[data-theme="light"] [class*="to-primary-dark"],html[data-theme="light"] [class*="via-primary-dark"]{--tw-gradient-from:#f1f5f9;--tw-gradient-to:#f1f5f9;--tw-gradient-via:#f1f5f9}
html[data-theme="light"] [style*="background:#0"],html[data-theme="light"] [style*="background: #0"],html[data-theme="light"] [style*="background-color:#0"],html[data-theme="light"] [style*="background-color: #0"],html[data-theme="light"] [style*="background:#1"],html[data-theme="light"] [style*="background: #1"]{background:#ffffff !important}
/* cards, borders, shadows */
html[data-theme="light"] [class*="border-white"],html[data-theme="light"] .border{border-color:rgba(15,23,42,.12)}
html[data-theme="light"] .shadow-lg,html[data-theme="light"] .shadow-xl,html[data-theme="light"] .shadow-2xl{--tw-shadow-color:rgba(15,23,42,.12)}
/* form controls */
html[data-theme="light"] input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=submit]):not([type=button]),html[data-theme="light"] select,html[data-theme="light"] textarea{color:#0f172a;background-color:#ffffff;border-color:#cbd5e1}
html[data-theme="light"] input::placeholder,html[data-theme="light"] textarea::placeholder{color:#94a3b8}
html[data-theme="light"] option{background:#ffffff;color:#0f172a}
html[data-theme="light"] table{color:#0f172a}
html[data-theme="light"] .backdrop-blur-xl,html[data-theme="light"] .backdrop-blur-md,html[data-theme="light"] .backdrop-blur-lg{background-color:rgba(255,255,255,.85)}
html[data-theme="light"] .text-transparent{color:transparent}
/* logos: light artwork needs darkening on light surfaces; footer stays dark */
html[data-theme="light"] img[src*="logo"]{filter:invert(1) hue-rotate(180deg)}
html[data-theme="light"] footer{--color-white:#ffffff;--color-text-primary:#f8fafc;--color-text-secondary:#94a3b8;color:#f8fafc}
html[data-theme="light"] footer[class*="bg-"]{background-color:#0f172a !important}
html[data-theme="light"] footer img,html[data-theme="light"] footer img[src*="logo"]{filter:none !important}
html[data-theme="light"] footer [class*="border-white"]{border-color:rgba(255,255,255,.1)}
/* toggle button */
.cc-theme-toggle{display:inline-flex;align-items:center;justify-content:center;cursor:pointer;padding:0;line-height:1;border-radius:9999px;border:1px solid rgba(148,163,184,.35);background:rgba(148,163,184,.12);color:inherit;width:32px;height:32px;font-size:15px;margin-right:8px;flex:none}
.cc-theme-toggle:hover{border-color:#8b5cf6}
.cc-theme-toggle.cc-theme-fixed{position:fixed;right:16px;bottom:16px;z-index:2147483000;width:40px;height:40px;margin:0;background:#1e293b;color:#f8fafc;box-shadow:0 6px 18px rgba(0,0,0,.35)}
html[data-theme="light"] .cc-theme-toggle.cc-theme-fixed{background:#ffffff;color:#0f172a;border-color:#cbd5e1;box-shadow:0 6px 18px rgba(15,23,42,.18)}
