/* Styles de base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f0f0;
    background-image: url("/images/mer1.jpg");
    background-size: cover; /* S'assure que l'image couvre toute la page */
    background-repeat: no-repeat; /* Empêche la répétition de l'image */
    background-position: center; /* Centre l'image */
    height: 100%; /* Assurer que le body prend toute la hauteur de la page */
    flex-direction: column;
}


.container {
    display: flex;
    padding-top: 5rem;
    align-items: flex-start;
    justify-content: center;
    height: calc(100vh - 6rem); /* Hauteur ajustée pour éviter le débordement */
    box-sizing: border-box; /* Inclure les paddings et les bordures dans la hauteur */
}

.reset-box {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 400px;
    width: 100%;
    text-align: center;
}

h2 {
    margin-bottom: 20px;
    color: #1e3c72;
}

.success-message {
    color: green;
    margin-bottom: 20px;
}

.error-message {
    color: red;
    margin-bottom: 20px;
}

label {
    display: block;
    text-align: left;
    margin-bottom: 5px;
    color: #333;
}

input[type="email"] {
    width: calc(100% - 20px);
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

input[type="submit"] {
    background-color: #1e3c72;
    color: #fff;
    border: 1px solid #1e3c72;
    padding: 10px 20px;
    font-size: 1rem; /* Assurer une taille de police uniforme */
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s, color 0.3s;
}

input[type="submit"]:hover {
    background-color: #fff;
    color: #1e3c72;
}