/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background: linear-gradient(135deg, #009CDE, #D71E26);
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 400px;
    background-color: #ffffff;
    color: #000;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    padding: 30px 20px;
    text-align: center;
}

.container .logo {
    display: block; /* Pour pouvoir utiliser margin: auto */
    margin: 0 auto 20px auto; /* Centre le logo horizontalement et ajoute une marge en bas */
    max-width: 150px; /* Définit une largeur maximale, ajustez selon vos besoins */
    height: auto; /* Garde les proportions de l'image */
}


.container h1 {
    font-size: 24px;
    color: #009CDE;
    margin-bottom: 20px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

form label {
    text-align: left;
    font-weight: bold;
    color: #009CDE;
}

form input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

form input:focus {
    border-color: #009CDE;
    box-shadow: 0 0 5px rgba(0, 156, 222, 0.5);
}

form button {
    background-color: #009CDE;
    color: #fff;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #D71E26;
}

#error-message {
    color: #ef4444;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        padding: 20px;
    }

    .container h1 {
        font-size: 20px;
    }
}
