:root{--auth-ink:#10233f;--auth-muted:#66758a;--auth-line:#dbe4ef;--auth-primary:#3157d5;--auth-primary-dark:#2647b6;--auth-soft:#f4f7ff}
html{color-scheme:light}
body{color:var(--auth-ink);background:radial-gradient(circle at 12% 12%,rgba(78,111,230,.16),transparent 28rem),radial-gradient(circle at 88% 90%,rgba(24,169,133,.12),transparent 30rem),#f5f8fc!important}
body:before{content:"";position:fixed;inset:0;z-index:2;pointer-events:none;background-image:linear-gradient(rgba(43,72,113,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(43,72,113,.035) 1px,transparent 1px);background-size:32px 32px;mask-image:linear-gradient(to bottom,#000,transparent 82%)}
.blob{filter:blur(95px)!important;opacity:.22!important}.mask-slideshow .mask,.background-slider img{filter:saturate(.72) contrast(.92) brightness(.78)!important}.soft-vignette{background:linear-gradient(120deg,rgba(246,249,253,.9),rgba(246,249,253,.42))!important}.milky-overlay{background:rgba(244,248,252,.34)!important}
.login-wrapper,.forgot-wrapper,.success-wrapper,.register-wrapper{padding:clamp(16px,4vw,48px)!important}.glass-card,.register-left .card,.login-wrapper .card{border:1px solid rgba(205,217,231,.86)!important;border-radius:24px!important;background:rgba(255,255,255,.94)!important;box-shadow:0 28px 70px rgba(30,57,91,.14),0 2px 10px rgba(30,57,91,.05)!important;backdrop-filter:blur(22px)!important;-webkit-backdrop-filter:blur(22px)!important}.login-wrapper .glass-card,.forgot-wrapper .glass-card,.success-wrapper .glass-card{max-width:460px!important;padding:42px!important}
.app-brand img{max-width:152px!important;max-height:72px;object-fit:contain}.glass-card h2,.glass-card h4,.glass-card h5,.register-left h5{color:var(--auth-ink)!important;letter-spacing:-.025em}.glass-card h2{font-size:28px!important;line-height:1.2;margin-top:16px}.glass-card .subtitle,.glass-card center>p,.register-left .card-body>center p{color:var(--auth-muted)!important}
.form-floating input,.form-floating select,.form-control{min-height:54px;border:1px solid var(--auth-line)!important;border-radius:12px!important;background:#fff!important;color:var(--auth-ink)!important;box-shadow:none!important}.form-floating input:hover,.form-floating select:hover,.form-control:hover{border-color:#b7c6d9!important}.form-floating input:focus,.form-floating select:focus,.form-control:focus{border-color:var(--auth-primary)!important;box-shadow:0 0 0 4px rgba(49,87,213,.11)!important}.form-floating label{color:#718096!important}
.btn-primary,.btn.btn-primary{min-height:50px;border:0!important;border-radius:12px!important;background:var(--auth-primary)!important;box-shadow:0 9px 20px rgba(49,87,213,.22)!important;font-weight:700!important;letter-spacing:.01em}.btn-primary:hover,.btn.btn-primary:hover{background:var(--auth-primary-dark)!important;transform:translateY(-1px);box-shadow:0 12px 24px rgba(49,87,213,.28)!important}.btn-primary:focus-visible,.btn-outline-secondary:focus-visible,a:focus-visible,.password-eye:focus-visible{outline:3px solid rgba(49,87,213,.28)!important;outline-offset:3px}.password-eye{border:0;border-radius:8px;background:transparent}
.forgot-link{margin:16px 0 20px!important;text-align:right!important}.forgot-link a,.back-link a,.register-links a,.text-center a{color:var(--auth-primary)!important}.back-link a{display:inline-flex;align-items:center;gap:6px;font-weight:650!important;text-decoration:none!important}.back-link a:hover{text-decoration:underline!important}.register-prompt{margin:0 0 10px;color:var(--auth-muted);font-size:12px;font-weight:600;text-align:center;text-transform:uppercase;letter-spacing:.08em}.register-links{display:grid!important;grid-template-columns:1fr 1fr;gap:10px!important;margin:0 0 22px!important}.register-links a{display:flex;min-height:60px;padding:10px 12px;align-items:center;justify-content:center;border:1px solid var(--auth-line);border-radius:12px;background:#fff;font-size:13px!important;font-weight:650!important;line-height:1.25;text-align:center;text-decoration:none!important}.register-links a:hover{border-color:#aebeea;background:var(--auth-soft);transform:translateY(-1px)}.footer-brand{border-top-color:var(--auth-line)!important}.alert,.alert-custom{border:1px solid transparent;border-radius:12px!important;box-shadow:none!important}.turnstile-container{padding:4px 0 10px}.redirect-countdown{border:1px solid #d9e3ff!important;border-radius:12px!important;background:var(--auth-soft)!important;color:var(--auth-primary)!important}
.step-indicator{max-width:640px;margin:26px auto 30px!important}.step-circle{width:34px!important;height:34px!important;border:2px solid #ccd7e5!important;background:#fff!important;color:#7b8a9d!important;box-shadow:0 0 0 5px #f5f8fc}.step-circle.active,.step-circle.completed{border-color:var(--auth-primary)!important;background:var(--auth-primary)!important;color:#fff!important}.step-label.active,.step-label.completed{color:var(--auth-primary)!important}.step-line{background:#dbe4ef!important}.wizard-section{max-width:760px;margin:0 auto}.section-title{color:var(--auth-ink)!important;border-bottom:0!important;font-size:18px!important;letter-spacing:-.015em}.button-group{margin-top:24px!important}.btn-outline-secondary,.btn.btn-outline-secondary,.btn.btn-secondary{min-height:50px;border:1px solid var(--auth-line)!important;border-radius:12px!important;background:#fff!important;color:#53647a!important;font-weight:650}
.register-left{width:min(48%,620px)!important;max-width:none!important;padding:clamp(24px,4vw,64px)!important;background:linear-gradient(145deg,#eef3ff 0%,#f8fbff 62%,#edf9f5 100%)!important}.register-left .authentication-wrapper,.register-left .authentication-inner{width:100%;max-width:500px}.register-left .card-body{padding:24px 34px 32px!important}.register-right:after{content:"Learn anywhere. Grow every day.";position:absolute;left:48px;right:48px;bottom:42px;z-index:3;color:#fff;font-size:clamp(26px,3vw,44px);font-weight:700;line-height:1.12;letter-spacing:-.035em;text-shadow:0 2px 18px rgba(0,0,0,.28)}.register-right:before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(to top,rgba(13,29,52,.72),transparent 58%)}
@media(max-width:768px){.login-wrapper .glass-card,.glass-card{padding:28px 22px!important;border-radius:20px!important}.register-left{width:100%!important;min-height:100vh;padding:18px!important}.register-left .card-body{padding:20px!important}.step-label{font-size:10px!important}}
@media(max-width:420px){.register-links{grid-template-columns:1fr}.register-links a{min-height:50px}.step-line{margin-inline:4px!important}}
/* Full-screen slideshow treatment used by every authentication screen. */
.mask-slideshow{position:fixed!important;inset:0!important;z-index:0!important;background:#0b3270!important}
.mask-slideshow .mask{animation-name:authImageFade!important;animation-duration:24s!important;animation-timing-function:ease-in-out!important;animation-iteration-count:infinite!important;filter:saturate(.9) contrast(1.02) brightness(.72)!important;transform:scale(1.035)!important}
@keyframes authImageFade{0%{opacity:0}6%{opacity:.88}29%{opacity:.88}38%{opacity:0}100%{opacity:0}}
.soft-vignette{z-index:1!important;background:linear-gradient(135deg,rgba(5,39,97,.78) 0%,rgba(20,83,170,.48) 46%,rgba(2,32,76,.7) 100%)!important}
.milky-overlay{z-index:1!important;background:linear-gradient(115deg,rgba(15,82,186,.15),rgba(4,34,83,.12))!important}
body:before{z-index:2!important;background-image:linear-gradient(rgba(255,255,255,.025) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.025) 1px,transparent 1px)!important}
.login-wrapper,.forgot-wrapper,.success-wrapper,.register-wrapper{position:relative;z-index:10!important}
.glass-card,.register-left .card,.login-wrapper .card{background:rgba(255,255,255,.96)!important;box-shadow:0 30px 80px rgba(0,20,55,.32),0 2px 10px rgba(0,20,55,.12)!important}

/* Security-key registration and verification use the same centered slideshow layout. */
.register-wrapper:has(.register-left),.login-wrapper:has(.login-left){justify-content:center!important;align-items:center!important;min-height:100vh!important;height:auto!important}
.register-left,.login-left{position:relative!important;z-index:10!important;width:100%!important;max-width:560px!important;min-height:0!important;height:auto!important;padding:24px!important;background:transparent!important}
.register-left .authentication-wrapper,.login-left .authentication-wrapper{width:100%!important}
.register-right,.login-right{display:block!important;position:fixed!important;inset:0!important;z-index:0!important;width:100%!important;height:100%!important}
.register-right .background-slider,.login-right .background-slider{position:absolute!important;inset:0!important}
.register-right .background-slider img,.login-right .background-slider img{inset:0!important;width:100%!important;height:100%!important;object-fit:cover!important;filter:saturate(.9) contrast(1.02) brightness(.7)!important}
.register-right:before,.login-right:before{content:"";position:absolute;inset:0;z-index:2;background:linear-gradient(135deg,rgba(5,39,97,.78),rgba(20,83,170,.42) 48%,rgba(2,32,76,.72))}
.register-right:after{display:none!important}

/* Compact registration choices from the approved mockup. */
.register-links{gap:8px!important;margin-bottom:18px!important}
.register-links a{min-height:46px!important;padding:8px 10px!important;border-radius:10px!important;font-size:12px!important}

@media(max-width:768px){.login-wrapper,.forgot-wrapper,.success-wrapper,.register-wrapper{padding:14px!important}.login-wrapper .glass-card,.forgot-wrapper .glass-card,.success-wrapper .glass-card,.glass-card{padding:24px 18px!important}.register-left,.login-left{padding:0!important}.register-links{grid-template-columns:1fr 1fr!important;gap:7px!important}.register-links a{min-height:42px!important;padding:7px 6px!important;font-size:11px!important}.glass-card h2{font-size:24px!important}.app-brand img{max-width:132px!important}}
@media(max-width:360px){.register-links{grid-template-columns:1fr!important}.register-links a{min-height:40px!important}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.mask-slideshow .mask:first-child{opacity:.88!important}}
