/*
Theme Name: Custom Danid
Template: twentytwentyfour
*/


/* Style global pour le formulaire */
.cf7 {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

/* Style pour les paragraphes */
.cf7 p {
    margin-bottom: 20px;
}

/* Style pour les labels */
.cf7 label {
    font-weight: bold;
    margin-bottom: 5px;
    display: block;
    color: #333;
    width: 100%;
    box-sizing: border-box;
}

/* Style pour les champs de texte et de courriel */
.cf7 input[type="text"],
.cf7 input[type="email"],
.cf7 textarea {
    box-sizing: border-box;
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
    background: #fff;
}

/* Style pour les champs de texte et de courriel en focus */
.cf7 input[type="text"]:focus,
.cf7 input[type="email"]:focus,
.cf7 textarea:focus {
    border-color: #a0d2eb;
    outline: none;
    box-shadow: 0 0 5px rgba(160, 210, 235, 0.5);
}

/* Style pour le bouton de soumission */
.cf7 input[type="submit"] {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s ease;
}

.cf7 input[type="submit"]:hover {
    background: #005f8d;
}

/* Style pour les messages d'erreur et de succès */
.wpcf7-response-output {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid;
    border-radius: 5px;
    font-size: 14px;
}

/* Message de succès */
.wpcf7-mail-sent-ok {
    border-color: #46b450;
    background: #dff0d8;
    color: #3c763d;
}

/* Message d'erreur */
.wpcf7-mail-sent-ng {
    border-color: #dc3232;
    background: #f2dede;
    color: #a94442;
}

/* Message d'avertissement */
.wpcf7-validation-errors {
    border-color: #ffba00;
    background: #fcf8e3;
    color: #8a6d3b;
}

/* Message d'attente */
.wpcf7-spam-blocked {
    border-color: #ffba00;
    background: #fcf8e3;
    color: #8a6d3b;
}

/* Style pour le groupe de champs conditionnels */
.wpcf7cf-group {
    display: none; /* Masqué par défaut, géré par JavaScript */
}

/* Style pour le champ de sélection des commandes */
.cf7 select {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1);
    font-size: 14px;
    color: #333;
    background: #fff;
}



/* Médias queries pour masquer le texte sur les appareils mobiles */
@media (max-width: 768px) {
    .current-user-container {
        display: none; /* Masquer le texte sur les écrans de taille 768px ou moins */
    }
}
