/* Styles par défaut pour les écrans de bureau */
body {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: Arial, sans-serif;
}

h1 {
    margin-top: 20px;
}

form {
    display: flex;
    flex-wrap: wrap;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    width: 600px; /* Ajustez la largeur selon vos besoins */
}

.form-column {
    flex: 1;
    margin-right: 20px;
}

.form-column:last-child {
    margin-right: 0;
}

label {
    display: block;
    margin-bottom: 8px;
}

input[type="text"] {
    width: 100%;
    padding: 6px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Assure que les éléments ne débordent pas */
}

input[type="submit"] {
    width: 100%;
    padding: 6px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

input[type="submit"]:hover {
    background: #0056b3;
}
button{
    width: 25%;
    padding: 6px;
    background: #007BFF;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}
button:hover{background: #0056b3;
}

/* Media queries pour les écrans mobiles */
@media (max-width: 768px) {
    form {
        width: 100%;
        padding: 10px;
    }

    .form-column {
        flex: 1 1 100%;
        margin-right: 0;
    }

    input[type="text"] {
        margin-bottom: 10px;
    }

    input[type="submit"] {
        margin-top: 10px;
    }
}
