/* Structure de base */
body {
    font-family: Arial, sans-serif;
    background-color: #f7f7f7;
    margin: 0;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #333;
}

h1,
h2 {
    text-align: center;
    color: #01a8f4;
}

form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
}

/* Champs de formulaire */
label {
    display: block;
    margin-top: 1rem;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="number"],
select {
    width: 100%;
    padding: 10px;
    margin-top: 0.3rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    box-sizing: border-box;
    font-size: 14px;
}

small {
    display: block;
    font-size: 11px;
    color: #666;
    margin-top: 0.3rem;
}

/* Cases à cocher intégrées dans les labels */
.checkbox-label {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    font-weight: normal;
    gap: 0.5rem;
}

/* Bouton */
button {
    margin-top: 2rem;
    padding: 12px 20px;
    background-color: #01a8f4;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: #0187c2;
}

/* Engagement section */
form p {
    font-size: 14px;
    background-color: #f0faff;
    border-left: 4px solid #01a8f4;
    padding: 1rem;
    border-radius: 6px;
    margin-top: 1.5rem;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 1rem;
    }

    form {
        padding: 1.2rem;
    }
}