/**
 * МОБИЛЬНЫЙ ЛАНДШАФТ - ФИНАЛЬНАЯ КОРРЕКЦИЯ ПРОПОРЦИЙ
 * Страница: index.php (Вход)
 * Описание: Увеличен логотип, форма зафиксирована.
 */

/* 1. СБРОС СТИЛЕЙ */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

:root { 
    --blue: #6366f1; 
    --bg: #f8faff; 
}

body { 
    font-family: 'Montserrat', sans-serif; 
    background: var(--bg); 
    display: flex; 
    flex-direction: row; /* Лого и форма в ряд */
    align-items: center; 
    justify-content: center; 
    min-height: 100vh; 
    padding: 10px 5%; 
    gap: 30px; /* Расстояние между колонками */
    overflow: hidden;
    position: relative;
}

/* Переключатель языков */
.lang-switcher { 
    position: absolute; 
    top: 10px; 
    right: 15px; 
    display: flex; 
    gap: 8px; 
    z-index: 100; 
}

.lang-btn { 
    text-decoration: none; 
    font-weight: 900; 
    color: #475569; 
    padding: 6px 12px; 
    border-radius: 10px; 
    background: #fff; 
    font-size: 11px; 
    box-shadow: 0 2px 8px rgba(0,0,0,0.05); 
}

.lang-btn.active { 
    background: var(--blue); 
    color: white; 
}

/* ЛЕВАЯ КОЛОНКА: ЛОГОТИП (ТЕПЕРЬ КРУПНЕЕ) */
.logo-img { 
    width: 60% !important; /* Увеличили с 25% до 40% */
    max-width: 260px; /* Но не даем раздуться на огромных экранах */
    height: auto; 
    flex-shrink: 0; 
    object-fit: contain;
}

/* ПРАВАЯ КОЛОНКА: КАРТОЧКА ВХОДА */
.login-card { 
    flex: 0 0 420px !important; /* Жестко держим ширину 320 пикселей */
    background: white;
    padding: 25px;
    border-radius: 30px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

/* Форма и поля ввода */
form { 
    display: flex; 
    flex-direction: column; 
    width: 100%; 
}

input { 
    width: 100%; 
    padding: 14px 18px; 
    margin-bottom: 10px; 
    border: 2px solid #e2e8f0; 
    border-radius: 15px; 
    font-size: 15px; 
    font-family: inherit;
    font-weight: 700;
    outline: none;
    transition: 0.3s;
}

input:focus {
    border-color: var(--blue);
    background: #fcfdfe;
}

/* Кнопка входа */
.btn-login { 
    width: 100%; 
    padding: 16px; 
    border: none; 
    border-radius: 15px; 
    background: var(--blue); 
    color: white; 
    font-weight: 900; 
    font-size: 16px; 
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

/* КОПИРАЙТ ВНИЗУ */
.footer-info { 
    position: absolute !important; 
    bottom: 10px !important; 
    left: 0;
    width: 100%;
    text-align: center;
    color: #94a3b8; 
    font-size: 10px; 
    font-weight: 700; 
    display: block !important;
}