.auth-page {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 24px;
    background: radial-gradient(circle at 10% 10%, #fff 0, #f6f8fb 36%, #edf2f7 100%);
    color: #203047;
}
.auth-shell { max-width: 1060px; margin: 0 auto; }
.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-height: 62px;
}
.auth-logo { display: block; width: 170px; max-width: 42vw; height: auto; }
.auth-language { color: #526178; font-size: 14px; white-space: nowrap; }
.auth-language a { margin-left: 5px; color: #a92439; font-weight: 700; text-decoration: none; }
.auth-language a:hover { text-decoration: underline; }
.auth-main { display: flex; align-items: center; justify-content: center; min-height: calc(100dvh - 134px); padding: 32px 0; }
.auth-card {
    width: 100%;
    max-width: 440px;
    padding: clamp(28px, 5vw, 44px);
    border: 1px solid #e6ebf1;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(28, 48, 75, .09);
}
.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 26px;
    padding: 7px 11px;
    border-radius: 8px;
    background: #fff1f3;
    color: #a92439;
    font-size: 13px;
    font-weight: 700;
}
.auth-brand img { width: 20px; height: 20px; object-fit: contain; }
.auth-title { margin: 0 0 16px; color: #1d304a; font-size: clamp(26px, 3vw, 32px); font-weight: 700; line-height: 1.25; }
.auth-subtitle { margin: 0 0 28px; color: #66758a; font-size: 15px; }
.auth-label { display: block; margin-bottom: 8px; color: #263a55; font-size: 14px; font-weight: 600; }
.auth-field { margin-bottom: 20px; }
.auth-input {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid #d5deea;
    border-radius: 9px;
    background: #fff;
    color: #203047;
    font-size: 15px;
    transition: border-color .15s, box-shadow .15s;
}
.auth-input::placeholder { color: #8794a6; }
.auth-input:focus { border-color: #a92439; outline: none; box-shadow: 0 0 0 3px rgba(169, 36, 57, .12); }
.auth-password { display: flex; }
.auth-password .auth-input { border-radius: 9px 0 0 9px; }
.auth-show-password {
    width: 48px;
    flex: 0 0 48px;
    border: 1px solid #d5deea;
    border-left: 0;
    border-radius: 0 9px 9px 0;
    background: #fff;
    color: #53647c;
    cursor: pointer;
}
.auth-show-password:hover { background: #f7f9fc; }
.auth-remember { display: flex; align-items: center; gap: 9px; margin: 2px 0 24px; color: #53647c; font-size: 14px; cursor: pointer; }
.auth-remember input { margin: 0; accent-color: #a92439; }
.auth-submit {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 9px;
    background: #ae2b40;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: background .15s, transform .15s;
}
.auth-submit:hover { background: #922035; }
.auth-submit:active { transform: translateY(1px); }
.auth-submit:focus-visible, .auth-show-password:focus-visible, .auth-language a:focus-visible, .auth-help:focus-visible { outline: 3px solid rgba(169, 36, 57, .35); outline-offset: 2px; }
.auth-submit[disabled] { cursor: wait; opacity: .8; }
.auth-help { display: block; margin-top: 26px; color: #65758a; font-size: 13px; text-align: center; text-decoration: none; }
.auth-help strong { color: #a92439; font-weight: 700; }
.auth-help:hover { text-decoration: underline; }
.auth-error { margin-bottom: 20px; padding: 12px 14px; border-radius: 9px; background: #fff0f1; color: #9c2035; font-size: 14px; }
.auth-otp { text-align: center; font-size: 22px; font-weight: 600; letter-spacing: .2em; }
.auth-otp::placeholder { font-size: 15px; font-weight: 400; letter-spacing: normal; }
.auth-captcha { margin-bottom: 20px; }
@media (max-width: 520px) {
    .auth-page { padding: 18px 16px 28px; background: #fff; }
    .auth-header { align-items: flex-start; }
    .auth-logo { width: 140px; }
    .auth-language { padding-top: 7px; font-size: 12px; }
    .auth-main { min-height: 0; padding: 46px 0 0; align-items: flex-start; }
    .auth-card { max-width: none; padding: 0; border: 0; border-radius: 0; box-shadow: none; }
}
@media (max-width: 360px) {
    .auth-captcha > div { height: 70px; transform: scale(.9); transform-origin: top left; }
}
@media (prefers-reduced-motion: reduce) {
    .auth-input, .auth-submit { transition: none; }
}
