.login-page { min-height: 100vh; background: var(--navy-950); }
.login-layout { display: grid; grid-template-columns: minmax(420px, 1.15fr) minmax(380px, .85fr); min-height: 100vh; }
.login-brand-panel { display: flex; flex-direction: column; justify-content: space-between; min-height: 100vh; padding: 42px 6vw 38px; color: var(--white); background: linear-gradient(145deg, var(--navy-950), var(--navy-900)); }
.login-brand-copy { max-width: 610px; }
.login-brand-copy h1 { max-width: 560px; margin: 0; font-size: clamp(38px, 5vw, 66px); line-height: 1.04; letter-spacing: -.035em; }
.login-brand-copy > p:last-child { max-width: 570px; margin: 24px 0 0; color: #b7c6d9; font-size: 16px; line-height: 1.65; }
.lifecycle-line { display: flex; align-items: center; max-width: 620px; color: #9eb0c7; font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.lifecycle-line i { flex: 1; height: 1px; margin: 0 12px; background: #294461; }
.login-form-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px; background: #edf1f5; }
.login-card { width: min(100%, 430px); padding: 34px; border: 1px solid #d8dee7; border-radius: 8px; background: var(--white); box-shadow: 0 20px 50px rgba(5, 20, 39, .12); }
.login-card h2 { margin: 0; color: var(--navy-900); font-size: 24px; }
.login-card header > p:last-child { margin: 9px 0 24px; color: var(--slate-500); font-size: 12px; line-height: 1.55; }
.auth-view[hidden] { display: none; }
.login-card label { display: block; margin: 14px 0 6px; color: var(--slate-700); font-size: 11px; font-weight: 700; }
.login-card input { width: 100%; height: 42px; padding: 0 12px; border: 1px solid var(--slate-300); border-radius: 5px; color: var(--slate-900); background: var(--white); }
.login-card input:disabled { background: #f5f7f9; color: #8a96a6; }
.auth-primary-actions, .auth-flow-actions { display: grid; gap: 10px; margin-top: 20px; }
.auth-primary-actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.auth-flow-actions { grid-template-columns: minmax(0, 1fr) auto; }
.auth-primary-actions .button, .auth-flow-actions .button { width: 100%; margin: 0; }
.text-button { display: block; margin: 12px auto 0; padding: 2px; border: 0; color: var(--navy-800); background: transparent; cursor: pointer; font-size: 11px; font-weight: 700; }
.text-button:disabled { color: var(--slate-500); cursor: default; }
.honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.password-flow-layout { display: grid; min-height: 100vh; place-items: center; padding: 24px; background: var(--navy-950); }
.password-flow-brand { margin-bottom: 28px; color: var(--navy-900); }
.password-flow-brand small { color: var(--slate-500); }
.development-login { margin-top: 18px; padding: 15px; border: 1px solid #f4c6ad; border-radius: 6px; background: #fff8f4; }
.development-login strong { color: var(--navy-900); font-size: 12px; }
.development-login p { margin: 5px 0 12px; color: var(--slate-700); font-size: 11px; line-height: 1.45; }
.login-footer { width: min(100%, 430px); margin: 18px 0 0; color: var(--slate-500); font-size: 10px; text-align: center; }

@media (max-width: 900px) {
    .login-layout { grid-template-columns: 1fr; }
    .login-brand-panel { min-height: 330px; padding: 28px; }
    .login-brand-copy h1 { font-size: 38px; }
    .login-brand-copy > p:last-child { margin-top: 14px; font-size: 14px; }
    .lifecycle-line { display: none; }
    .login-form-panel { min-height: calc(100vh - 330px); }
}

@media (max-width: 520px) {
    .login-brand-panel { min-height: 270px; }
    .login-brand-copy h1 { font-size: 30px; }
    .login-brand-copy > p:last-child { display: none; }
    .login-form-panel { padding: 18px; }
    .login-card { padding: 24px; }
}
