/* =========================================================
   layout-auth.css — layout для страниц авторизации
   (login, register_invite, forgot_password, reset_password,
    confirm_email)
   ========================================================= */

.page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

/* В auth-разделе .card имеет фиксированную ширину и больший padding,
   чем общая card из base.css — переопределяем здесь. */
.page .card {
    width: 100%;
    max-width: 420px;
    padding: 28px;
}

.title {
    margin: 0 0 8px;
    font-size: 26px;
    font-weight: 700;
    text-align: center;
}

.page .subtitle {
    text-align: center;
}

.submit-btn {
    width: 100%;
    padding: 12px 14px;
    border: 0;
    border-radius: 8px;
    background: #1f6feb;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
}

.submit-btn:hover {
    background: #1558c0;
}

.helper-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
    font-size: 14px;
}

.helper-row a {
    color: #1f6feb;
    text-decoration: none;
}

.helper-row a:hover {
    text-decoration: underline;
}

@media (max-width: 480px) {
    .page .card {
        padding: 22px;
    }
    .title {
        font-size: 22px;
    }
}
