/* Экран входа и страница ошибки: одна карточка по центру. */

.auth-screen {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 1rem;
}

.auth-card {
    width: 100%;
    max-width: 360px;
    padding: 2.25rem 2rem 2rem;
    background: var(--home-surface);
    border: 1px solid var(--home-border);
    border-radius: var(--home-radius);
    box-shadow: 0 1px 2px rgba(16, 24, 40, .06), 0 12px 32px rgba(16, 24, 40, .08);
}

.auth-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-bottom: 1.75rem;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: -.01em;
}

.auth-card .form-floating > .form-control {
    height: 3.25rem;
    min-height: 3.25rem;
}

.auth-card .form-floating > label {
    color: var(--home-muted);
}

.auth-card .btn {
    width: 100%;
    padding: .7rem;
}

/* Вход через Яндекс — контурная кнопка с логотипом в фирменном цвете */
.btn-yandex {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
}

.yandex-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fc3f1d;
    color: #fff;
    font-weight: 700;
    font-size: .75rem;
    line-height: 1;
}
