
/* Dedicated authentication page. This file is intentionally separate from the dashboard CSS. */
*{box-sizing:border-box}
html,body{margin:0;min-height:100%;font-family:Inter,Segoe UI,Arial,sans-serif}
body.auth-modern{min-height:100vh;overflow-x:hidden;background:#73baf0;color:#fff}
.auth-modern .auth-bg{position:fixed;inset:0;overflow:hidden;background:linear-gradient(135deg,#77bdf2 0%,#69b5ef 48%,#9bd3f7 100%);z-index:0}
.auth-modern .auth-bg:before,.auth-modern .auth-bg:after{content:"";position:absolute;border-radius:50%;pointer-events:none}
.auth-modern .auth-bg:before{width:430px;height:430px;right:-120px;top:-170px;background:rgba(255,255,255,.20);box-shadow:0 0 80px rgba(30,113,190,.10)}
.auth-modern .auth-bg:after{width:420px;height:420px;left:-210px;bottom:-220px;background:rgba(26,104,183,.16)}
.auth-modern .shape{position:absolute;pointer-events:none;border-radius:999px;opacity:.55;filter:drop-shadow(0 14px 20px rgba(0,68,140,.12))}
.auth-modern .shape.s1{width:190px;height:48px;left:4%;top:34%;transform:rotate(-42deg);background:linear-gradient(145deg,#dff4ff,#68b4ed)}
.auth-modern .shape.s2{width:120px;height:40px;left:8%;top:44%;transform:rotate(-42deg);background:linear-gradient(145deg,#d7f1ff,#63ace5)}
.auth-modern .shape.s3{width:180px;height:54px;right:2%;bottom:28%;transform:rotate(42deg);background:linear-gradient(145deg,#dff4ff,#66b3ea)}
.auth-modern .shape.s4{width:110px;height:36px;right:8%;bottom:17%;transform:rotate(38deg);background:linear-gradient(145deg,#e4f6ff,#62abe2)}
.auth-modern .shape.s5{width:86px;height:38px;left:17%;bottom:8%;transform:rotate(23deg);background:linear-gradient(145deg,#e1f5ff,#65afe6)}
.auth-modern .circle{position:absolute;border-radius:50%;border:42px solid rgba(22,112,192,.16);pointer-events:none}
.auth-modern .circle.c1{width:270px;height:270px;left:2%;bottom:-165px}
.auth-modern .circle.c2{width:220px;height:220px;right:3%;top:22%;border-width:34px}
.auth-modern .auth-stage{position:relative;z-index:2;min-height:100vh;display:grid;place-items:center;padding:34px}
.auth-modern .auth-window{width:min(1010px,94vw);min-height:545px;border-radius:18px;overflow:hidden;position:relative;background:linear-gradient(135deg,rgba(3,88,173,.95),rgba(0,108,202,.91));border:1px solid rgba(255,255,255,.30);box-shadow:0 28px 70px rgba(0,54,111,.35),inset 0 1px 0 rgba(255,255,255,.18);display:grid;grid-template-columns:1.05fr .95fr}
.auth-modern .auth-window:before{content:"";position:absolute;width:390px;height:390px;border-radius:50%;right:-130px;bottom:-210px;border:58px solid rgba(255,255,255,.07);pointer-events:none}
.auth-modern .brand-panel{position:relative;padding:52px 50px;display:flex;flex-direction:column;justify-content:center;overflow:hidden}
.auth-modern .brand-panel:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;left:-260px;bottom:-280px;background:rgba(255,255,255,.06)}
.auth-modern .school-logo{width:116px;height:116px;object-fit:contain;display:block;background:#fff;border-radius:50%;padding:8px;box-shadow:0 13px 35px rgba(0,32,88,.30);margin-bottom:28px;position:relative;z-index:2}
.auth-modern .brand-kicker{font-size:11px;letter-spacing:2px;font-weight:800;color:#cbeaff;margin-bottom:10px;position:relative;z-index:2}
.auth-modern .brand-title{margin:0;color:#fff;font-size:42px;line-height:1.03;font-weight:300;position:relative;z-index:2}.auth-modern .brand-title strong{font-weight:800}
.auth-modern .brand-subtitle{margin:9px 0 16px;font-size:22px;font-weight:700;color:#fff;position:relative;z-index:2}
.auth-modern .brand-desc{max-width:410px;margin:0;color:#d9efff;font-size:13px;line-height:1.7;position:relative;z-index:2}
.auth-modern .form-panel{position:relative;z-index:3;margin:35px 35px 35px 0;border-radius:14px;padding:38px 42px;background:rgba(0,52,120,.34);border:1px solid rgba(255,255,255,.17);box-shadow:inset 0 1px 0 rgba(255,255,255,.13),0 18px 35px rgba(0,35,85,.15);backdrop-filter:blur(15px);-webkit-backdrop-filter:blur(15px);align-self:center}
.auth-modern .form-logo{display:none}
.auth-modern .form-kicker{font-size:18px;color:#c8e7ff;font-weight:800;margin-bottom:4px}.auth-modern .form-title{font-size:34px;line-height:1;color:#fff;margin:0 0 8px;font-weight:800}.auth-modern .form-intro{font-size:11px;color:#cce8ff;margin:0 0 22px}
.auth-modern .error-box{background:rgba(255,236,236,.16);border:1px solid rgba(255,205,205,.28);color:#fff0f0;border-radius:7px;padding:9px 10px;font-size:10px;margin-bottom:13px}
.auth-modern .field{margin-bottom:14px}.auth-modern .field label{display:block;font-size:10px;font-weight:700;color:#d9efff;margin-bottom:6px}.auth-modern .input{position:relative}.auth-modern .input input{
    width:100%;
    height:42px;
    border:0;
    border-radius:6px;
    background:rgba(255,255,255,.96);
    color:#163b64;
    padding:9px 38px 9px 34px;
    font-size:18px;
    font-weight:800;
    outline:none;
    box-shadow:inset 0 1px 2px rgba(0,0,0,.06)
}.auth-modern .input input::placeholder{color:#a1adba}.auth-modern .input input:focus{box-shadow:0 0 0 3px rgba(137,213,255,.30),inset 0 1px 2px rgba(0,0,0,.06)}
.auth-modern .icon{position:absolute;left:11px;top:50%;transform:translateY(-50%);color:#2674ae;font-size:13px;z-index:1}.auth-modern .toggle{position:absolute;right:7px;top:50%;transform:translateY(-50%);border:0;background:transparent;color:#2876ad;font-size:10px;cursor:pointer;padding:5px;font-weight:700}
.auth-modern .submit{width:100%;height:42px;border:0;border-radius:6px;background:#063f9e;color:#fff;font-size:11px;font-weight:800;cursor:pointer;margin-top:4px;box-shadow:0 8px 17px rgba(0,37,100,.25);transition:.2s}.auth-modern .submit:hover{background:#0649b5;transform:translateY(-1px)}
.auth-modern .or{display:flex;align-items:center;gap:9px;color:#b9d8f2;font-size:9px;margin:16px 0 8px}.auth-modern .or i{height:1px;background:rgba(255,255,255,.22);flex:1}.auth-modern .register-prompt{text-align:center;color:#c4e2f9;font-size:10px;margin-bottom:7px}.auth-modern .register-link{display:flex;align-items:center;justify-content:center;height:39px;width:100%;border:1px solid rgba(255,255,255,.35);border-radius:6px;color:#fff;background:rgba(255,255,255,.08);text-decoration:none;font-size:11px;font-weight:800;transition:.2s}.auth-modern .register-link:hover{background:rgba(255,255,255,.16)}
.auth-modern .note{font-size:8.5px;line-height:1.5;color:#b9d8f2;text-align:center;margin-top:12px}.auth-modern .copyright{font-size:8px;color:#9fc5e5;text-align:center;margin-top:12px}
@media(max-width:820px){.auth-modern .auth-window{grid-template-columns:1fr;width:min(520px,94vw);min-height:auto}.auth-modern .brand-panel{padding:30px 32px;min-height:225px}.auth-modern .school-logo{width:70px;height:70px;margin-bottom:13px}.auth-modern .brand-kicker{font-size:8px}.auth-modern .brand-title{font-size:28px}.auth-modern .brand-subtitle{font-size:17px;margin:6px 0}.auth-modern .brand-desc{font-size:10px;line-height:1.5}.auth-modern .form-panel{margin:0;border-radius:0;border:0;padding:32px 32px 28px;background:rgba(0,52,120,.22)}.auth-modern .form-title{font-size:29px}}
@media(max-width:480px){.auth-modern .auth-stage{padding:12px}.auth-modern .brand-panel{padding:25px 23px}.auth-modern .form-panel{padding:28px 22px}.auth-modern .school-logo{width:62px;height:62px}.auth-modern .brand-title{font-size:24px}.auth-modern .brand-subtitle{font-size:15px}}
