html {
    height: 100%;
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(90deg, #4a90e2, #7fb3f1); /* Светлый синий градиент */
    font-family: "Montserrat", sans-serif;
}

.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100%;
}

.auth-form {
    background-color: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    width: 300px;
    text-align: center;
}

.auth-form h2 {
    margin-bottom: 20px;
    color: #333;
}

.auth-form label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    color: #555;
}

.auth-form input[type="tel"], .auth-form input[type="text"] {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.auth-form input[type="submit"], button {
    width: 100%;
    background-color: #3498db; /* Более светлый синий цвет кнопки */
    color: white; /* Цвет текста на кнопке */
    border: none; /* Убираем рамку */
    border-radius: 5px; /* Закругление углов кнопки */
    padding: 10px 20px; /* Отступы кнопки */
    font-size: 16px; /* Размер шрифта кнопки */
    cursor: pointer; /* Указатель при наведении */
    transition: background-color 0.3s; /* Плавный переход */
}

.auth-form input[type="submit"]:hover, button:hover {
    background-color: #2980b9;
}

#result {
    margin-top: 15px
}

/* Основные стили для блока результата */
.result {
    margin-top: 20px;
    padding: 15px;
    border-radius: 8px;
    font-size: 16px;
    font-family: Arial, sans-serif;
    font-weight: 500;
    text-align: center;
    display: none; /* Скрываем блок по умолчанию */
}

/* Стили для успешного сообщения */
.result.success {
    background-color: #d4edda; /* Светло-зеленый фон */
    border: 1px solid #c3e6cb; /* Окантовка */
    color: #155724; /* Тёмно-зеленый текст */
}

/* Стили для сообщения об ошибке */
.result.error {
    background-color: #f8d7da; /* Светло-красный фон */
    border: 1px solid #f5c6cb; /* Окантовка */
    color: #721c24; /* Тёмно-красный текст */
}

/* Переход для плавного появления/исчезновения */
.result.hidden {
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.result.visible {
    display: block;
    opacity: 1;
    transition: opacity 0.5s ease;
}

#password-container {
    display: flex; /* Горизонтальное выравнивание */
    gap: 10px; /* Отступы между ячейками */
    justify-content: center; /* Центрирование */
}

.password-input {
    width: 50px !important; /* Ширина ячейки */
    height: 50px !important;; /* Высота ячейки */
    font-size: 24px; /* Размер шрифта */
    text-align: center; /* Центрирование текста */
    border: 2px solid #ccc; /* Рамка */
    border-radius: 8px; /* Закругление углов */
    background-color: #f0f0f0; /* Цвет фона */
    transition: border-color 0.3s, box-shadow 0.3s; /* Плавный переход для эффектов */
}

.password-input:focus {
    outline: none; /* Убираем обводку при фокусе */
    border-color: #3498db; /* Цвет рамки при фокусе */
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.5); /* Тень при фокусе */
}


#closeWindow {
    margin-top: 15px;
}
