@font-face {
    font-family:SchoolSans;
    src:url('../../theme/edulia/fonts/eudoxus-sans/EudoxusSans-Regular.woff2') format('woff2');
    font-weight:400;
    font-display:swap;
}
@font-face {
    font-family:SchoolSans;
    src:url('../../theme/edulia/fonts/eudoxus-sans/EudoxusSans-Bold.woff2') format('woff2');
    font-weight:600 900;
    font-display:swap;
}
* { box-sizing:border-box; }
body.first-login-page {
    margin:0;
    background:#f5f2fa;
    color:#272032;
    font:15px/1.6 SchoolSans,system-ui,sans-serif;
    -webkit-font-smoothing:antialiased;
}
button,input { font:inherit; }
button,a,input { -webkit-tap-highlight-color:transparent; }
button { cursor:pointer; }
a { color:inherit; text-decoration:none; }
button:focus-visible,a:focus-visible { outline:3px solid #a78bdf; outline-offset:4px; }
.welcome-layout {
    display:grid;
    grid-template-columns:1.04fr 1fr;
    min-height:calc(100svh - 48px);
    max-width:1550px;
    margin:24px auto;
    width:calc(100% - 48px);
    border:1px solid #e9e3f0;
    border-radius:28px;
    background:#fff;
    overflow:hidden;
    box-shadow:0 20px 60px #35205206;
}
.welcome-story {
    display:flex;
    flex-direction:column;
    position:relative;
    isolation:isolate;
    overflow:hidden;
    padding:44px 52px 32px;
    background:#6034b5;
    color:#fff;
}
.welcome-story::before {
    content:'';
    position:absolute;
    z-index:-1;
    width:710px;
    height:710px;
    border:1px solid #ffffff12;
    border-radius:50%;
    left:-450px;
    top:-360px;
    box-shadow:0 0 0 65px #ffffff04,0 0 0 130px #ffffff04;
    pointer-events:none;
}
.welcome-story::after {
    content:'';
    position:absolute;
    width:420px;
    height:420px;
    background:#8258cf;
    border-radius:50%;
    bottom:-300px;
    right:-160px;
    opacity:.35;
    z-index:-1;
}
.school-brand {
    display:inline-flex;
    align-items:center;
    gap:12px;
    width:max-content;
    color:#fff;
    font-size:31px;
    font-weight:700;
    letter-spacing:-1.5px;
    line-height:1;
}
.brand-mark {
    display:grid;
    place-items:center;
    width:46px;
    height:46px;
    background:#fff;
    border-radius:13px;
    flex:none;
}
.brand-mark img { width:30px; height:30px; object-fit:contain; }
.brand-dot { color:#d7c3ff; }
.story-copy { margin-top:65px; position:relative; z-index:1; }
.story-eyebrow { font-size:11px; font-weight:700; letter-spacing:2px; color:#e3d6fa; }
.story-copy h1 {
    font-size:clamp(42px,4.3vw,66px);
    font-weight:700;
    line-height:1.13;
    letter-spacing:-2.7px;
    margin:18px 0 20px;
}
.story-copy h1>span { color:#d7c3ff; }
.story-copy>p { color:#e5daf7; font-size:15px; line-height:1.85; max-width:410px; margin:0; }
.school-scene { position:relative; flex:1; min-height:280px; width:100%; max-width:490px; margin:25px auto 12px; }
.scene-orbit { position:absolute; width:225px; height:225px; border:1px solid #d7bdff3d; border-radius:50%; left:50%; top:50%; transform:translate(-50%,-50%); }
.scene-orbit-two { width:310px; height:310px; border-style:dashed; opacity:.6; }
.scene-school {
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%) rotate(-9deg);
    width:128px;
    height:128px;
    display:grid;
    place-items:center;
    border-radius:32px;
    background:#fff;
    border:8px solid #ffffff3d;
    background-clip:padding-box;
    box-shadow:0 20px 45px #28134b30,0 0 0 12px #ffffff09;
}
.scene-school img { width:72px; height:72px; object-fit:contain; }
.scene-chip { position:absolute; display:flex; align-items:center; gap:11px; padding:12px 16px 12px 12px; background:#fff; color:#30233f; border:1px solid #eee5fc; border-radius:14px; box-shadow:0 14px 25px #28134b20; }
.scene-chip>span { display:grid; place-items:center; width:38px; height:38px; border-radius:11px; background:#f0e8fc; color:#7548bd; flex:none; }
.scene-chip strong { display:block; font-size:13px; line-height:1.5; }
.scene-chip small { display:block; font-size:10px; color:#81748f; line-height:1.7; white-space:nowrap; }
.scene-chip-people { left:-4px; top:25px; transform:rotate(-5deg); }
.scene-chip-learning { right:-3px; top:96px; transform:rotate(5deg); }
.scene-chip-learning>span { color:#497e72; background:#eaf4ef; }
.scene-chip-calendar { left:24px; bottom:8px; transform:rotate(-3deg); }
.scene-chip-calendar>span { color:#a2793f; background:#fcf2e1; }
.scene-star { position:absolute; color:#dac6ff; line-height:1; }
.star-one { font-size:35px; right:12%; top:0; }
.star-two { font-size:23px; right:15%; bottom:5px; }
.story-footer { display:flex; align-items:center; gap:12px; color:#e0d2f4; margin-top:22px; font-size:12px; }
.story-footer p { margin:0; }
.story-footer-line { height:1px; width:28px; background:#d3b9f3; }
.story-footer>span:last-child { font-size:24px; margin-left:auto; }
.welcome-form-panel { position:relative; display:flex; flex-direction:column; align-items:center; justify-content:center; padding:58px 48px 74px; }
.welcome-form-wrap { width:100%; max-width:400px; }
.school-name { display:flex; align-items:center; gap:8px; color:#70617e; font-size:13px; font-weight:700; margin-bottom:42px; overflow-wrap:anywhere; }
.school-name>span { width:7px; height:7px; border-radius:50%; background:#8b63c8; flex:none; }
.welcome-kicker { color:#8c66bd; font-size:11px; letter-spacing:1.6px; font-weight:700; }
.welcome-form-wrap h2 { font-size:40px; line-height:1.2; font-weight:700; letter-spacing:-1.8px; margin:12px 0 14px; }
.form-introduction { color:#817689; font-size:14px; line-height:1.85; margin:0 0 29px; max-width:370px; }
.welcome-form-wrap form>label { display:block; font-size:14px; font-weight:700; color:#403349; margin:20px 0 9px; }
.login-field { display:flex; align-items:center; gap:12px; min-height:56px; padding:0 16px; border:1px solid #e5dfec; border-radius:11px; background:#fcfbfe; transition:border-color .2s,box-shadow .2s,background .2s; }
.login-field:focus-within { background:#fff; border-color:#9c78d1; box-shadow:0 0 0 4px #7955b80c; }
.login-field>svg,.password-toggle svg { width:19px; height:19px; flex:none; stroke:#94869f; stroke-width:1.6; stroke-linecap:round; stroke-linejoin:round; }
.login-field input { min-width:0; width:100%; padding:16px 0; border:0; outline:none; background:transparent; font-size:14px; color:#35283f; }
.login-field input::placeholder { color:#a298ab; }
.login-field input[aria-invalid=true] { color:#9f3457; }
.password-toggle { display:grid; place-items:center; padding:7px; margin-right:-6px; border:0; border-radius:7px; background:transparent; }
.password-toggle:hover { background:#f0eafb; }
.login-options { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:20px; font-size:12px; }
.remember-option { display:flex; align-items:center; gap:8px; color:#807389; cursor:pointer; }
.remember-option input { margin:0; width:15px; height:15px; accent-color:#7346bf; }
.login-options>a { color:#7548bd; font-weight:700; }
.login-options>a:hover { text-decoration:underline; }
.welcome-submit { display:flex; justify-content:space-between; align-items:center; gap:10px; width:100%; min-height:56px; padding:16px 19px; margin-top:27px; background:#7446bf; color:#fff; border:1px solid #7446bf; border-radius:11px; font-size:14px; font-weight:700; box-shadow:0 6px 14px #7446bf1a; transition:background .2s,transform .2s; }
.welcome-submit:hover { background:#6335ae; transform:translateY(-1px); }
.welcome-submit:disabled { cursor:wait; transform:none; }
.welcome-submit>svg { flex:none; }
.login-reassurance { display:flex; align-items:center; justify-content:center; gap:8px; margin-top:27px; color:#9b90a4; font-size:11px; text-align:center; }
.login-reassurance svg { width:15px; height:15px; stroke:currentColor; stroke-width:1.5; stroke-linecap:round; stroke-linejoin:round; flex:none; }
.first-time-note { display:flex; align-items:flex-start; gap:12px; border:1px solid #e9def7; background:#f7f3fc; padding:16px; border-radius:12px; margin-top:24px; }
.first-time-note>span { color:#a180ce; font-size:22px; }
.first-time-note strong { display:block; font-size:12px; margin-bottom:5px; color:#6b5388; }
.first-time-note p { margin:0; color:#8b799c; font-size:12px; line-height:1.8; }
.panel-caption { position:absolute; bottom:25px; margin:0; color:#a297ac; font-size:11px; text-align:center; padding:0 20px; }
.login-error,.login-success { margin-bottom:18px; padding:14px 16px; border:1px solid #f0d0dd; background:#fff5f8; color:#a23c62; border-radius:10px; font-size:13px; line-height:1.7; }
.login-error strong,.login-error span { display:block; }
.login-error strong { margin-bottom:4px; }
.login-success { border-color:#d5e8df; background:#f4fbf7; color:#3d765d; }
@media(min-width:1500px) {
    .welcome-story { padding:52px 65px 36px; }
    .story-copy { margin-top:78px; }
    .school-scene { max-width:490px; margin-top:35px; min-height:320px; }
}
@media(max-width:1100px) {
    .welcome-layout { margin:16px; width:calc(100% - 32px); min-height:calc(100svh - 32px); }
    .welcome-story { padding:34px; }
    .welcome-form-panel { padding:50px 34px 70px; }
    .story-copy { margin-top:54px; }
    .story-copy h1 { font-size:45px; letter-spacing:-1.8px; }
    .story-copy>p { font-size:13px; }
    .scene-chip { padding:10px; gap:8px; }
    .scene-chip strong { font-size:11px; }
    .scene-chip small { font-size:8px; }
    .scene-chip>span { width:30px; height:30px; }
    .scene-school { width:106px; height:106px; }
    .scene-school img { width:60px; height:60px; }
    .scene-chip-calendar { left:4px; }
    .welcome-form-wrap h2 { font-size:35px; }
}
@media(max-width:760px) {
    .welcome-layout { display:block; max-width:560px; margin:16px auto; }
    .welcome-story { padding:27px 30px 31px; }
    .school-brand { font-size:27px; }
    .brand-mark { width:39px; height:39px; border-radius:11px; }
    .brand-mark img { width:26px; height:26px; }
    .story-copy { margin-top:29px; }
    .story-eyebrow { font-size:9px; letter-spacing:1.5px; }
    .story-copy h1 { font-size:36px; letter-spacing:-1.5px; margin:12px 0 0; }
    .story-copy h1 br { display:none; }
    .story-copy>p,.school-scene,.story-footer { display:none; }
    .welcome-form-panel { padding:33px 30px 65px; }
    .school-name { margin-bottom:27px; font-size:12px; }
    .welcome-form-wrap h2 { font-size:34px; }
    .form-introduction { font-size:13px; margin-bottom:24px; }
    .login-field input { font-size:16px; }
    .welcome-kicker { font-size:10px; }
    .panel-caption { font-size:10px; bottom:24px; }
}
@media(max-width:480px) {
    .welcome-layout { margin:0; width:100%; min-height:100svh; border:0; border-radius:0; }
    .welcome-story { padding:24px; border-radius:0 0 24px 24px; }
    .story-copy h1 { font-size:32px; }
    .welcome-form-panel { padding:31px 24px 65px; }
    .school-name { margin-bottom:24px; }
    .welcome-form-wrap h2 { font-size:32px; }
    .form-introduction { font-size:13px; }
    .login-options { font-size:11px; gap:8px; }
    .welcome-submit { font-size:13px; }
}
@media(prefers-reduced-motion:reduce) {
    *,*::before,*::after { transition:none!important; }
}

.login-field select { width:100%; min-height:54px; padding:12px 16px; background:transparent; border:0; color:inherit; font:inherit; outline:none; border-radius:12px; }
