.auth-page .auth-card { min-width: 0; }
.auth-page .auth-card form { position: relative; }
.auth-page .auth-card .form-message { margin-top: 18px; margin-bottom: 6px; }
.auth-page .auth-password-help { margin: -4px 0 18px; text-align: right; font-size: 13px; }
.auth-page .auth-password-help a { color: #d52d43; }
.auth-page .auth-login-options { margin: 13px 0 4px; display: flex; align-items: center; justify-content: space-between; gap: 18px; color: #6d7788; font-size: 12px; }
.auth-page .auth-login-options label { display: flex; align-items: center; gap: 7px; cursor: pointer; }
.auth-page .auth-login-options input { width: 15px; height: 15px; margin: 0; accent-color: #e93245; }
.auth-page .auth-login-options a { color: #d52d43; }
.auth-page .auth-methods { display: flex; gap: 6px; align-items: stretch; padding: 5px; margin: 20px 0 25px; border: 1px solid #e5e8ee; border-radius: 12px; background: #f6f7fa; }
.auth-page .auth-methods > * { flex: 1; padding: 11px 8px; border-radius: 8px; font-size: 13px; text-align: center; color: #657086; }
.auth-page .auth-methods [aria-current] { background: white; color: #d52d43; font-weight: 700; box-shadow: 0 3px 12px #1720330a; }
.auth-page .auth-methods > span { color: #929baa; font-size: 12px; }
.auth-page .auth-code-row { display: flex; gap: 10px; min-width: 0; }
.auth-page .auth-code-row input { min-width: 0; flex: 1; }
.auth-page .auth-code-row button { flex: 0 0 116px; border: 1px solid #e6c3ca; background: #fff4f6; color: #bd3045; border-radius: 9px; padding: 0 12px; font: inherit; font-size: 12px; cursor: pointer; }
.auth-page .auth-code-row button:disabled { color: #8a93a3; background: #f4f5f7; border-color: #e3e6eb; cursor: default; }
.auth-page .auth-code-status { font-size: 12px; line-height: 1.8; color: #63738a; margin: -8px 0 18px; }
.auth-page .auth-code-status.is-error { color: #c42e43; }
.auth-page .auth-code-status.is-success { color: #19734f; }
.auth-page .auth-code-status.has-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; }
.auth-page .auth-code-status.has-actions a { color: #ed2f45; font-weight: 700; text-decoration: none; }
.auth-page .auth-code-status.has-actions a:hover { text-decoration: underline; }
.auth-page .auth-password-input, .auth-page .auth-phone-input { position: relative; display: flex; align-items: center; min-width: 0; }
.auth-page .auth-password-input input { padding-right: 54px; }
.auth-page .auth-password-input button { position: absolute; right: 6px; top: 6px; bottom: 6px; width: 40px; padding: 0; display: grid; place-items: center; color: #697487; background: transparent; border: 0; border-radius: 7px; cursor: pointer; }
.auth-page .auth-password-input button:hover { background: #fff2f4; }
.auth-page .auth-password-input button svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.auth-page .auth-password-input .auth-eye-closed, .auth-page .auth-password-input button.is-visible .auth-eye-open { display: none; }
.auth-page .auth-password-input button.is-visible .auth-eye-closed { display: block; }
.auth-page .auth-phone-input b { height: 50px; padding: 0 13px; display: grid; place-items: center; color: #526077; background: #f5f7fa; border: 1px solid #dfe3e9; border-right: 0; border-radius: 10px 0 0 10px; font-size: 13px; }
.auth-page .auth-phone-input input { min-width: 0; border-radius: 0 10px 10px 0; }
.auth-page .auth-field-hint, .auth-page .auth-field-error, .auth-page .auth-caps-warning { min-height: 17px; color: #8892a2; font-size: 11px; line-height: 1.55; }
.auth-page .auth-field-error, .auth-page .auth-caps-warning { color: #c52c43; }
.auth-page .auth-field-error:empty { min-height: 0; }
.auth-page .form-field.has-error input, .auth-page .auth-consent.has-error { border-color: #df5164; }
.auth-page .auth-password-rules { display: flex; flex-wrap: wrap; gap: 6px 13px; margin: 0; padding: 0; color: #929baa; list-style: none; font-size: 11px; }
.auth-page .auth-password-rules li::before { content: '○'; margin-right: 4px; }
.auth-page .auth-password-rules li.is-valid { color: #1d8059; }
.auth-page .auth-password-rules li.is-valid::before { content: '✓'; }
.auth-page .auth-consent { margin-top: 19px; display: flex; align-items: flex-start; gap: 9px; color: #5e6879; cursor: pointer; font-size: 12px; line-height: 1.6; }
.auth-page .auth-consent input { width: 16px; height: 16px; margin: 2px 0 0; flex: 0 0 auto; accent-color: #e93245; }
.auth-page .auth-consent-error { display: block; margin: 4px 0 0 25px; }
.auth-page .auth-consent-details { margin: 8px 0 0 25px; color: #8a93a2; font-size: 11px; line-height: 1.7; }
.auth-page .auth-consent-details summary { width: fit-content; color: #687489; cursor: pointer; }
.auth-page .auth-consent-details p { margin: 7px 0 0; padding: 10px 12px; background: #f7f8fa; border-radius: 8px; }
.auth-page .auth-submit:disabled { cursor: wait; opacity: .72; }
.auth-page input:-webkit-autofill, .auth-page input:-webkit-autofill:hover, .auth-page input:-webkit-autofill:focus { -webkit-text-fill-color: #172033; box-shadow: 0 0 0 1000px #fff inset; transition: background-color 9999s ease-out 0s; }
.auth-page .form-field input[aria-invalid="true"] { border-color: #df5164; }
.auth-register-page .auth-shell { padding-top: 42px; padding-bottom: 54px; }
.auth-register-page .auth-card { padding-top: 32px; padding-bottom: 30px; }
.auth-page a:focus-visible, .auth-page button:focus-visible { outline: 2px solid #e93245; outline-offset: 3px; }
.account-settings-shell { width: min(1050px, calc(100% - 40px)); margin: 36px auto 70px; }
.account-settings-shell h1 { font-size: 32px; margin: 0 0 12px; }
.account-settings-shell > p { color: #788598; font-size: 14px; line-height: 1.8; }
.account-settings-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; margin-top: 26px; }
.account-settings-card { padding: 28px; border: 1px solid #e1e6ee; border-radius: 18px; background: white; }
.account-settings-card h2 { font-size: 21px; margin: 0 0 12px; }
.account-settings-card p, .account-settings-card small { font-size: 12px; color: #778499; line-height: 1.8; }
.account-settings-card .form-field { margin-top: 16px; }
.account-settings-card select { width: 100%; min-height: 50px; padding: 0 14px; font: inherit; font-size: 14px; color: #24334b; background: #fff; border: 1px solid #e1e6ee; border-radius: 10px; }
.account-settings-card .account-enable { display: flex; gap: 10px; align-items: center; margin: 20px 0; font-size: 14px; }
.account-settings-card .account-enable input { width: 16px; height: 16px; }
@media(max-width: 760px) { .auth-page .auth-shell { min-height: auto; padding-top: 28px; padding-bottom: calc(56px + env(safe-area-inset-bottom)); } .auth-page .auth-intro { display: none; } .auth-page .auth-card { width: 100%; box-sizing: border-box; } .auth-page .auth-methods { margin-top: 18px; margin-bottom: 20px; } .auth-page .form-field input { font-size: 16px; } .account-settings-grid { grid-template-columns: 1fr; } .account-settings-card { padding: 22px; } }
@media(max-width: 420px) { .auth-page .auth-code-row button { flex-basis: 104px; padding: 0 8px; } .auth-page .auth-consent { font-size: 11px; } }
