/* Style général pour toutes les pages */
body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f9;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

h1, h2, h3 {
    color: #5c6bc0;
    text-align: center;
}

p {
    font-size: 1rem;
    margin: 0 0 1.5em;
    text-align: center;
}

.center {
  display: block;
  margin-left: auto;
  margin-right: auto;
  width: 30%;
}

/* Style pour la présentation horizontale des options */
.scale-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}

.scale-container label {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Container centralisé */
.container {
    width: 80%;
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    margin-top: 40px;
}

/* Style pour les formulaires */
form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center; /* Centrer les champs */
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="number"],
select {
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%; /* Par défaut, 100% de l'espace disponible */
    max-width: 400px; /* Limite la largeur à 400px */
}

input[type="radio"] {
    margin-right: 10px;
}

input[type="submit"] {
    background-color: #5c6bc0;
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
    max-width: 200px; /* Limite la taille du bouton de soumission */
}

input[type="submit"]:hover {
    background-color: #3949ab;
}

select {
    padding: 10px;
    max-width: 400px; /* Limite la largeur du select */
}

option {
    font-size: 1rem;
}

/* Disclaimer style */
.disclaimer {
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-bottom: 20px;
}

/* Footer style */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #5c6bc0;
    color: white;
    margin-top: 40px;
}
