/* Стили для формы смены пароля */
body {
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

.password-reset-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 300px;
    margin-top: 120px; /* Убираем жесткий отступ сверху */
    margin-bottom: auto; /* Чтобы форма располагалась внизу */
    margin-left: auto;
    margin-right: auto;
}

    .password-reset-container h2 {
        margin-bottom: 15px;
        text-align: center;
        font-size: 22px;
        font-weight: bold;
        color: #333;
    }

    .password-reset-container form {
        display: flex;
        flex-direction: column;
    }

    .password-reset-container label {
        display: block;
        margin-bottom: 5px;
        font-weight: bold;
        color: #555;
    }

    .password-reset-container input {
        width: 100%;
        padding: 8px;
        box-sizing: border-box;
        margin-bottom: 15px;
        border: 1px solid #ccc;
        border-radius: 4px;
        font-size: 16px;
        color: #333;
    }

    .password-reset-container button {
        width: 100%;
        padding: 10px;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 4px;
        cursor: pointer;
        font-size: 16px;
    }

        .password-reset-container button:hover {
            background-color: #0056b3;
        }

/* Сообщения об успехе и ошибке */
.message {
    margin-top: 15px;
    padding: 10px;
    border-radius: 4px;
    text-align: center;
}

.success {
    background-color: #d4edda;
    color: #155724;
}

.error {
    background-color: #f8d7da;
    color: #721c24;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .password-reset-container {
        width: 90%; /* Форму можно сделать шире на мобильных устройствах */
        margin-top: 60px;
    }
}
