:root {
    --auth-bg: #f7f9fc;
    --auth-surface: #ffffff;
    --auth-text: #172033;
    --auth-muted: #6c788d;
    --auth-border: #dfe5ee;
    --auth-soft: #f6f8fb;
    --auth-primary: #285bd7;
    --auth-primary-dark: #1c49b7;
    --auth-focus: rgba(40,91,215,.13);
}
[data-theme="dark"] {
    --auth-bg: #0e1626;
    --auth-surface: #141e31;
    --auth-text: #edf3ff;
    --auth-muted: #9aa7bb;
    --auth-border: #2a374c;
    --auth-soft: #19253a;
    --auth-primary: #7198ff;
    --auth-primary-dark: #89a9ff;
    --auth-focus: rgba(113,152,255,.16);
}
* { box-sizing: border-box; }
html, body { min-height: 100%; }
body { margin: 0; background: var(--auth-bg); color: var(--auth-text); font: 14px/1.5 "DM Sans", sans-serif; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button, input, select { font: inherit; }
svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-shell { display: grid; min-height: 100vh; grid-template-columns: minmax(430px, 47%) minmax(520px, 53%); }
.auth-showcase {
    position: relative;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    overflow: hidden;
    padding: 38px clamp(36px, 5vw, 76px);
    background:
        radial-gradient(circle at 76% 25%, rgba(76,127,255,.38), transparent 25%),
        radial-gradient(circle at 15% 80%, rgba(26,188,156,.16), transparent 27%),
        linear-gradient(145deg, #0e1c3a 0%, #142b58 58%, #193a6f 100%);
    color: #fff;
}
.auth-showcase::before { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px); background-size: 40px 40px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 85%); }
.auth-brand { position: relative; z-index: 2; display: inline-flex; align-items: center; gap: 11px; align-self: flex-start; }
.auth-brand-mark { display: grid; width: 42px; height: 42px; place-items: center; border-radius: 13px; background: linear-gradient(145deg, #6c96ff, #2d64e7); box-shadow: 0 10px 24px rgba(21,50,115,.35); color: #fff; font: 800 21px "Manrope", sans-serif; }
.auth-brand > span:last-child { display: flex; flex-direction: column; }
.auth-brand strong { font: 800 16px "Manrope", sans-serif; letter-spacing: .05em; }
.auth-brand small { color: #aebcda; font-size: 9px; letter-spacing: .09em; text-transform: uppercase; }
.auth-brand.dark strong { color: var(--auth-text); }.auth-brand.dark small { color: var(--auth-muted); }
.showcase-copy { position: relative; z-index: 2; max-width: 520px; margin-top: clamp(70px, 11vh, 120px); }
.showcase-kicker { display: inline-flex; padding: 6px 10px; border: 1px solid rgba(255,255,255,.15); border-radius: 100px; background: rgba(255,255,255,.08); color: #cbd8f5; font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.showcase-copy h1 { max-width: 480px; margin: 18px 0 16px; font: 800 clamp(36px, 4.1vw, 58px)/1.08 "Manrope", sans-serif; letter-spacing: -.045em; }
.showcase-copy p { max-width: 480px; margin: 0; color: #b7c5df; font-size: clamp(14px, 1.3vw, 17px); line-height: 1.7; }
.showcase-visual { position: relative; z-index: 2; min-height: 245px; margin: 52px 0 25px; }
.visual-orbit { position: absolute; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; }
.orbit-one { right: -70px; bottom: -165px; width: 390px; height: 390px; }.orbit-two { right: 20px; bottom: -85px; width: 230px; height: 230px; }
.visual-card { position: absolute; border: 1px solid rgba(255,255,255,.14); border-radius: 16px; background: rgba(255,255,255,.1); box-shadow: 0 24px 55px rgba(3,12,33,.22); backdrop-filter: blur(14px); }
.visual-card-main { left: 0; bottom: 10px; width: min(355px, 72%); padding: 18px 20px; transform: rotate(-1.5deg); }
.mini-heading { display: flex; align-items: center; justify-content: space-between; }.mini-heading span { color: #b9c8e5; font-size: 10px; }.mini-heading strong { font: 800 19px "Manrope"; }
.mini-chart { display: flex; height: 92px; align-items: flex-end; gap: 11px; margin-top: 15px; }.mini-chart i { flex: 1; border-radius: 5px 5px 2px 2px; background: linear-gradient(#78a0ff, #3e72ec); }.mini-days { display: flex; justify-content: space-around; margin-top: 7px; color: #9eb0d1; font-size: 8px; }
.visual-card-students { right: 0; top: 10px; display: flex; align-items: center; gap: 11px; padding: 14px 17px; transform: rotate(2deg); }
.visual-icon { display: grid; width: 38px; height: 38px; place-items: center; border-radius: 11px; background: rgba(89,136,255,.25); color: #9bb8ff; }.visual-icon svg { width: 18px; }
.visual-card-students div { display: flex; flex-direction: column; }.visual-card-students strong { font: 800 18px "Manrope"; }.visual-card-students small { color: #b2c1dd; font-size: 9px; }
.visual-card-status { right: 12px; bottom: 3px; display: flex; align-items: center; gap: 9px; padding: 11px 14px; }.visual-card-status > span { color: #48dbb0; font-size: 11px; }.visual-card-status div { display: flex; flex-direction: column; }.visual-card-status strong { font-size: 10px; }.visual-card-status small { color: #aab9d5; font-size: 8px; }
.showcase-footer { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; margin-top: auto; color: #94a6c7; font-size: 9px; }
.showcase-footer > div { display: flex; align-items: center; }.footer-avatar { display: grid; width: 28px; height: 28px; margin-left: -5px; place-items: center; border: 2px solid #17315f; border-radius: 50%; background: #dfe8ff; color: #285bd7; font-size: 7px; font-weight: 800; }.showcase-footer strong { margin-left: 7px; color: #c3cfe5; font-size: 9px; }
.auth-content { position: relative; display: flex; min-height: 100vh; flex-direction: column; align-items: center; justify-content: center; padding: 62px clamp(35px, 7vw, 110px) 30px; background: var(--auth-surface); }
.auth-theme-toggle { position: absolute; top: 28px; right: 30px; display: grid; width: 40px; height: 40px; place-items: center; border: 1px solid var(--auth-border); border-radius: 11px; background: var(--auth-soft); color: var(--auth-muted); cursor: pointer; }
.auth-theme-toggle:hover { color: var(--auth-primary); }.auth-theme-toggle svg { width: 18px; }
.auth-mobile-header { display: none; }
.auth-form-wrap { width: 100%; max-width: 450px; margin: auto 0; }
.auth-heading { margin-bottom: 28px; }.auth-eyebrow { color: var(--auth-primary); font-size: 10px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.auth-heading h2 { margin: 8px 0 7px; font: 800 clamp(27px, 3vw, 36px)/1.2 "Manrope", sans-serif; letter-spacing: -.04em; }.auth-heading p { margin: 0; color: var(--auth-muted); font-size: 13px; }
.auth-form { display: grid; gap: 18px; }.auth-form-compact { gap: 14px; }
.auth-name-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.auth-field { display: grid; gap: 7px; }.auth-field label { font-size: 11px; font-weight: 700; }.auth-label-row { display: flex; align-items: center; justify-content: space-between; }.auth-label-row a { color: var(--auth-primary); font-size: 10px; font-weight: 700; }
.auth-input { display: flex; min-height: 48px; align-items: center; gap: 10px; padding: 0 13px; border: 1px solid var(--auth-border); border-radius: 11px; background: var(--auth-soft); transition: border .18s, box-shadow .18s, background .18s; }
.auth-input:focus-within { border-color: var(--auth-primary); background: var(--auth-surface); box-shadow: 0 0 0 4px var(--auth-focus); }.auth-input > svg { width: 17px; flex: 0 0 auto; color: #8d99ad; }
.auth-input input, .auth-input select { min-width: 0; height: 46px; flex: 1; border: 0; outline: 0; background: transparent; color: var(--auth-text); font-size: 12px; }.auth-input select { cursor: pointer; }.auth-input input::placeholder { color: #9ba6b6; }
.auth-input button { display: grid; padding: 4px; border: 0; background: transparent; color: #8d99ad; cursor: pointer; }.auth-input button svg { width: 17px; }.eye-closed { display: none; }.auth-input button.visible .eye-open { display: none; }.auth-input button.visible .eye-closed { display: block; }
.password-hint { color: var(--auth-muted); font-size: 9px; }
.auth-check { display: flex; align-items: flex-start; gap: 8px; color: var(--auth-muted); font-size: 10px; cursor: pointer; }.auth-check input { width: 15px; height: 15px; margin: 0; accent-color: var(--auth-primary); }
.auth-submit { display: flex; width: 100%; min-height: 49px; align-items: center; justify-content: center; gap: 10px; border: 0; border-radius: 11px; background: var(--auth-primary); box-shadow: 0 10px 24px rgba(40,91,215,.22); color: #fff; font-weight: 700; cursor: pointer; transition: .18s; }.auth-submit:hover { background: var(--auth-primary-dark); transform: translateY(-1px); }.auth-submit span { font-size: 18px; font-weight: 400; }
.auth-switch { margin: 24px 0 0; color: var(--auth-muted); font-size: 11px; text-align: center; }.auth-switch a { color: var(--auth-primary); font-weight: 800; }
.auth-legal { margin: auto 0 0; color: var(--auth-muted); font-size: 8px; text-align: center; }.auth-legal a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 960px) {
    .auth-shell { grid-template-columns: 1fr; }.auth-showcase { display: none; }.auth-content { min-height: 100vh; padding: 88px 26px 25px; }.auth-mobile-header { position: absolute; top: 24px; left: 26px; display: block; }.auth-mobile-header .auth-brand-mark { width: 36px; height: 36px; border-radius: 11px; font-size: 18px; }.auth-theme-toggle { top: 23px; right: 25px; width: 38px; height: 38px; }.auth-form-wrap { max-width: 460px; }
}
@media (max-width: 520px) {
    .auth-content { justify-content: flex-start; padding: 115px 20px 24px; }.auth-heading { margin-bottom: 24px; }.auth-name-grid { grid-template-columns: 1fr; gap: 14px; }.auth-form-compact { gap: 14px; }.auth-legal { margin-top: 34px; }
}

.auth-alert { margin: 0 0 16px; padding: 11px 13px; border-radius: 11px; font-size: 12px; font-weight: 600; }.auth-alert-error { border: 1px solid #f3c2c2; background: #fdecec; color: #b42323; }.auth-alert-success { border: 1px solid #bfe8d6; background: #e9f8f1; color: #11734b; }
.apply-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 18px; padding: 0; list-style: none; counter-reset: step; }
.apply-steps li { display: flex; flex-direction: column; padding: 10px; border: 1px solid #e3e8f0; border-radius: 10px; counter-increment: step; font-size: 12px; }
.apply-steps li::before { content: counter(step); display: grid; width: 20px; height: 20px; margin-bottom: 6px; place-items: center; border-radius: 50%; background: #e8efff; color: #285bd7; font-weight: 700; font-size: 11px; }
.apply-steps span { color: #6b7688; font-size: 11px; }
.apply-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.auth-switch-note { margin-top: 4px; font-size: 12px; opacity: .75; }
.auth-secondary-action { margin-top: 14px; text-align: center; }.auth-link-button { border: 0; background: none; color: var(--auth-primary); font-weight: 700; cursor: pointer; }
