/* Shared by login.latte, login-2fa.latte, register.latte, password-reset-request.latte,
   password-reset.latte — all small, similarly-shaped standalone forms. */

.auth-card {
    max-width: 400px;
    margin: 2rem auto;
}

.auth-card--wide {
    max-width: 450px;
}

.auth-card--wider {
    max-width: 600px;
}

.auth-links {
    margin-top: 1rem;
    text-align: center;
}

.auth-links--tight {
    margin-top: 0.5rem;
}

.auth-submit-row {
    margin-top: 1rem;
}

/* 2FA page */
.auth-2fa-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-2fa-icon {
    width: 60px;
    height: 60px;
    background: #9b59b6;
    color: white;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.auth-2fa-header h2 {
    margin: 0 0 0.4rem;
}

.auth-2fa-header p {
    color: #7f8c8d;
    margin: 0;
    font-size: 0.92rem;
}

.auth-flash-error {
    padding: 1rem;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    border-radius: 8px;
    margin-bottom: 1.25rem;
}

.auth-flash-error i {
    margin-right: 0.4rem;
}

.auth-2fa-code-input {
    letter-spacing: 0.2em;
    font-size: 1.4rem;
    text-align: center;
}

.btn-2fa-submit {
    width: 100%;
    justify-content: center;
}

.auth-2fa-back {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.auth-2fa-back i {
    margin-right: 0.3rem;
}
