/* School login: local campus artwork, accessible controls, responsive layout. */
:root { --navy: #182f50; --ink: #203450; --muted: #718096; --gold: #f2cc7c; }
* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
body { font-family: 'Nunito', 'Segoe UI', sans-serif; color: var(--ink); background: #f3f5f9; }
.login-screen { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; justify-content: center; padding: 28px 32px; background: radial-gradient(ellipse at 10% 10%, #e1e9f6, transparent 55%), #f5f6fa; }
.page-header { width: 100%; max-width: 1080px; margin: 0 auto 20px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #65748b; font-size: 12px; }
.wordmark { display: inline-flex; align-items: center; gap: 7px; color: var(--navy); font-size: 22px; font-weight: 800; letter-spacing: -.8px; }
.wordmark:hover { color: #345a8d; text-decoration: none; }
.wordmark > i { display: grid; place-items: center; width: 37px; height: 37px; margin-right: 5px; background: var(--navy); color: var(--gold); border-radius: 12px; font-size: 17px; }
.wordmark span { font-weight: 400; }
.login-card { display: grid; grid-template-columns: 1.08fr 1fr; width: 100%; max-width: 1080px; margin: 0 auto; background: #fff; border: 1px solid #fff; border-radius: 26px; overflow: hidden; box-shadow: 0 25px 70px #23385815; flex-shrink: 0; }
.login-hero { display: flex; flex-direction: column; min-width: 0; position: relative; overflow: hidden; padding: 34px 38px 28px; color: white; background: linear-gradient(180deg, #10253dd9 0%, #10253d80 48%, #10253def 100%), url('../img/auth/academic-school-parallax.png') center / cover; }
.login-hero-inner { display: grid; grid-template-columns: 52px minmax(0, 1fr); column-gap: 13px; align-items: center; }
.login-logo { grid-row: 1 / 3; display: grid; place-items: center; width: 52px; height: 56px; padding: 6px; border-radius: 12px; background: white; }
.login-logo img { width: 100%; height: 100%; object-fit: contain; }
.login-hero-title { font-size: 16px; font-weight: 800; line-height: 1.4; overflow-wrap: anywhere; }
.login-hero-subtitle { font-size: 9px; letter-spacing: 1.3px; color: #d4dfec; text-transform: uppercase; }
.login-hero-feature { display: none; }
.story-copy { margin: 65px 0 35px; }
.story-kicker { display: inline-flex; align-items: center; gap: 9px; color: #f5d99e; font-size: 9px; font-weight: 800; letter-spacing: 1.8px; }
.story-kicker::before { content: ''; width: 20px; height: 2px; background: var(--gold); }
.story-copy h1 { font-size: clamp(36px, 3.7vw, 49px); font-weight: 800; line-height: 1.15; letter-spacing: -1.7px; margin: 17px 0 21px; color: #fff; }
.story-copy h1 em { color: #ffdc94; font-style: normal; }
.story-copy p { max-width: 340px; color: #e0e8f0; font-size: 13px; line-height: 1.85; margin-bottom: 0; }
.hero-note { display: flex; align-items: center; gap: 13px; margin-top: auto; padding: 15px; background: #ffffff12; border: 1px solid #ffffff30; border-radius: 14px; backdrop-filter: blur(10px); }
.hero-note-icon { display: grid; place-items: center; flex: 0 0 39px; height: 39px; border-radius: 11px; background: #f2cc7c22; color: var(--gold); font-size: 20px; }
.hero-note strong, .hero-note div > span { display: block; }
.hero-note strong { font-size: 12px; margin-bottom: 3px; }
.hero-note div > span { font-size: 10px; color: #d0ddeb; }
.story-features { display: flex; flex-wrap: wrap; gap: 12px 18px; padding-top: 22px; color: #d8e1ed; font-size: 9px; }
.story-features i { color: var(--gold); margin-right: 5px; }
.login-body { min-width: 0; padding: 37px 44px 25px; }
.portal-badge { display: inline-flex; align-items: center; gap: 7px; color: #466186; background: #eef3fa; border: 1px solid #e3eaf5; padding: 7px 11px; border-radius: 20px; font-size: 10px; font-weight: 800; margin-bottom: 21px; }
.login-body h2 { max-width: 320px; color: var(--navy); font-size: 31px; font-weight: 800; letter-spacing: -1px; line-height: 1.2; margin: 0 0 10px; }
.login-body h2 span { color: #c69a44; }
.form-intro { color: var(--muted); font-size: 12px; line-height: 1.7; margin-bottom: 25px; }
.login-field { margin-bottom: 16px; }
.login-field label { display: block; font-size: 12px; font-weight: 800; color: #364760; margin-bottom: 8px; }
.input-wrap { position: relative; }
.input-icon { position: absolute; top: 50%; transform: translateY(-50%); left: 16px; font-size: 13px; color: #8997ab; pointer-events: none; }
.login-input { width: 100%; min-width: 0; height: 49px; padding: 0 14px; border: 1px solid #dfe5ee; border-radius: 10px; background: #fafbfd; color: var(--ink); font-size: 13px; transition: border-color .18s, box-shadow .18s; }
.input-wrap .login-input { padding-left: 43px; }
#password { padding-right: 48px; }
.login-input::placeholder { color: #8692a4; }
.login-input:focus { outline: none; border-color: #577fac; background: white; box-shadow: 0 0 0 3px #426ea41a; }
.password-toggle { position: absolute; top: 2px; right: 2px; width: 45px; height: 45px; border: 0; border-radius: 8px; background: transparent; color: #75859b; }
button:focus-visible, a:focus-visible { outline: 3px solid #b58935; outline-offset: 3px; }
.captcha-field { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 10px; padding: 12px; background: #f6f8fc; border: 1px solid #e8edf4; border-radius: 12px; }
.captcha-field label, .captcha-field > .small { grid-column: 1 / -1; }
.captcha-field label.text-primary { color: #364760 !important; font-size: 11px; }
.captcha-field > .small { font-size: 10px; }
.captcha-field .alert { display: grid; place-items: center; margin: 0 !important; background: #eaf0f8; border-color: #dce5f1 !important; font-size: 15px; letter-spacing: 1px; }
.captcha-field .login-input { height: 44px; background: white; font-size: 12px; }
.login-btn { display: flex; justify-content: center; align-items: center; gap: 15px; width: 100%; height: 49px; border: 0; border-radius: 10px; color: white; background: linear-gradient(110deg, #203c63, #2c5181); font-size: 13px; font-weight: 800; box-shadow: 0 7px 15px #203c6320; transition: transform .18s, box-shadow .18s; }
.login-btn:hover { transform: translateY(-1px); box-shadow: 0 9px 20px #203c6338; }
.login-btn:active { transform: translateY(0); }
.login-btn i { font-size: 11px; }
.account-help { margin: 12px 0 18px; text-align: center; color: #738096; font-size: 10px; }
.parent-login-link { display: flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 12px; border: 1px solid #e0e6ee; border-radius: 10px; color: #425875; font-size: 11px; font-weight: 800; }
.parent-login-link:hover { color: #254b7b; background: #f3f6fa; text-decoration: none; }
.parent-login-link .fa-arrow-right { margin-left: auto; font-size: 10px; }
.login-footer { margin-top: 21px; padding-top: 15px; border-top: 1px solid #edf0f5; text-align: center; color: #7b8799; font-size: 10px; line-height: 1.8; }
.login-footer-brand { font-weight: 800; color: #465a76; }
.login-footer-tagline { display: block; font-size: 9px; }
.login-footer-school { display: none; }
.login-alert { border-radius: 10px; font-size: 12px; }
.school-login .login-parallax-widget, .school-login .login-parallax-tile, .school-login .login-parallax-ring { display: none; }
.school-login .login-parallax-grid { opacity: .15; }
.school-login .login-parallax-orb-mint { background: radial-gradient(circle, #cfddf399, transparent 70%); }
.school-login .login-parallax-orb-navy { background: radial-gradient(circle, #f2cc7c25, transparent 70%); }
@media (max-width: 950px) { .login-body { padding: 30px; } .login-hero { padding: 30px; } .story-copy h1 { font-size: 39px; } }
@media (max-width: 700px) {
 .login-screen { padding: 18px 16px; justify-content: flex-start; }
 .page-header, .login-card { max-width: 460px; }
 .page-header { margin-bottom: 16px; font-size: 10px; }
 .wordmark { font-size: 20px; }
 .login-card { display: block; border-radius: 21px; }
 .login-hero { padding: 22px 25px; background-position: center 47%; }
 .login-hero-inner { grid-template-columns: 43px minmax(0, 1fr); }
 .login-logo { width: 43px; height: 47px; }
 .login-hero-title { font-size: 14px; }
 .login-hero-subtitle { font-size: 8px; }
 .story-copy { margin: 22px 0 0; }
 .story-kicker, .story-copy p, .hero-note, .story-features { display: none; }
 .story-copy h1 { font-size: 29px; letter-spacing: -.8px; margin: 0; }
 .story-copy h1 br:first-child { display: none; }
 .login-body { padding: 25px; }
 .portal-badge { margin-bottom: 15px; }
 .login-body h2 { max-width: none; font-size: 27px; }
 .form-intro { margin-bottom: 20px; }
 .login-input, .captcha-field .login-input { font-size: 16px; }
 .login-input::placeholder { font-size: 12px; }
}
@media (max-width: 360px) {
 .login-screen { padding: 12px 10px; }
 .login-body, .login-hero { padding: 20px; }
 .page-header > span { max-width: 125px; text-align: right; }
 .story-copy h1 { font-size: 26px; }
 .login-body h2 { font-size: 25px; }
 .captcha-field { padding: 10px; }
}
@media (max-height: 740px) and (min-width: 701px) {
 .login-screen { padding-top: 16px; padding-bottom: 16px; }
 .login-body { padding-top: 25px; padding-bottom: 20px; }
 .story-copy { margin-top: 45px; }
 .form-intro { margin-bottom: 18px; }
 .login-field { margin-bottom: 12px; }
 .portal-badge { margin-bottom: 15px; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }