.login-page { background: var(--light); }
.auth-page { max-width: 1200px; margin: 0 auto; padding: 28px 5% 56px; }
.auth-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); align-items: start; gap: 24px; max-width: 980px; margin: 28px auto 0; }
.auth-intro { position: relative; display: flex; align-items: flex-end; height: 570px; min-height: 0; overflow: hidden; border: 1px solid var(--border); border-radius: 12px; background: var(--blue); color: white; }
.auth-intro > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.auth-intro::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,27,79,.08) 15%, rgba(6,27,79,.95) 100%); }
.auth-intro-copy { position: relative; z-index: 1; padding: 36px; }
.auth-eyebrow { color: #ffc46e; font-size: 12px; font-weight: 700; letter-spacing: 1.5px; margin-bottom: 14px; }
.auth-intro h2 { font-size: 34px; line-height: 1.15; letter-spacing: -.6px; margin-bottom: 16px; }
.auth-intro-copy > p:last-child { color: #e2e8f4; font-size: 15px; line-height: 1.6; }
.auth-form-panel { min-width: 0; padding: 38px; background: white; border: 1px solid var(--border); border-radius: 12px; }
.auth-form-panel h1 { font-size: 29px; letter-spacing: -.6px; margin-bottom: 10px; }
.auth-subtitle { color: var(--muted); font-size: 14px; line-height: 1.6; margin-bottom: 24px; }
.auth-form .field { margin-bottom: 18px; }
.auth-form .field label { font-size: 13px; font-weight: 700; }
.auth-form input:not([type=radio]):not([type=hidden]) { height: 46px; font-size: 14px; background: white; }
.auth-password { position: relative; }
.auth-password input { padding-right: 50px; }
.auth-password button { position: absolute; top: 1px; right: 1px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 8px; background: transparent; cursor: pointer; }
.auth-password button img { display: block; width: 22px; height: 22px; object-fit: contain; }
.auth-password button:focus-visible, .auth-submit:focus-visible, .auth-guest:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.auth-recovery-link { margin: -3px 0 22px; text-align: right; font-size: 13px; color: var(--brand-blue); font-weight: 700; }
.auth-form select { height: 46px; font-size: 14px; }
.auth-form input[readonly] { background: var(--light); color: var(--muted); }
.auth-name-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px; }
.auth-phone { display: flex; align-items: center; border: 1px solid var(--border); border-radius: 8px; overflow: hidden; }
.auth-phone span { padding: 0 12px; color: var(--muted); font-size: 14px; }
.auth-phone input { min-width: 0; border: 0; border-left: 1px solid var(--border); border-radius: 0; }
.auth-hint, .auth-agreement { color: var(--muted); font-size: 12px; line-height: 1.6; margin-top: 6px; }
.auth-agreement { margin: 0 0 18px; }
.auth-agreement a { color: var(--brand-blue); text-decoration: underline; }
.auth-success { padding: 12px 14px; margin-bottom: 20px; color: #165b35; background: #edf9f1; border: 1px solid #bfe6ce; border-radius: 6px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.auth-step { margin-bottom: 12px; color: var(--brand-blue); font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.auth-resend { text-align: center; margin-top: 12px; }
.auth-resend button { font-size: 13px; }
.auth-password button[hidden] { display: none; }
.auth-submit { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; padding: 12px 18px; border: 0; border-radius: 24px; background: var(--brand-blue); color: white; font-size: 15px; font-weight: 700; cursor: pointer; }
.auth-submit:hover { background: var(--blue-2); }
.auth-submit:disabled { opacity: .65; cursor: wait; }
.auth-guest { display: block; margin-top: 14px; padding: 10px; text-align: center; color: var(--brand-blue); font-size: 14px; font-weight: 700; }
.auth-signup { margin-top: 16px; padding-top: 20px; border-top: 1px solid var(--border); text-align: center; color: var(--muted); font-size: 13px; line-height: 1.6; }
.auth-signup a { color: var(--brand-blue); font-weight: 700; }
.auth-error { padding: 12px 14px; margin-bottom: 20px; color: #9d2330; background: #fff3f4; border: 1px solid #f4cbd0; border-radius: 6px; font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.auth-account-icon { display: block; margin-bottom: 16px; }
.auth-account-email { margin-bottom: 26px; color: var(--muted); font-size: 14px; overflow-wrap: anywhere; }
.auth-logout { text-align: center; margin-top: 18px; }
.auth-text-button { border: 0; padding: 10px 20px; background: transparent; color: var(--brand-blue); font-weight: 700; cursor: pointer; }
@media (max-width: 750px) {
    .auth-page { padding: 20px 5% 36px; }
    .auth-card { grid-template-columns: minmax(0, 1fr); gap: 16px; max-width: 500px; margin-top: 20px; }
    .auth-intro { height: 170px; }
    .auth-intro > img { object-position: center 35%; }
    .auth-intro-copy { padding: 24px; }
    .auth-intro h2 { font-size: 25px; margin-bottom: 0; }
    .auth-intro-copy > p:last-child { display: none; }
    .auth-eyebrow { font-size: 10px; margin-bottom: 8px; }
    .auth-form-panel { padding: 26px 24px; }
    .auth-form-panel h1 { font-size: 26px; }
    .auth-form input:not([type=radio]):not([type=hidden]), .auth-form select { font-size: 16px; }
}
@media (max-width: 380px) {
    .auth-name-row { grid-template-columns: minmax(0, 1fr); gap: 0; }
}
