/* Styles généraux */
html, body {
    font-family: Arial, sans-serif;
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
}

/* En-tête */
header {
    background-color: #4CAF50;
    color: white;
    padding: 20px;
    text-align: center;
    width: 100%;
}

/* Contenu principal */
main {
    flex: 1; /* Prend tout l'espace disponible */
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* Formulaire */
form {
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    padding: 25px;
    width: 90%;
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Conteneur pour chaque champ */
form div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

/* Labels */
form label {
    font-weight: bold;
    margin-bottom: 5px;
}

/* Champs de saisie et sélections */
form input,
form select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

/* Fichiers */
input[type="file"] {
    padding: 8px;
    border: none;
}

/* Boutons */
form button {
    width: 100%;
    background-color: #4CAF50;
    color: white;
    padding: 12px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

form button:hover {
    background-color: #45a049;
}
/* Centrage du popup */
.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup.hidden {
    display: none;
}

.popup-content {
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 600px;
    width: 90%;
    text-align: center;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}
.popup-content h3 {
    margin-bottom: 20px;
}

.popup-content #cguText {
    max-height: 300px;
    overflow-y: auto;
    text-align: left;
    margin-bottom: 20px;
}

.popup-content button {
    background-color: #4CAF50;
    color: white;
    padding: 10px 15px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    font-size: 16px;
}
.popup-content button:hover {
    background-color: #45a049;
}

/* Pied de page bien positionné */
footer {
    text-align: center;
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    position: relative;
}

