/* Shared student/teacher sign-in layout. */
body.lms-auth { margin:0; min-height:100dvh; background:#f4f7fb; color:#173354; font-size:14px; }
.lms-auth a { color:inherit; text-decoration:none; }
.lms-auth button { cursor:pointer; }
.lms-auth .auth-skip { position:fixed; top:-80px; left:20px; z-index:10; padding:12px 18px; color:#fff; background:#174b91; border-radius:10px; }
.lms-auth .auth-skip:focus { top:12px; }
.auth-header { background:#fff; border-bottom:1px solid #e1e8f1; }
.auth-nav { width:min(1120px,calc(100% - 64px)); min-height:82px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:28px; }
.auth-brand { display:flex; gap:12px; align-items:center; font-weight:600; font-size:18px; white-space:nowrap; }
.auth-brand img { width:43px; height:43px; object-fit:contain; }
.auth-brand small { display:block; color:#8494a9; font-size:10px; font-weight:400; margin-top:3px; }
.auth-nav-links { display:flex; gap:30px; align-items:center; color:#60728a; font-size:12px; }
.auth-nav-links a:hover,.auth-account-help a:hover,.auth-label-row a:hover,.auth-form-footer a:hover { color:#367ac4; text-decoration:underline; text-underline-offset:4px; }
.auth-nav-current { display:flex; gap:8px; align-items:center; font-size:12px; color:#174b91; background:#edf3fb; padding:11px 17px; border-radius:9px; }
.auth-main { width:100%; padding:56px 24px 24px; }
.auth-layout { width:min(1020px,100%); margin:auto; display:grid; grid-template-columns:1fr 1fr; border:1px solid #dee7f2; border-radius:24px; overflow:hidden; background:#fff; box-shadow:0 18px 55px rgba(17,49,89,.07); }
.auth-welcome { position:relative; padding:66px 44px 32px; background:linear-gradient(140deg,#edf4fd 0%,#e8f0fb 68%,#deebfb 100%); display:flex; flex-direction:column; }
.auth-eyebrow { display:flex; align-items:center; gap:9px; font-size:10px; letter-spacing:1.65px; color:#55789f; margin-bottom:27px; font-weight:500; }
.auth-eyebrow span { width:6px; height:6px; background:#367ac4; border-radius:50%; }
.auth-welcome h2 { margin:0; font-size:36px; line-height:1.6; font-weight:600; letter-spacing:-.9px; color:#173a67; }
.auth-welcome h2 em { font-style:normal; color:#367ac4; }
.auth-description { margin:20px 0 29px; color:#65809f; font-size:12px; line-height:1.95; font-weight:300; }
.auth-feature-list { background:rgba(255,255,255,.75); border:1px solid rgba(192,211,234,.65); border-radius:16px; padding:19px 20px 9px; }
.auth-feature-list h3 { display:flex; align-items:center; gap:9px; margin:0 0 9px; font-size:12px; font-weight:500; color:#204d82; }
.auth-feature-list ul { margin:0; padding:0; list-style:none; }
.auth-feature-list li { display:flex; align-items:center; gap:10px; padding:13px 0; border-top:1px solid #e0e9f3; color:#68819f; font-size:11px; font-weight:300; }
.auth-feature-list li span { color:#91a6bf; font-size:9px; }
.auth-feature-list li i { margin-left:auto; color:#367ac4; font-size:14px; }
.auth-explore { display:flex; justify-content:space-between; align-items:center; font-size:11px; color:#315e95!important; margin:24px 0 28px; }
.auth-explore:hover { text-decoration:underline; text-underline-offset:4px; }
.auth-welcome-footer { display:flex; align-items:flex-start; gap:8px; font-size:10px; line-height:1.8; color:#8a9db4; margin-top:auto; }
.auth-form-panel { min-width:0; padding:34px 42px 24px; }
.auth-form-brand { display:flex; align-items:center; flex-direction:column; gap:8px; margin-bottom:21px; }
.auth-form-brand img { width:80px; height:80px; object-fit:contain; padding:5px; background:#fff; border:1px solid #e4ecf6; border-radius:50%; box-shadow:0 5px 16px rgba(17,49,89,.06); }
.auth-form-brand span { color:#6683a5; font-size:10px; letter-spacing:.75px; font-weight:500; }
.auth-form-heading { text-align:center; margin-bottom:22px; }
.auth-form-heading h1 { margin:0 0 7px; font-size:26px; line-height:1.5; color:#153b6b; font-weight:600; }
.auth-form-heading p { font-size:11px; color:#8b9cb1; margin:0; font-weight:300; }
.auth-role-picker { min-width:0; padding:0; margin:0 0 24px; border:0; display:grid; grid-template-columns:1fr 1fr; gap:9px; }
.auth-role-picker legend { position:absolute; width:1px; height:1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
.auth-role-option { min-width:0; display:flex; align-items:center; justify-content:center; gap:9px; position:relative; padding:12px 8px; background:#fff; border:1px solid #dde6f2; border-radius:11px; color:#8191a7; cursor:pointer; transition:background .15s,border-color .15s; }
.auth-role-option input { position:absolute; width:1px; height:1px; opacity:0; }
.auth-role-option>i { font-size:20px; }
.auth-role-option strong { font-size:12px; font-weight:500; display:block; }
.auth-role-option small { font-size:9px; font-weight:300; display:block; margin-top:3px; color:#97a6b8; }
.auth-role-option:has(input:checked) { color:#174b91; background:#eff5fe; border-color:#367ac4; box-shadow:inset 0 0 0 1px rgba(54,122,196,.06); }
.auth-role-option:has(input:checked) small { color:#6686b0; }
.auth-role-option:has(input:focus-visible) { outline:3px solid #70a8e4; outline-offset:3px; }
.auth-field { margin-bottom:20px; }
.auth-field label { display:flex; align-items:center; gap:7px; font-weight:500; font-size:12px; color:#3a577c; margin-bottom:8px; }
.lms-auth .auth-field input { width:100%; min-width:0; height:47px; border:1px solid #dce5f0; border-radius:10px; padding:0 14px; background:#fff; color:#18395e; font-size:12px; }
.auth-field input::placeholder { color:#9aaac0; font-weight:300; }
.auth-field-hint { color:#96a5b9; font-size:9px; line-height:1.7; margin:7px 0 0; font-weight:300; }
.auth-label-row { display:flex; align-items:baseline; justify-content:space-between; gap:8px; }
.auth-label-row a { font-size:10px; color:#447bb6; }
.auth-password { position:relative; }
.lms-auth .auth-password input { padding-right:48px; }
.auth-password-toggle { position:absolute; right:4px; top:4px; width:39px; height:39px; display:grid; place-items:center; padding:0; border:0; border-radius:8px; background:transparent; color:#8b9db5; font-size:17px; }
.auth-password-toggle:hover { background:#f0f5fc; color:#174b91; }
.auth-submit { width:100%; min-height:48px; display:flex; align-items:center; justify-content:center; gap:10px; padding:12px 18px; border:0; border-radius:10px; background:#174b91; color:#fff; font-size:13px; font-weight:500; box-shadow:0 5px 14px rgba(23,75,145,.12); transition:background .15s,box-shadow .15s; }
.auth-submit:hover { background:#123d77; box-shadow:0 7px 18px rgba(23,75,145,.2); }
.auth-submit>.bi-arrow-right { margin-left:auto; }
.auth-submit>.bi-box-arrow-in-right { margin-right:auto; }
.auth-account-help { text-align:center; color:#8a9bb1; font-size:10px; line-height:1.9; margin:22px 0; }
.auth-account-help a { color:#316cae; font-weight:500; }
.auth-form-footer { border-top:1px solid #e8eef6; padding-top:17px; display:flex; justify-content:space-between; gap:10px; color:#93a4ba; font-size:9px; }
.auth-form-footer i { margin-right:4px; }
.auth-form-footer a { color:#6684a8; white-space:nowrap; }
.auth-notice { display:flex; gap:9px; align-items:flex-start; border:1px solid #d2e3f6; background:#eff6ff; border-radius:10px; color:#34618c; padding:12px; font-size:11px; line-height:1.8; margin-bottom:20px; }
.auth-notice>i { flex-shrink:0; font-size:14px; }
.auth-notice.error { border-color:#f2d3db; background:#fff4f6; color:#ae3c55; }
.auth-copyright { text-align:center; margin:23px 0 0; font-size:10px; color:#9baabe; }
@media(min-width:761px) and (min-height:980px) { .auth-main { padding-top:85px; } }
@media(max-width:1000px) { .auth-welcome { padding:54px 30px 28px; } .auth-form-panel { padding:30px; } .auth-welcome h2 { font-size:31px; } .auth-nav-links { gap:18px; } }
@media(max-width:760px) { .auth-nav { width:calc(100% - 36px); min-height:72px; gap:12px; } .auth-brand { font-size:16px; gap:9px; } .auth-brand img { width:37px; height:37px; } .auth-nav-links { display:none; } .auth-nav-current { font-size:10px; padding:9px 12px; } .auth-main { padding:28px 16px 24px; } .auth-layout { max-width:480px; grid-template-columns:1fr; border-radius:20px; } .auth-welcome { display:none; } .auth-form-panel { padding:29px 27px 24px; } .auth-form-brand { margin-bottom:19px; } .auth-form-brand img { width:74px; height:74px; } .auth-form-heading h1 { font-size:25px; } .auth-copyright { font-size:9px; } }
@media(max-width:380px) { .auth-form-panel { padding:25px 20px 21px; } .auth-brand { font-size:14px; } .auth-nav-current { padding:9px; } .auth-role-option { gap:7px; } .auth-role-option strong { font-size:11px; } .auth-role-option>i { font-size:18px; } .auth-form-footer { font-size:8px; } }
@media(prefers-reduced-motion:reduce) { .auth-role-option,.auth-submit { transition:none; } }
@media(max-width:760px) {
    .auth-nav { width:calc(100% - 24px); min-height:68px; gap:8px; }
    .auth-brand { font-size:15px; gap:8px; white-space:normal; min-width:0; }
    .auth-brand img { width:34px; height:38px; flex-shrink:0; }
    .auth-brand small { font-size:11px; }
    .auth-nav-current { font-size:11px; padding:10px; flex-shrink:0; }
    .auth-main { padding:18px 12px max(20px,env(safe-area-inset-bottom)); }
    .auth-layout { border-radius:16px; }
    .auth-form-panel { padding:22px 18px; }
    .auth-form-brand { gap:6px; margin-bottom:14px; }
    .auth-form-brand img { width:64px; height:64px; }
    .auth-form-brand span { font-size:11px; }
    .auth-form-heading { margin-bottom:18px; }
    .auth-form-heading h1 { font-size:24px; }
    .auth-form-heading p { font-size:12px; line-height:1.7; }
    .auth-role-picker { gap:8px; margin-bottom:20px; }
    .auth-role-option { min-height:60px; gap:8px; padding:10px 6px; }
    .auth-role-option strong { font-size:13px; }
    .auth-role-option small { font-size:11px; line-height:1.5; }
    .auth-role-option > i { font-size:18px; }
    .auth-field { margin-bottom:16px; }
    .auth-field label { font-size:13px; }
    .lms-auth .auth-field input { font-size:16px; height:48px; padding-left:12px; }
    .auth-field-hint { font-size:11px; }
    .auth-label-row a { font-size:12px; }
    .auth-password-toggle { width:44px; height:44px; top:2px; right:2px; }
    .auth-submit { min-height:48px; font-size:14px; }
    .auth-account-help { font-size:12px; margin:18px 0; }
    .auth-form-footer { flex-wrap:wrap; font-size:11px; line-height:1.7; padding-top:14px; }
    .auth-form-footer a { min-height:44px; display:inline-flex; align-items:center; }
    .auth-copyright { font-size:11px; line-height:1.8; margin-top:18px; }
    .auth-notice { font-size:12px; }
}
