.auth-page {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 48px;
    padding-bottom: 80px;
}

.auth-card {
    width: 100%;
    max-width: 420px;
    padding: 32px;
    background: var(--bg-glass);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.auth-card h1 {
    font-size: 28px;
    margin: var(--page-title-margin-top, 24px) 0 8px;
}

.auth-card__lead {
    color: var(--text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}

.auth-card__error {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(255, 100, 100, 0.1);
    color: #ff9b9b;
    font-size: 14px;
}

.auth-card__success {
    margin-bottom: 16px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: rgba(76, 175, 120, 0.12);
    color: #8debb0;
    font-size: 14px;
}

.auth-form__code {
    letter-spacing: 0.3em;
    text-align: center;
    font-size: 24px;
    font-weight: 700;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.auth-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.auth-form__field span {
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-form__field input,
.auth-form__field textarea,
.auth-form__field select {
    width: 100%;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
}

.auth-form__field input:focus,
.auth-form__field textarea:focus,
.auth-form__field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(94, 72, 249, 0.15);
}

.auth-form__consent {
    width: 100%;
    margin: 8px 0 12px;
    padding: 6px 0;
    align-items: center;
    min-height: 44px;
}

.auth-form__consent .form-check__box {
    width: 24px;
    height: 24px;
    margin-top: 0;
    border-radius: 6px;
}

.auth-form__consent .form-check__box::after {
    width: 6px;
    height: 10px;
}

.auth-form__consent .form-check__text a {
    color: var(--accent-light);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.auth-card__footer {
    margin-top: 20px;
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
}

.auth-card__footer a {
    color: var(--accent-light);
}

.auth-telegram {
    margin-top: 8px;
}

.auth-telegram__divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0 16px;
    color: var(--text-muted);
    font-size: 13px;
}

.auth-telegram__divider::before,
.auth-telegram__divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-telegram__widget {
    display: flex;
    justify-content: center;
    min-height: 44px;
}

.auth-telegram__note {
    margin: 12px 0 0;
    font-size: 12px;
    line-height: 1.45;
    color: var(--text-muted);
    text-align: center;
}

.auth-telegram__note a {
    color: var(--accent-light);
}
