/* --- INSCRIPTION.CSS --- */

#boite {
    max-width: 500px;
    margin: 40px auto;
    background-color: lavender; /* Cohérent avec ton profil */
    padding: 30px;
    border-radius: var(--radius, 10px);
    border: 1px solid #e3d3e8; 
    box-shadow: 0 4px 12px rgba(123, 28, 141, 0.08);
}

#boite h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

/* Organisation des lignes : Label + Input */
.form-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

#boite label {
    width: 130px; /* Largeur fixe pour aligner les inputs verticalement */
    font-weight: 600;
    font-size: 0.9em;
    color: #555;
}

/* Style des champs de saisie */
#boite input:not([type="submit"]):not([type="radio"]) {
    flex: 1;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #fff;
}

/* --- SECTION LANGUES --- */
.form-group-langue {
    display: flex;
    align-items: flex-start;
    margin-top: 10px;
    margin-bottom: 15px;
}

.choix-langues {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.langue-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

#boite input[type="radio"] {
    width: auto !important;
    margin-right: 10px !important;
    flex: none !important;
}

.langue-item label {
    width: auto !important; /* Annule les 130px pour les labels radio */
    font-weight: normal;
    cursor: pointer;
}

/* --- ERREURS ET BOUTON --- */
.red {
    color: var(--couleur-erreur, red);
    font-weight: bold;
    font-size: 0.85em;
    margin-left: 130px; /* Aligné sous l'input */
    margin-bottom: 10px;
}

#inscript_membre {
    width: 100%;
    margin-top: 20px;
    padding: 10px;
    cursor: pointer;
}

/* --- RESPONSIVE --- */
@media (max-width: 500px) {
    #boite { margin: 20px; padding: 20px; }
    .form-group, .form-group-langue { flex-direction: column; align-items: flex-start; }
    #boite label { width: 100%; margin-bottom: 5px; }
    .red { margin-left: 0; }
}
