* { box-sizing: border-box; } [hidden] { display: none !important; }
body { margin: 0; color: #17212b; background: #f4f6f8; font-family: system-ui, sans-serif; }
a { color: inherit; } button, input { font: inherit; } button { cursor: pointer; }
.login-layout { min-height: 100dvh; display: grid; grid-template-columns: 1fr 1fr; }
.login-intro { background: #123c60; color: #fff; padding: clamp(32px, 5vw, 80px); display: flex; flex-direction: column; justify-content: space-between; }
.brand { display: flex; gap: 14px; align-items: center; text-decoration: none; font-weight: 650; font-size: 20px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; background: #e8f2fa; color: #123c60; border-radius: 10px; font-size: 16px; }
.eyebrow { text-transform: uppercase; letter-spacing: .13em; font-size: 11px; font-weight: 600; }
.login-intro h1 { font-size: clamp(32px, 3.8vw, 56px); font-weight: 550; letter-spacing: -.04em; line-height: 1.1; margin: 22px 0; }
.login-intro p:not(.eyebrow) { max-width: 320px; color: #c8d9e6; font-size: 16px; line-height: 1.7; }
.intro-footer { font-size: 12px; color: #c8d9e6; }
.login-panel { display: grid; place-items: center; padding: 48px 24px; }
.login-card { width: min(100%, 390px); }
h2 { font-size: 30px; letter-spacing: -.03em; font-weight: 600; margin: 12px 0; }
.muted { color: #5c6670; font-size: 14px; line-height: 1.6; }
form { display: grid; gap: 10px; margin-top: 32px; }
label { font-size: 13px; font-weight: 600; margin-top: 8px; }
input { width: 100%; min-width: 0; padding: 13px; border: 1px solid #b4c2cd; border-radius: 6px; background: white; }
.password-field { position: relative; } .password-field input { padding-right: 65px; }
#showPassword { position: absolute; top: 0; bottom: 0; right: 0; border: 0; background: transparent; color: #144a7c; font-size: 12px; padding: 0 14px; }
.submit { display: flex; justify-content: space-between; align-items: center; margin-top: 18px; padding: 14px 18px; border: 0; border-radius: 6px; color: white; background: #144a7c; font-weight: 600; }
.submit:hover { background: #10385d; } .submit:disabled { opacity: .6; cursor: wait; }
:focus-visible { outline: 3px solid #70b5ed; outline-offset: 2px; }
#loginError { color: #9c2828; font-size: 13px; line-height: 1.5; margin: 4px 0; }
.notice { padding: 12px; font-size: 13px; border-left: 3px solid #247b57; background: #e9f4ee; }
.login-address { margin-top: 28px; font-size: 12px; color: #5c6670; line-height: 1.8; }
.login-address a { display: block; color: #144a7c; text-underline-offset: 3px; }
@media (max-width: 760px) { .login-layout { grid-template-columns: 1fr; grid-template-rows: auto 1fr; } .login-intro { padding: 24px; } .login-intro > div, .intro-footer { display: none; } .login-panel { align-items: start; padding-top: 38px; } }
