:root { color-scheme: dark; }
body { font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans", "Noto Sans Devanagari", sans-serif; background: #020617; color: #f1f5f9; }
.card { border: 1px solid #1e293b; background: #0f172a; border-radius: 1rem; padding: 1rem 1.1rem; }
.stat { display: flex; flex-direction: column; gap: .2rem; border-radius: .9rem; background: rgba(2, 6, 23, .6); padding: .6rem .75rem; }
.stat > span { font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: #94a3b8; }
.stat > strong { font-size: 1.5rem; font-weight: 800; line-height: 1.1; }
.stat > small { font-size: .75rem; color: #94a3b8; }
.navlink { border-radius: 9999px; padding: .35rem .7rem; color: #cbd5e1; }
.navlink:hover { color: #FB923C; }
.tab { display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .5rem 0 .55rem; color: #94a3b8; }
.tab.on { color: #FB923C; font-weight: 600; }
select { appearance: auto; }
input[type="date"], input[type="time"] { color-scheme: dark; }
/* Sign-in / sign-up pages (django-allauth's own markup) */
.auth h1 { font-size: 1.6rem; font-weight: 800; margin: .5rem 0 .75rem; }
.auth p { margin: .6rem 0; color: #cbd5e1; }
.auth a { color: #FB923C; }
.auth label { display: block; font-size: .875rem; color: #cbd5e1; margin-bottom: .25rem; }
.auth input[type="email"], .auth input[type="password"], .auth input[type="text"] {
  width: 100%; border: 1px solid #334155; background: #0f172a; border-radius: .75rem; padding: .7rem .8rem; font-size: 1rem; color: #f1f5f9; }
.auth input:focus { outline: none; border-color: #FB923C; }
.auth input[type="checkbox"] { accent-color: #f97316; width: 1.1rem; height: 1.1rem; margin-right: .4rem; vertical-align: middle; }
.auth button[type="submit"], .auth button:not([type]) { width: 100%; margin-top: .75rem; background: #FB923C; color: #020617; font-weight: 700; padding: .8rem; border-radius: .9rem; font-size: 1.05rem; }
.auth ul.errorlist, .auth .errorlist { color: #fca5a5; font-size: .875rem; }
.auth form + hr, .auth hr { border-color: #1e293b; margin: 1.25rem 0; }
.auth .socialaccount_providers a, .auth a[title="Google"] { display: block; text-align: center; border: 1px solid #334155; border-radius: .9rem; padding: .7rem; color: #f1f5f9; }
