/* ========================================
   STYLES POUR LES FORMULAIRES
   ======================================== */

/* Avertissement */
.avertissement {
    background: rgba(255, 193, 7, 0.2);
    border: 2px solid rgba(255, 193, 7, 0.5);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 30px;
    text-align: center;
}

.avertissement p {
    color: rgb(133, 100, 4);
    font-weight: bold;
    margin: 0;
}

/* Formulaire moderne - SANS ENCADRÉS */
.formulaire-moderne {
    max-width: 800px;
    margin: 0 auto;
}

.fieldset-moderne {
    /* Suppression de l'encadré transparent */
    background: none;
    border: 2px solid rgba(143, 12, 99, 0.3);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    backdrop-filter: none;
}

.fieldset-moderne legend {
    background: linear-gradient(135deg, rgb(143, 12, 99), rgb(214, 16, 99));
    color: white;
    padding: 10px 20px;
    border-radius: 15px;
    font-weight: bold;
    font-size: 1.2rem;
    border: none;
}

/* Groupes de formulaire */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: rgb(143, 12, 99);
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(143, 12, 99, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: rgb(143, 12, 99);
    box-shadow: 0 0 10px rgba(143, 12, 99, 0.3);
    background: rgba(255, 255, 255, 1);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

/* Sections de formulaire */
.form-section {
    margin: 25px 0;
}

.form-section h3 {
    color: rgb(143, 12, 99);
    font-size: 1.3rem;
    margin-bottom: 15px;
    border-bottom: 2px solid rgba(192, 204, 28, 0.5);
    padding-bottom: 5px;
}

/* Groupes de cases à cocher et boutons radio */
.checkbox-group,
.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    border-radius: 10px;
    border: 2px solid rgba(143, 12, 99, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    min-width: 150px;
}

.checkbox-item:hover,
.radio-item:hover {
    background: rgba(192, 204, 28, 0.2);
    border-color: rgba(192, 204, 28, 0.5);
    transform: translateY(-2px);
}

.checkbox-item input,
.radio-item input {
    margin-right: 8px;
    width: auto;
    cursor: pointer;
}

.checkbox-item label,
.radio-item label {
    color: rgb(55, 5, 26);
    font-weight: 500;
    cursor: pointer;
    margin: 0;
}

/* Sélecteurs modernes */
.select-groupe {
    margin-top: 10px;
}

.select-moderne {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid rgba(143, 12, 99, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    color: rgb(55, 5, 26);
    transition: all 0.3s ease;
    cursor: pointer;
}

.select-moderne:focus {
    outline: none;
    border-color: rgb(143, 12, 99);
    box-shadow: 0 0 10px rgba(143, 12, 99, 0.3);
}

/* Boutons d'envoi */
.boutons-envoyer {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

.btn-envoyer,
.btn-reset {
    padding: 15px 30px;
    border: 2px solid rgb(55, 5, 26);
    border-radius: 25px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
}

.btn-envoyer {
    background: linear-gradient(135deg, rgba(192, 204, 28, 0.9), rgba(220, 230, 50, 0.9));
    color: rgb(55, 5, 26);
}

.btn-envoyer:hover {
    background: linear-gradient(135deg, rgb(220, 230, 50), rgb(240, 250, 70));
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(143, 12, 99, 0.3);
}

.btn-reset {
    background: rgba(255, 255, 255, 0.8);
    color: rgb(55, 5, 26);
}

.btn-reset:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}