/* Shared styling for the pre-login auth pages: login, signup, forgot, reset.
   These render before the theme system loads, so they're self-contained — the values
   here are hardcoded to match BloodEval's default "clinical" theme (cool off-white page,
   white card, medical-blue accent, deep-slate text) so the login flow feels cohesive. */
*{box-sizing:border-box;margin:0;padding:0}
body{min-height:100vh;display:flex;align-items:center;justify-content:center;padding:24px;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
  color:#16222f;background:#f3f7fb}
.bg{display:none}
.card{position:relative;z-index:1;width:100%;max-width:380px;background:#fff;
  border:1px solid #dde5ee;border-radius:14px;padding:30px 28px;
  box-shadow:0 1px 2px rgba(16,32,48,.05),0 10px 28px rgba(16,32,48,.06)}
.brand{font-weight:800;font-size:28px;letter-spacing:-.5px;color:#16222f;
  display:flex;align-items:center;gap:9px}
.brand .dot{width:12px;height:12px;border-radius:50%;background:#1f74c4}
.sub{color:#5c6b7c;font-size:14px;margin:6px 0 22px}
label{display:block;font-size:13px;font-weight:600;color:#3a4757;margin:14px 0 6px}
input{width:100%;background:#fff;color:#16222f;border:1px solid #cdd8e5;border-radius:9px;
  padding:12px 14px;font-size:15px;font-family:inherit}
input:focus{outline:none;border-color:#1f74c4;box-shadow:0 0 0 3px rgba(31,116,196,.15)}
input.code{text-transform:uppercase;letter-spacing:3px;font-weight:700;font-family:ui-monospace,Menlo,monospace}
.pwwrap{position:relative}
.pwwrap input{padding-right:64px}
.show{position:absolute;right:6px;top:6px;bottom:6px;padding:0 12px;border:1px solid #dde5ee;border-radius:7px;
  background:#eaf1f9;color:#3a4757;font-size:12px;font-weight:700;cursor:pointer}
.show:hover{color:#1f74c4}
button.go{width:100%;margin-top:20px;padding:13px;border:none;border-radius:9px;background:#1f74c4;
  color:#fff;font-size:15px;font-weight:800;cursor:pointer}
button.go:hover{background:#1a63aa}
button.go:disabled{opacity:.5;cursor:default}
.err{color:#c0392b;font-size:13px;margin-top:14px;min-height:18px;text-align:center}
.ok{color:#1c7c43;font-size:13.5px;margin-top:14px;text-align:center;line-height:1.5}
.hint{color:#8a97a6;font-size:11.5px;text-align:center;margin-top:18px}
.hint a,.alt a{color:#1f74c4;text-decoration:none;font-weight:600}
.hint a:hover,.alt a:hover{text-decoration:underline}
.alt{text-align:center;font-size:13px;color:#5c6b7c;margin-top:18px;
  border-top:1px solid #e8eef5;padding-top:16px}
.banner{background:#eaf1f9;border:1px solid #dde5ee;border-radius:9px;padding:10px 12px;
  font-size:13px;color:#3a4757;margin-bottom:6px}
.banner.good{border-color:#1e9e63;color:#1c7c43}
.banner.bad{border-color:#c0392b;color:#c0392b}
