/* ==================== СТРАНИЦА АВТОРИЗАЦИИ ==================== */
.auth-body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--bg-color) 0%, #e0eafc 100%);
    padding: 20px;
}

body.dark-theme.auth-body {
    background: linear-gradient(135deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
}

.auth-container {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auth-card {
    padding: 40px;
    text-align: center;
}

.auth-header h2 {
    margin: 0;
    font-size: 2rem;
    background: linear-gradient(45deg, var(--primary), var(--info));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-header p {
    margin-top: 5px;
    color: var(--text-color);
    opacity: 0.7;
}

.auth-form {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.input-group {
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

.form-options {
    display: flex;
    justify-content: flex-start;
    font-size: 0.9rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: var(--text-color);
}

.btn-login {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
    margin-top: 10px;
    justify-content: center;
}

.auth-footer {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-color);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Алерты (сообщения) */
.flash-messages {
    margin-bottom: 20px;
}

.alert {
    padding: 10px;
    border-radius: 6px;
    font-size: 0.9rem;
    margin-bottom: 10px;
    border: 1px solid transparent;
}

.alert-error {
    background: rgba(231, 76, 60, 0.1);
    color: var(--danger);
    border-color: var(--danger);
}

.alert-success {
    background: rgba(46, 204, 113, 0.1);
    color: var(--success);
    border-color: var(--success);
}

/* Адаптивность */
@media (max-width: 480px) {
    .auth-card {
        padding: 25px;
    }
}