/* Общие стили для страницы */
body {
    font-family: Arial, sans-serif;
    background-color: #f0f4f8;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
}

/* Форма */
.login-container {
    background-color: #ffffff;
    padding: 20px 25px;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    width: 100%;
    max-width: 400px;
}

/* Заголовок */
.login-container h1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 24px;
}

/* Поля ввода */
.login-container input[type="email"],
.login-container input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}


.login-container input[type="email"]:focus,
.login-container input[type="password"]:focus {
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
    outline: none;
}


/* Кнопка */
.login-container button {
    width: 100%;
    padding: 10px;
    border: none;
    border-radius: 8px;
    background-color: #007bff;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background-color 0.3s, box-shadow 0.3s;
    margin-top: 5px;
}

.login-container button:hover {
    background-color: #0056b3;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Ссылки и чекбокс */
.login-container .form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    margin-bottom: 15px;
}

.login-container .form-footer a {
    color: #007bff;
    text-decoration: none;
}

.login-container .form-footer a:hover {
    text-decoration: underline;
}

/* Ошибки */
.login-container .error {
    background-color: #ffdddd;
    color: #a70000;
    padding: 10px;
    border-radius: 6px;
    margin-bottom: 15px;
    font-size: 13px;
}

/* Группы полей */
.form-group {
    margin-bottom: 15px;
}
/* Лейблы */
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    color: #333;
}

/* Чекбокс */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
}

/* Форма футер */
.form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

*, *::before, *::after {
    box-sizing: border-box;
}
