.page-content:has(> .auth-page) { max-width: 1080px; padding: clamp(24px,6vh,72px) clamp(16px,3vw,28px) 56px; align-items: center; justify-content: center; gap: 0; }
.auth-page { position: relative; display: flex; flex-direction: column; gap: 18px; width: 100%; max-width: 440px; min-width: 0; animation: auth-enter .3s cubic-bezier(.2,.8,.2,1); }
.auth-page__card { position: relative; padding: 30px 28px; border-radius: 24px; border: 1px solid rgba(255,255,255,.1); background: rgba(24,27,33,.92); }
.auth-page__header { display: flex; flex-direction: column; gap: 6px; margin-bottom: 22px; }
.auth-page__header h1 { margin: 0; color: #f4f5f7; font: 700 26px/1.15 'Space Grotesk',sans-serif; letter-spacing: -.03em; text-wrap: pretty; }
.auth-page__header p { margin: 0; color: #9aa1ad; font: 500 14px/1.5 Manrope,sans-serif; text-wrap: pretty; overflow-wrap: anywhere; }
.auth-page__header.is-centered { align-items: center; text-align: center; gap: 8px; padding-top: 6px; animation: auth-fade .25s ease; }
.auth-page__header.is-centered p { line-height: 1.55; }
.auth-page__form { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.auth-page__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.auth-page__label { display: flex; justify-content: space-between; gap: 10px; font: 600 11px ui-monospace,Menlo,monospace; color: #c3c8d1; letter-spacing: .08em; text-transform: uppercase; }
.auth-page__label label { margin: 0; }
.auth-page__label > span { text-align: right; }
.auth-page__input-wrap { position: relative; display: block; min-width: 0; }
.auth-page .auth-page__input-wrap input { display: block; width: 100%; min-width: 0; height: 46px; padding: 0 14px; border-radius: 12px; background: rgba(0,0,0,.3); border: 1px solid rgba(255,255,255,.1); color: #f4f5f7; font: 500 14px Manrope,sans-serif; outline: none; transition: border-color .15s,box-shadow .15s; }
.auth-page .auth-page__input-wrap.has-toggle input { padding-right: max(64px,var(--auth-toggle-width,64px)); }
.auth-page .auth-page__input-wrap.has-counter input { padding-right: 56px; }
.auth-page .auth-page__input-wrap input[aria-invalid=true], .auth-page .auth-page__input-wrap input.is-mismatch { border-color: rgba(222,23,34,.6); }
.auth-page .auth-page__input-wrap input:focus { border-color: #de1722; box-shadow: 0 0 0 3px rgba(222,23,34,.18); }
.auth-page .auth-page__visibility { position: absolute; right: 8px; top: 8px; height: 30px; padding: 0 10px; border-radius: 8px; border: 0; background: transparent; color: #9aa1ad; font: 700 12px Manrope,sans-serif; transition: background .15s,color .15s; }
.auth-page .auth-page__visibility:hover { background: rgba(255,255,255,.07); color: #f4f5f7; }
.auth-page__counter { position: absolute; right: 14px; top: 0; height: 46px; display: flex; align-items: center; font: 600 11px ui-monospace,Menlo,monospace; color: #6b717c; }
.auth-page__options { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
.auth-page__options > a { font: 700 13px Manrope,sans-serif; }
.auth-page__remember { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 4px 0; margin: 0; color: #c3c8d1; font: 600 13px Manrope,sans-serif; cursor: pointer; }
.auth-page__remember input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.auth-page__check { width: 20px; height: 20px; flex: 0 0 auto; display: grid; place-items: center; border: 1.5px solid rgba(255,255,255,.2); border-radius: 6px; transition: background .15s,border-color .15s; }
.auth-page__check svg { width: 13px; height: 13px; fill: none; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.auth-page__remember input:checked + .auth-page__check { background: #de1722; border-color: #de1722; }
.auth-page__remember input:checked + .auth-page__check svg { opacity: 1; }
.auth-page__remember input:focus-visible + .auth-page__check { outline: 2px solid #ff4b55; outline-offset: 3px; }
.site-page .auth-page__submit { display: grid; place-items: center; width: 100%; min-height: 48px; margin-top: 6px; padding: 8px 16px; border-radius: 12px; border: 0; background: #de1722; color: #fff; font: 800 15px Manrope,sans-serif; text-align: center; transition: background .15s,transform .15s,opacity .15s; }
.site-page .auth-page__submit:hover:not(:disabled) { background: #f02a35; color: #fff; }
.site-page .auth-page__submit:active:not(:disabled) { transform: scale(.99); }
.site-page .auth-page__submit:disabled { opacity: .5; cursor: not-allowed; }
.site-page .auth-page [aria-busy=true] .auth-page__submit:disabled { opacity: .7; cursor: wait; }
.auth-page__divider { display: flex; align-items: center; gap: 12px; margin-top: 6px; color: #6b717c; font: 600 11px ui-monospace,Menlo,monospace; letter-spacing: .08em; text-transform: uppercase; }
.auth-page__divider::before, .auth-page__divider::after { content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.08); }
.site-page .auth-page__secondary { min-height: 46px; display: grid; place-items: center; padding: 8px 14px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.03); color: #f4f5f7; font: 700 14px Manrope,sans-serif; text-align: center; transition: border-color .15s,color .15s; }
.site-page .auth-page__secondary:hover { border-color: #de1722; color: #ff4b55; }
.auth-page__switch, .auth-page__resend { margin: 4px 0 0; text-align: center; color: #9aa1ad; font: 600 13px/1.45 Manrope,sans-serif; }
.auth-page__resend { margin-top: 10px; }
.auth-page__resend button { padding: 0; border: 0; background: transparent; color: #ff4b55; font: inherit; }
.site-page .auth-page__resend button:disabled { color: #6b717c; opacity: 1; cursor: default; }
.site-page .auth-page__back { display: inline-flex; align-items: center; justify-content: center; gap: 6px; margin-top: 4px; color: #9aa1ad; font: 700 13px Manrope,sans-serif; transition: color .15s; }
.site-page .auth-page__back:hover { color: #f4f5f7; }
.auth-page__back svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.auth-page__strength { display: flex; gap: 4px; margin-top: 2px; }
.auth-page__strength > span { flex: 1; height: 3px; border-radius: 2px; background: rgba(255,255,255,.1); transition: background .2s; }
.auth-page__strength > span.is-filled { background: var(--strength-color); }
.auth-page__rules { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; margin: 2px 0 0; padding: 0; list-style: none; }
.auth-page__rules li { display: flex; align-items: center; gap: 7px; color: #6b717c; font: 600 12px Manrope,sans-serif; transition: color .2s; }
.auth-page__rules li.is-met { color: #3ddc84; }
.auth-page__rules svg { width: 13px; height: 13px; flex: 0 0 auto; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.auth-page__notice { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; padding: 11px 12px; border-radius: 12px; border: 1px solid rgba(222,23,34,.35); background: rgba(222,23,34,.12); color: #ffb3b8; font: 600 13px/1.45 Manrope,sans-serif; animation: auth-fade .2s ease; overflow-wrap: anywhere; }
.auth-page__notice svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 1px; fill: none; stroke: #ff4b55; stroke-width: 2.2; stroke-linecap: round; }
.auth-page__field-error { color: #ffb3b8; font: 500 12px/1.45 Manrope,sans-serif; }
.auth-page__success { margin: 0 0 16px; padding: 11px 12px; border: 1px solid rgba(61,220,132,.35); border-radius: 12px; background: rgba(61,220,132,.08); color: #a6edc3; font: 500 13px/1.45 Manrope,sans-serif; overflow-wrap: anywhere; animation: auth-fade .25s ease; }
.auth-page__status-icon { width: 60px; height: 60px; display: grid; place-items: center; margin-bottom: 8px; border: 1px solid rgba(222,23,34,.35); border-radius: 50%; background: rgba(222,23,34,.14); box-shadow: 0 0 30px rgba(222,23,34,.25); color: #ff4b55; }
.auth-page__status-icon svg { width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.auth-page__status-icon.is-success { color: #3ddc84; border-color: rgba(61,220,132,.35); background: rgba(61,220,132,.12); box-shadow: 0 0 30px rgba(61,220,132,.2); }
.auth-page__status-icon.is-success svg { stroke-width: 2.6; }
.auth-page__done { padding-bottom: 2px; animation: auth-fade .25s ease; }
.auth-page .front-turnstile-wrap { margin: 0; max-width: 100%; overflow-x: auto; }
.auth-page [data-front-turnstile-error]:empty { display: none; }
.auth-page [data-front-turnstile-error] { color: #ffb3b8; font: 500 12px/1.45 Manrope,sans-serif; }
@keyframes auth-enter { from { opacity: 0; transform: translateY(8px) scale(.98); } to { opacity: 1; transform: none; } }
@keyframes auth-fade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 899px) { .auth-page__card { padding: 24px 20px; } }
@media (prefers-reduced-motion: reduce) { .auth-page, .auth-page *, .auth-page *::before, .auth-page *::after { animation: none !important; transition: none !important; } }
