* {
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;

}

body {
    width: 100%;
    background: #c7e1d9;
    margin: 0;
    padding: 0;
}

.container {
    background-color: white;
    border-radius: 30px;
    margin: 100px auto;
    padding: 20px;
    width: 600px;
    max-width: 100%; /* Limite la largeur à 100% de l'écran */
    height: auto; /* Ajuste automatiquement la hauteur */
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

/* Formulaire dans le conteneur */
.container > form {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;

    padding: 30px;
    box-sizing: border-box;
}

/* Labels */
.container > form > label {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    font-size: 17px;
}

/* Champs de saisie */
.container > form > label > input {
    width: 100%;
    outline: none;
    padding: 12px 10px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

/* Bouton de soumission */
.container > form > input[type="submit"] {
    width: 100%; /* Prend toute la largeur sur mobile */
    background-color: #09cdb1;
    color: white;
    border: none;
    border-radius: 30px;
    cursor: pointer;
    padding: 12px;
    box-sizing: border-box;
    transition: background-color 0.3s ease;
}

.container > form > input[type="submit"]:hover {
    background-color: #047469;
}

/* Lien vers inscription */
a {
    text-decoration: none;
    color: #047469;
    font-weight: bold;
    margin-top: 20px;
}

/* Responsive design pour petits écrans */
@media (max-width: 768px) {
    .container {
        margin: 50px 0px;
        padding: 20px;
        width: 100%; 
        height: auto; 
    }

    .container > form {
        padding: 20px;
        gap: 15px; 
    }

    .container > form > input[type="submit"] {
        width: 100%; 
    }
}
