/*!
Theme Name: Protect Plan
Template: Divi
Description: Un theme créé par Bleuebuzz
Version: 1.0
Author: Bleuebuzz
Author URI: https://www.bleuebuzz.fr
*/

/* ALL
========================================== */

/* Style global du formulaire Starlight */
.starlight-form {
    /*max-width: 800px;*/
    margin: 0 auto;
}

.form-wrapper {border:solid 1px #e5e5e5; padding: 30px 30px 0 30px; border-radius: 20px;margin-bottom: 20px;background-color: #f7f7f7;}
.title-form {font-size: 18px;font-weight: 600;margin-bottom: 20px;}


/* Organisation des colonnes */
.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    flex: 1;
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    font-size: 0.9em;
}

/* Style des champs de saisie */
.wpcf7-form-control:not(.wpcf7-submit) {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.wpcf7-form-control:focus {
    border-color: #ff0033!important; /* Couleur or/jaune pour rappeler Starlight */
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
    outline: none;
}

/* Style du bouton submit Starlight */
.starlight-form .form-submit {
    text-align: center;
    margin-top: 30px;
}

.starlight-form .wpcf7-submit {
    background-color: #ff0033; /* Noir profond */
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    padding: 18px 45px;
    border: 2px solid #ff0033;
    border-radius: 8px; /* Bord carré pour plus de modernité/luxe */
    cursor: pointer;
    width: auto;
    display: inline-block;
    transition: all 0.5s ease-in;
}

/* Effet au survol (Hover) */
.starlight-form .wpcf7-submit:hover {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
}

/* Style spécifique pour le chargement (quand on clique) */
.wpcf7-spinner {
    display: block;
    margin: 10px auto;
}

/* Adaptabilité mobile */
@media (max-width: 600px) {
    .starlight-form .wpcf7-submit {
        padding: 16px 10px;
    }
    .form-row {
        flex-direction: column;
        gap: 0;
    }
}