/* =============================================
   FORM.CSS — Override Formidable Pro pour charte LBE
   Préfixe : .frm_forms (Formidable)
   ============================================= */

/* Champs texte, email, tel, textarea, select */
.frm_forms .frm_form_field input[type="text"],
.frm_forms .frm_form_field input[type="email"],
.frm_forms .frm_form_field input[type="tel"],
.frm_forms .frm_form_field input[type="url"],
.frm_forms .frm_form_field textarea,
.frm_forms .frm_form_field select {
    width: 100%;
    padding: 0.65rem 0.85rem;
    font-family: var(--lbe-font);
    font-size: 0.95rem;
    color: var(--lbe-noir);
    background: var(--lbe-blanc);
    border: 1px solid #ccc;
    border-radius: var(--lbe-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.frm_forms .frm_form_field input:focus,
.frm_forms .frm_form_field textarea:focus,
.frm_forms .frm_form_field select:focus {
    outline: none;
    border-color: var(--lbe-turquoise);
    box-shadow: 0 0 0 3px rgba(0, 155, 167, 0.15);
}

/* Labels */
.frm_forms .frm_form_field label.frm_primary_label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--lbe-noir);
    margin-bottom: 0.35rem;
}

/* Bouton submit */
.frm_forms .frm_submit button,
.frm_forms .frm_submit input[type="submit"] {
    display: inline-block;
    padding: 0.75rem 1.75rem;
    background-color: var(--lbe-bleu);
    color: var(--lbe-blanc);
    font-family: var(--lbe-font);
    font-weight: 700;
    font-size: 0.95rem;
    border: 2px solid var(--lbe-bleu);
    border-radius: var(--lbe-radius);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.frm_forms .frm_submit button:hover,
.frm_forms .frm_submit input[type="submit"]:hover {
    background-color: transparent;
    color: var(--lbe-bleu);
}

/* Messages erreur / succès */
.frm_forms .frm_error_style {
    color: #c0392b;
    font-size: 0.85rem;
}

.frm_forms .frm_message {
    background: var(--lbe-turquoise-clair);
    border-left: 4px solid var(--lbe-turquoise);
    color: var(--lbe-noir);
    padding: 1rem;
    border-radius: var(--lbe-radius);
    margin-bottom: 1rem;
}

/* Required asterisk */
.frm_forms .frm_required {
    color: #c0392b;
}
