.auth-page { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 470px); gap: clamp(40px, 8vw, 110px); align-items: center; padding-block: clamp(48px, 7vw, 100px); }
.auth-intro { max-width: 570px; }
.auth-intro h1 { margin: 18px 0 24px; font-family: "Space Grotesk", Inter, sans-serif; font-size: clamp(50px, 6.7vw, 88px); font-weight: 700; line-height: .98; letter-spacing: -.065em; }
.auth-intro h1 span { color: var(--red); }
.auth-intro__copy { margin: 0; color: var(--muted-strong); font-size: clamp(18px, 2vw, 23px); line-height: 1.5; }
.auth-benefits { display: grid; gap: 23px; margin: 34px 0; padding: 0; list-style: none; }
.auth-benefits li { display: grid; grid-template-columns: 38px minmax(0, 1fr); gap: 14px; align-items: start; }
.auth-benefits li > span { display: grid; place-items: center; min-height: 38px; color: var(--red); background: rgba(254,2,2,.08); border: 1px solid rgba(254,2,2,.15); border-radius: 9px; font-size: 21px; }
.auth-benefits strong { display: block; color: #f5f5f5; font-size: 16px; font-weight: 600; }
.auth-benefits p { margin: 4px 0 0; color: #aaa; font-size: 14px; line-height: 1.55; }
.auth-back { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: #bbb; font-size: 14px; }
.auth-back:hover { color: #fff; }
.auth-card { min-width: 0; padding: clamp(24px, 3vw, 36px); border: 1px solid rgba(255,255,255,.13); border-radius: 12px; background: #101013; box-shadow: 0 24px 60px rgba(0,0,0,.22); }
.auth-card__heading { display: flex; align-items: center; gap: 14px; margin-bottom: 28px; }
.auth-card__icon { display: grid; flex-shrink: 0; place-items: center; width: 46px; height: 46px; border-radius: 10px; background: rgba(254,2,2,.1); color: var(--red); font-size: 25px; }
.auth-card__heading h2 { margin: 0; font-size: 25px; font-weight: 650; letter-spacing: -.04em; }
.auth-card__heading p { margin: 2px 0 0; color: #aaa; font-size: 14px; }
.auth-form { display: grid; gap: 21px; margin: 0; }
.auth-field { min-width: 0; }
.auth-field > label, .auth-field__label label { display: block; margin-bottom: 9px; color: #eee; font-size: 14px; font-weight: 550; }
.auth-field__label { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.auth-field__label a { color: #bbb; font-size: 13px; }
.auth-field__label a:hover, .auth-register a:hover { color: #fff; text-decoration: underline; }
.auth-field input:not([type="checkbox"]) { display: block; width: 100%; min-width: 0; min-height: 50px; padding: 12px 14px; border: 1px solid #36363a; border-radius: 7px; background: #08080b; color: #fff; font: inherit; font-size: 16px; transition: border-color .18s; }
.auth-field input:not([type="checkbox"]):focus { border-color: #b1b1b7; outline: 2px solid rgba(255,255,255,.25); outline-offset: 2px; }
.auth-field input[aria-invalid="true"] { border-color: #ff6969; }
.auth-password { position: relative; }
.auth-password input { padding-right: 75px !important; }
.auth-password button { position: absolute; top: 3px; right: 3px; min-width: 65px; min-height: 44px; border: 0; border-radius: 5px; background: transparent; color: #c4c4c9; cursor: pointer; font: inherit; font-size: 13px; }
.auth-password button[hidden] { display: none; }
.auth-password button:hover { color: #fff; background: #19191d; }
.auth-options { display: grid; gap: 10px; }
.auth-options label { display: flex; align-items: center; gap: 10px; width: fit-content; min-height: 24px; color: #c4c4c9; font-size: 14px; cursor: pointer; }
.auth-options input { width: 17px; height: 17px; margin: 0; accent-color: var(--red); }
.auth-submit { display: flex; justify-content: space-between; min-height: 50px; border-radius: 7px; }
.auth-submit:disabled, .auth-provider:disabled { opacity: .65; cursor: wait; }
.auth-form__status:empty { display: none; }
.auth-form__status { margin: -8px 0 0; color: #bbb; font-size: 14px; }
.auth-divider { display: flex; align-items: center; gap: 14px; margin: 25px 0 20px; color: #aaa; font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ""; flex: 1; height: 1px; background: #303035; }
.auth-providers { display: grid; gap: 10px; }
.auth-providers form { margin: 0; }
.auth-provider { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid #36363e; border-radius: 7px; background: #17171c; color: #eee; cursor: pointer; font: inherit; font-size: 14px; font-weight: 550; }
.auth-provider:hover { border-color: #6b6b75; background: #202026; }
.auth-register { margin: 25px 0 0; color: #bbb; text-align: center; font-size: 14px; }
.auth-register a { color: #fff; font-weight: 600; }
.auth-security { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 25px 0 0; padding-top: 20px; border-top: 1px solid #29292f; color: #aaa; font-size: 12px; }
.auth-security > span { color: var(--green); }
.auth-error, .auth-notice { margin: 0 0 24px; padding: 15px; border: 1px solid rgba(255,105,105,.3); border-radius: 7px; background: rgba(255,105,105,.07); color: #ffb9b9; font-size: 14px; }
.auth-error strong { display: block; font-weight: 600; }
.auth-error p, .auth-notice p { margin: 5px 0 0; }
.auth-notice h3 { margin: 0; font-size: 16px; }
.auth-field__error { margin: 8px 0 0; color: #ffb9b9; font-size: 13px; }
.auth-page a:focus-visible, .auth-page button:focus-visible, .auth-options input:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
@media (max-width: 860px) {
    .auth-page { grid-template-columns: 1fr; gap: 32px; max-width: 620px; padding-block: 40px 60px; }
    .auth-intro h1 { font-size: 52px; margin: 14px 0 16px; }
    .auth-intro h1 br { display: none; }
    .auth-intro h1 span::before { content: " "; }
    .auth-intro__copy { font-size: 18px; }
    .auth-benefits { display: none; }
    .auth-back { margin-top: 14px; }
}
@media (max-width: 430px) {
    .auth-page { padding-block: 30px 45px; gap: 24px; }
    .auth-intro h1 { font-size: 45px; }
    .auth-card { padding: 23px 20px; }
    .auth-card__heading { gap: 11px; }
    .auth-card__heading p { font-size: 13px; }
    .auth-options label { min-height: 44px; }
    .auth-security { align-items: flex-start; text-align: center; font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) { .auth-page *, .auth-page *::before, .auth-page *::after { transition: none !important; } }
