/* Light theme for the auth pages (login, register, forgot/reset password,
   registration success). These pages were built with hard-coded dark
   utilities, so they are remapped here instead of rewriting each template. */
html, body { background: #f5f8fc !important; color: #0f172a; }
body[class], .min-h-screen[class*="bg-gray-9"], .min-h-screen[class*="bg-slate-9"] { background: #f5f8fc !important; }

[class~="bg-gray-900"], [class~="bg-gray-800"], [class~="bg-slate-900"], [class~="bg-slate-800"],
[class*="bg-gray-900/"], [class*="bg-gray-800/"], [class*="bg-slate-900/"], [class*="bg-slate-800/"] { background-color: #ffffff !important; }
[class~="bg-gray-700"], [class*="bg-gray-700/"], [class*="bg-gray-800/5"] { background-color: #f1f5f9 !important; }
[class~="border-gray-700"], [class~="border-gray-800"], [class~="border-gray-600"], [class*="border-gray-700/"], [class*="border-white/"] { border-color: #e2e8f0 !important; }
[class~="divide-gray-700"] > * + * { border-color: #e2e8f0 !important; }

[class~="text-white"] { color: #0f172a !important; }
[class~="text-gray-100"], [class~="text-gray-200"] { color: #1e293b !important; }
[class~="text-gray-300"] { color: #475569 !important; }
[class~="text-gray-400"], [class~="text-gray-500"] { color: #64748b !important; }
[class~="placeholder-gray-400"]::placeholder, input::placeholder, textarea::placeholder { color: #94a3b8 !important; }

/* inputs */
input:not([type=checkbox]):not([type=radio]), select, textarea { background-color: #ffffff !important; color: #0f172a !important; border-color: #cbd5e1 !important; }
input:focus, select:focus, textarea:focus { border-color: #2563eb !important; box-shadow: 0 0 0 3px rgba(37, 99, 235, .15) !important; outline: none; }

/* gradient text + primary buttons -> solid blue */
[class~="text-transparent"] { color: #2563eb !important; -webkit-text-fill-color: #2563eb !important; background: none !important; }
button[class*="bg-gradient"], a[class*="bg-gradient"], [type=submit][class*="from-"] {
  background: #2563eb !important; background-image: none !important; color: #ffffff !important;
}
button[class*="bg-gradient"]:hover, a[class*="bg-gradient"]:hover { background: #1d4ed8 !important; }
button[class*="bg-gradient"] *, a[class*="bg-gradient"] * { color: #ffffff !important; }

/* links and accents */
[class~="text-blue-400"], [class~="text-blue-300"], [class~="text-cyan-400"], [class~="text-indigo-400"], [class~="text-indigo-300"] { color: #2563eb !important; }
[class~="text-green-400"] { color: #16a34a !important; }
[class~="text-red-400"] { color: #dc2626 !important; }
[class~="shadow-2xl"] { box-shadow: 0 20px 45px -20px rgba(15, 23, 42, .25) !important; }
.glass-effect, .trading-card { background: #ffffff !important; border: 1px solid #e2e8f0 !important; box-shadow: 0 10px 30px -15px rgba(15, 23, 42, .2) !important; }
