
/* Общие настройки */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Цветовая палитра */
:root {
    --primary-color: #2c3e50;
    --secondary-color: #ecf0f1;
    --accent-color: #8d46f6;
    --error-color: #e74c3c;
}

/* Стилизация контейнера авторизации */
.auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    background-color: var(--secondary-color);
}

/* Карточка аутентификации */
.auth-card {
    width: 360px;
    max-width: 100%;
    padding: 30px;
    background-color: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Заголовок карточки */
.auth-title {
    color: var(--primary-color);
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    text-align: center;
}

/* Группы полей */
.field-group {
    margin-bottom: 15px;
}

/* Метки полей */
label {
    display: block;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: bold;
}

/* Поля ввода */
input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    outline: none;
    transition: all 0.3s ease;
}

input[type="email"]:focus,
input[type="password"]:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(var(--accent-color), 0.5);
}

/* Сообщения об ошибках */
.error-message {
    color: var(--error-color);
    font-size: 12px;
    margin-top: 5px;
}

/* Поле "Запомнить меня" */
.remember-me input[type="checkbox"] {
    vertical-align: middle;
    margin-right: 5px;
}

.remember-me{
    align-items: center;
    display: flex;
    justify-content: flex-start;
}

.remember-me label {
    font-size: 14px;
    text-align: center;
    color: var(--primary-color);
}

/* Кнопка входа */
.auth-button {
    width: 100%;
    padding: 10px;
    background-color: var(--accent-color);
    color: white;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.auth-button:hover {
    background-color: white;
    color: #2c3e50;
    border: 2px solid #2c3e50;
}

/* Ссылка восстановления пароля */
.forgot-password {
    display: inline-block;
    float: right;
    margin-top: 10px;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    text-decoration: underline;
}

