/**
 * Файл: css/auth.css
 * Назначение: Стили для страниц авторизации и регистрации
 * Содержит: Карточки входа/регистрации, формы
 * Зависимости: main.css, components.css
 * Подключается: login.php, register.php, forgot-password.php, reset-password.php
 */

/* ========== КОНТЕЙНЕРЫ ========== */
.login-container,
.register-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem;
}

/* ========== КАРТОЧКИ ========== */
.login-card,
.register-card,
.forgot-container,
.reset-container {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(12px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    max-width: 500px;
    width: 100%;
    animation: fadeInUp 0.5s ease;
    padding: 30px;
}

/* ========== ЗАГОЛОВКИ КАРТОЧЕК ========== */
.card-header {
    padding: 0 0 1.5rem 0;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.card-header h1 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.card-header p {
    color: rgba(255, 255, 255, 0.8);
}

.card-body {
    padding: 2rem 0 0 0;
}

/* ========== ФУТЕР КАРТОЧЕК ========== */
.auth-footer {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.auth-footer a {
    color: #ffd966;
    text-decoration: none;
}

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

/* ========== ЗВЁЗДНЫЙ РЕЙТИНГ ========== */
.rating-stars {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin: 15px 0;
}

.star {
    font-size: 2rem;
    cursor: pointer;
    color: #333;
    transition: color 0.2s;
}

.star:hover,
.star.active {
    color: #ffd966;
}

/* ========== АДАПТИВ ========== */
@media (max-width: 768px) {
    .login-card,
    .register-card,
    .forgot-container,
    .reset-container {
        padding: 20px;
    }
    
    .card-header h1 {
        font-size: 1.4rem;
    }
    
    .star {
        font-size: 1.5rem;
    }
}