* { box-sizing: border-box; }
:root { color-scheme: light; --navy: #102e5b; --blue: #1764e8; --muted: #68788d; }
html, body { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body { overflow-x: hidden; margin: 0; font-family: "Segoe UI", Arial, sans-serif; color: #172b49; background: #fff; }
a { color: var(--blue); }
.login-shell { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.05fr 1fr; }
.login-overview { position: relative; overflow: hidden; display: flex; flex-direction: column; padding: 44px clamp(32px, 5vw, 86px); background: linear-gradient(145deg, #102b55, #123d74); color: #fff; }
.login-overview::after { content: ""; position: absolute; width: 480px; height: 480px; border: 1px solid #ffffff0e; border-radius: 50%; right: -285px; bottom: -180px; box-shadow: 0 0 0 65px #ffffff04, 0 0 0 130px #ffffff03; pointer-events: none; }
.brand { display: flex; align-items: center; gap: 16px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: 2px; font-size: 18px; }
.brand:hover { color: #fff; }
.brand img { width: 85px; height: 58px; object-fit: contain; background: #fff; padding: 7px; border-radius: 8px; }
.brand-caption { display: block; font-size: 11px; letter-spacing: .4px; font-weight: 400; color: #b9cce5; margin-top: 5px; }
.overview-content { margin: auto 0; padding: 65px 0; max-width: 520px; position: relative; z-index: 1; }
.eyebrow { font-size: 10px; letter-spacing: 2px; color: #9cbfe9; font-weight: 600; }
h1 { font-size: clamp(36px, 3.7vw, 57px); line-height: 1.13; font-weight: 650; letter-spacing: -1.6px; margin: 22px 0; }
.overview-description { color: #c1d1e6; line-height: 1.8; font-size: 15px; max-width: 370px; }
.module-list { display: grid; gap: 25px; margin-top: 38px; }
.module-list > div { display: flex; align-items: center; gap: 16px; }
.module-icon { display: grid; place-items: center; width: 43px; height: 43px; flex-shrink: 0; border: 1px solid #ffffff24; border-radius: 11px; color: #9dc7ff; background: #ffffff07; font-size: 19px; }
.module-list strong { display: block; font-size: 14px; font-weight: 600; }
.module-list small { display: block; color: #afc3dd; font-size: 12px; margin-top: 4px; }
.overview-footer { display: flex; align-items: center; gap: 12px; font-size: 11px; color: #a6bbd6; }
.footer-line { height: 1px; width: 26px; background: #6e91bd; }
.login-panel { display: flex; flex-direction: column; padding: 50px clamp(24px, 5vw, 80px) 26px; }
.login-content { width: 100%; max-width: 390px; margin: auto; padding: 42px 0; }
.signin-icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; color: var(--blue); background: #edf4ff; font-size: 23px; margin-bottom: 28px; }
.section-label { color: var(--blue); font-size: 10px; font-weight: 700; letter-spacing: 1.8px; margin-bottom: 12px; }
h2 { font-size: 29px; font-weight: 650; letter-spacing: -.8px; margin: 0 0 10px; }
.signin-description { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.login-field { margin-bottom: 22px; }
.login-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 9px; }
.login-field input { width: 100%; height: 49px; border: 1px solid #d8e0eb; border-radius: 7px; padding: 12px 14px; font: inherit; font-size: 14px; color: #172b49; background: #fff; }
.login-field input::placeholder { color: #8492a5; }
.login-field input:focus { outline: 3px solid #1764e81a; border-color: var(--blue); }
.password-field { position: relative; }
.password-field input { padding-right: 54px; }
.password-field button { position: absolute; right: 2px; top: 2px; height: 45px; width: 44px; background: transparent; border: 0; border-radius: 5px; color: #68788d; }
button:focus-visible, a:focus-visible { outline: 3px solid #80adff; outline-offset: 3px; }
.signin-button { display: flex; justify-content: center; align-items: center; gap: 14px; width: 100%; height: 49px; border: 0; border-radius: 7px; background: var(--blue); color: #fff; font-size: 14px; font-weight: 600; margin-top: 8px; transition: background .15s; }
.signin-button:hover { background: #1253c5; }
.signin-button:disabled { opacity: .65; }
.account-help { border-top: 1px solid #edf0f5; margin: 29px 0 0; padding-top: 24px; text-align: center; color: var(--muted); font-size: 12px; line-height: 1.9; }
.account-help strong { font-weight: 500; color: #3f526c; }
.login-error { display: flex; gap: 10px; padding: 12px; color: #a32934; background: #fff1f2; border: 1px solid #ffd7dc; border-radius: 7px; font-size: 13px; margin-bottom: 22px; }
.field-error { color: #b42335; font-size: 12px; }
.login-footer { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; color: #7b899c; font-size: 11px; width: 100%; max-width: 470px; margin: 0 auto; }
.login-footer a { text-decoration: none; }
@media (max-width: 850px) { .login-shell { grid-template-columns: .9fr 1fr; } .login-overview { padding: 30px; } h1 { font-size: 39px; } .login-panel { padding: 35px 28px 24px; } .eyebrow { letter-spacing: 1px; } }
@media (max-width: 640px) { .login-shell { display: block; } .login-overview { padding: 22px 24px; } .overview-content, .overview-footer { display: none; } .brand img { width: 65px; height: 45px; } .brand { font-size: 16px; } .login-panel { min-height: calc(100svh - 89px); padding: 24px; } .login-content { padding: 24px 0 36px; } h2 { font-size: 27px; } .signin-icon { margin-bottom: 22px; } }

/* Keep the full sign-in form visible on shorter screens and at browser zoom. */
@media (min-width: 641px) and (max-height: 780px) {
    .login-overview { padding-top: 24px; padding-bottom: 24px; }
    .overview-content { padding: 26px 0; }
    h1 { font-size: clamp(32px, 3.7vw, 46px); margin: 16px 0; }
    .overview-description { line-height: 1.6; margin-bottom: 0; }
    .module-list { gap: 16px; margin-top: 24px; }
    .login-panel { padding-top: 20px; padding-bottom: 18px; }
    .login-content { padding: 16px 0; }
    .signin-icon { margin-bottom: 16px; width: 42px; height: 42px; }
    .section-label { margin-bottom: 8px; }
    .signin-description { margin-bottom: 22px; }
    .login-field { margin-bottom: 16px; }
    .account-help { margin-top: 20px; padding-top: 16px; }
}
@media (min-width: 641px) and (max-height: 600px) {
    .brand img { width: 65px; height: 45px; }
    .overview-content { padding: 20px 0; }
    .module-list { gap: 12px; margin-top: 18px; }
    .module-list small { display: none; }
    .signin-icon { display: none; }
    .login-content { padding: 8px 0; }
    h2 { font-size: 25px; }
    .signin-description { margin-bottom: 16px; }
    .account-help { margin-top: 16px; padding-top: 12px; }
}
@media (max-width: 640px) and (max-height: 780px) {
    .login-overview { padding: 14px 24px; }
    .login-panel { min-height: calc(100svh - 73px); padding: 16px 24px; }
    .login-content { padding: 12px 0 20px; }
    .signin-icon { display: none; }
    .signin-description { margin-bottom: 22px; }
    .login-field { margin-bottom: 16px; }
    .account-help { margin-top: 20px; padding-top: 16px; }
}
