/* WhizCare Portal login (UI only). Used by views/login.html. */
:root{--blue:#0867ed;--text:#10234f;--muted:#6f7f9d;--border:#dbe4f1}
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--text)}
body{min-height:100vh;background:#f7faff}
.page{min-height:100vh;display:grid;grid-template-columns:1fr 1fr}
.brand-panel{min-height:100vh;position:relative;overflow:hidden;padding:clamp(34px,6.8vw,105px);color:#fff;background:linear-gradient(145deg,#09204f 0%,#123a82 58%,#071d4a 100%);display:flex;flex-direction:column}
.brand-panel:before,.brand-panel:after{content:"";position:absolute;pointer-events:none;border-radius:50%}
.brand-panel:before{width:780px;height:780px;left:-310px;bottom:-510px;background:linear-gradient(135deg,rgba(0,121,255,.85),rgba(0,219,219,.8))}
.brand-panel:after{width:800px;height:480px;right:-490px;bottom:-250px;border:1px solid rgba(48,181,255,.65);box-shadow:0 0 0 28px rgba(37,145,255,.06),0 0 0 62px rgba(37,145,255,.05)}
.brand-content{position:relative;z-index:1;max-width:620px}
.whizcare-logo{display:block;width:min(100%,425px);height:auto}
.eyebrow{margin:clamp(58px,10vh,110px) 0 0;color:#c5d8ff;font-size:14px;font-weight:700;letter-spacing:.28em}
h1{margin:22px 0;max-width:620px;font-size:clamp(42px,4.6vw,70px);line-height:1.04;letter-spacing:-.045em;font-weight:750}
h1 span{display:block;color:#18c7ed}
.intro{max-width:520px;margin:0;color:#d2def4;font-size:clamp(16px,1.5vw,21px);line-height:1.6}
.login-panel{min-height:100vh;padding:45px clamp(28px,5.5vw,100px) 25px;background:linear-gradient(135deg,#fff 0%,#f7faff 100%);display:flex;flex-direction:column}
.login-wrap{width:100%;max-width:490px;margin:auto}
.kicker{margin:0 0 10px;color:var(--muted);font-size:18px;font-weight:600}
h2{margin:0;font-size:clamp(32px,3.3vw,46px);line-height:1.13;letter-spacing:-.035em}
.subtitle{margin:14px 0 36px;color:var(--muted);font-size:17px;line-height:1.5}
.field{margin-bottom:22px}
label{display:block;margin-bottom:9px;font-size:14px;font-weight:650}
.input-wrap{position:relative}
input[type=email],input[type=password],input[type=text]{display:block;width:100%;height:58px;border:1px solid var(--border);border-radius:10px;background:#fff;padding:0 17px;font:inherit;font-size:15px;color:var(--text);outline:none;box-shadow:0 2px 5px rgba(13,40,88,.025)}
.input-wrap input[type=password],.input-wrap input[type=text]{padding-right:52px}
input:focus{border-color:#4e92ff;box-shadow:0 0 0 3px rgba(8,103,237,.12)}
input::placeholder{color:#99a6bd}
.eye{position:absolute;right:8px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#7d87a0;cursor:pointer;padding:9px;border-radius:8px}
.eye:hover{background:#eef3fc;color:var(--blue)}
.options{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:2px 0 30px;font-size:14px}
.remember{display:flex;align-items:center;gap:9px;margin:0;font-weight:400;cursor:pointer}
.remember input{width:17px;height:17px;accent-color:var(--blue)}
a,.link{color:var(--blue);text-decoration:none;font-weight:600}
a:hover{text-decoration:underline}
.signin{width:100%;height:60px;border:0;border-radius:10px;background:linear-gradient(90deg,#0864e8,#075de0);color:#fff;font:inherit;font-size:17px;font-weight:700;cursor:pointer;box-shadow:0 8px 20px rgba(8,103,237,.16)}
.signin span{margin-left:10px;font-size:22px;vertical-align:-1px}
.signin:hover{filter:brightness(1.04)}
.signin:disabled{opacity:.6;cursor:default}
.notice{display:none;margin-top:14px;padding:12px 14px;border-radius:10px;background:#eefbf7;color:#18765e;font-size:13px;line-height:1.5}
.notice.show{display:block}
.notice.err{background:#fdecea;color:#b42318}
.back{display:inline-block;margin-top:18px;font-size:14px}
.note{margin:18px 0 0;color:var(--muted);font-size:13px;line-height:1.5}
.footer{text-align:center;margin-top:36px;color:#74829d;font-size:12px;line-height:1.8}
.version{display:block;margin-top:3px;color:#536687;font-weight:650;letter-spacing:.02em}
.hide{display:none!important}
@media(max-width:850px){
 .page{display:flex;flex-direction:column}
 .brand-panel{min-height:auto;padding:28px 24px 30px}
 .brand-panel:before{width:430px;height:430px;left:-180px;bottom:-300px}
 .brand-panel:after{width:450px;height:280px;right:-300px;bottom:-150px}
 .brand-content{width:100%}
 .whizcare-logo{width:min(70vw,250px)}
 .eyebrow{margin-top:30px;font-size:11px;letter-spacing:.24em}
 h1{margin:12px 0;font-size:clamp(34px,9vw,44px)}
 .intro{max-width:420px;font-size:15px;line-height:1.5}
 .login-panel{flex:1;min-height:auto;padding:32px 24px 20px}
 .login-wrap{max-width:480px;margin:0 auto}
 .kicker{font-size:16px;margin-bottom:6px}
 h2{font-size:32px}
 .subtitle{margin:10px 0 26px;font-size:15px}
 .field{margin-bottom:18px}
 input[type=email],input[type=password],input[type=text]{height:54px;font-size:16px}
 .options{margin:2px 0 24px;font-size:13px}
 .signin{height:56px;font-size:16px}
 .footer{margin-top:28px;font-size:11px}
}
@media(min-width:600px) and (max-width:850px){.brand-panel{padding:36px 34px 38px}.login-panel{padding:38px 34px 24px}.brand-content{max-width:520px;margin:0 auto}}
