/* ============================================================
   СТИЛИ ТОЛЬКО ДЛЯ СТРАНИЦЫ ВХОДА
   ============================================================ */

/* Переменные */
:root {
    --white-color: #fff;
    --font-body: "Poppins", sans-serif;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ОБЁРТКА ДЛЯ ВСЕЙ СТРАНИЦЫ ВХОДА */
.login-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-family: var(--font-body);
    position: relative;
}

/* КАРТОЧКА ВХОДА (стеклянная) */
.login-card {
    max-width: 340px;  /* ← было 280px, стало 340px как у регистрации */
    width: 100%;
    margin: 0 auto;
    padding: 40px 36px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.login-card h1 {
    font-family: 'Alegreya ExtraBold', 'Rubik', sans-serif;
    font-size: 1.75rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 6px;
    color: rgba(255, 255, 255, 0.8);
}

.login-card .subtitle {
    font-size: 0.875rem;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 28px;
}

/* ПОЛЯ ВВОДА */
.field-group {
    margin-bottom: 16px;
}

/* ЧЕКБОКС И ССЫЛКИ */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    font-size: 0.875rem;
}

.options label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-weight: 400;
}

.options label input[type="checkbox"] {
    accent-color: rgba(255, 255, 255, 0.8);
    width: 18px;
    height: 18px;
    cursor: pointer;
    border-radius: 4px;
}

.options a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    transition: color 0.3s;
    text-decoration: none;
    font-weight: 400;
}

.options a:hover {
    color: #ffffff;
}

/* КНОПКА ВХОДА */
.btn-login {
    width: 100%;
    padding: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 100%);
    color: #1a1a2e;
    font-family: 'Alegreya ExtraBold', var(--font-body, sans-serif);
    font-weight: 800;
    font-size: 1rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.08),
        inset 0 2px 0 rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05);
}

.btn-login:hover {
    background: linear-gradient(180deg, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.85) 100%);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.12),
        inset 0 2px 0 rgba(255, 255, 255, 0.9),
        inset 0 -2px 4px rgba(0, 0, 0, 0.03);
    transform: scale(1.02);
}

.btn-login:active {
    transform: scale(0.98);
    box-shadow: 
        0 2px 8px rgba(0, 0, 0, 0.06),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* ССЫЛКА НА РЕГИСТРАЦИЮ */
.register-link {
    text-align: center;
    margin-top: 24px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

.register-link a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.register-link a:hover {
    color: #ffffff;
}

/* АДАПТИВ ДЛЯ МОБИЛЬНЫХ */
@media (max-width: 480px) {
    .login-card {
        padding: 28px 20px;
        margin: 16px 0;
        max-width: 100%;
    }
    
    .login-card h1 {
        font-size: 1.5rem;
    }
    
    .options {
        flex-wrap: wrap;
        gap: 12px;
    }
}

/* ============================================================
   ОТКЛЮЧАЕМ ЭФФЕКТ НАВЕДЕНИЯ ДЛЯ КАРТОЧКИ ЛОГИНА
   ============================================================ */
.login-card.glass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.8);
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: none;
}