.elementor-widget .tippy-tooltip .tippy-content{text-align:center;}/* Start custom CSS for wpforms, class: .elementor-element-ed47efc *//**********************************************************
  POWER RECHARGE – FORMULAIRE FIN DE CHANTIER (WPForms)
  Design premium, mobile first
**********************************************************/

/* === CONTAINER GLOBAL === */
body .wpforms-container.wpforms-container-full {
    max-width: 960px !important;
    margin: 40px auto 60px !important;
    padding: 0 16px !important;
}

body .wpforms-form {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 22px 32px;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18);
    position: relative;
    overflow: hidden;
}

/* Barre verte de marque en haut du formulaire */
body .wpforms-form::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    height: 6px;
    width: 100%;
    background: linear-gradient(90deg,#1abc9c,#27ae60);
}

/* === TITRE + DESCRIPTION DU FORMULAIRE === */
.wpforms-title {
    font-size: 26px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    text-align: left !important;
    color: #111827 !important;
}

.wpforms-description {
    font-size: 14px !important;
    color: #6b7280 !important;
    margin-bottom: 24px !important;
}

/* === CHAMPS GLOBAUX === */
.wpforms-field {
    margin-bottom: 22px !important;
}

.wpforms-field label.wpforms-field-label {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #1f2933 !important;
    margin-bottom: 6px !important;
}

/* Sous-label (ex: "Prénom", "Nom") */
.wpforms-field .wpforms-field-sublabel {
    font-size: 13px !important;
    color: #9ca3af !important;
}

/* Inputs classiques */
.wpforms-field input,
.wpforms-field select,
.wpforms-field textarea {
    width: 100% !important;
    padding: 13px 14px !important;
    border-radius: 10px !important;
    border: 1px solid #d1d5db !important;
    font-size: 15px !important;
    color: #111827 !important;
    background-color: #f9fafb !important;
    transition: all 0.18s ease;
}

/* Focus élégant */
.wpforms-field input:focus,
.wpforms-field select:focus,
.wpforms-field textarea:focus {
    outline: none !important;
    border-color: #22c55e !important;
    box-shadow: 0 0 0 1px #22c55e33 !important;
    background-color: #ffffff !important;
}

/* === PLACEHOLDERS === */
.wpforms-field input::placeholder,
.wpforms-field textarea::placeholder {
    color: #9ca3af !important;
    font-size: 14px !important;
}

/* === TEXTE HTML / SÉPARATEURS (les points noirs) === */
.wpforms-field-html p {
    margin: 0 !important;
    padding: 0 !important;
}

.wpforms-field-html p:empty,
.wpforms-field-html p:only-child {
    display: none !important;
}

/* === LAYOUT EN COLONNES OPTIONNEL === */
/* Pour mettre certains groupes en 2 colonnes :
   - dans WPForms, ajoute la classe CSS "pr-two-cols" au conteneur (Section / Page break)
*/
@media (min-width: 768px) {
    .pr-two-cols .wpforms-field {
        width: calc(50% - 10px);
        float: left;
    }

    .pr-two-cols .wpforms-field:nth-child(odd) {
        margin-right: 20px;
    }

    .pr-two-cols::after {
        content: "";
        display: block;
        clear: both;
    }
}

/* === BLOCS / SECTIONS (Section Divider avec classe "pr-section") === */
.pr-section .wpforms-field-label {
    font-size: 18px !important;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #6b7280 !important;
    margin: 28px 0 10px !important;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 6px;
}

/* === CHAMPS UPLOAD (PHOTOS, DOCS, etc.) === */
.wpforms-field-file-upload .wpforms-uploader {
    border: 2px dashed #22c55e !important;
    border-radius: 14px !important;
    background: #f0fdf4 !important;
    padding: 18px 16px !important;
    text-align: center;
}

.wpforms-field-file-upload .wpforms-uploader span {
    color: #166534 !important;
    font-size: 14px !important;
}

.wpforms-field-file-upload .wpforms-field-label {
    display: block;
    margin-bottom: 10px !important;
}

.wpforms-field-file-upload input[type="file"] {
    font-size: 14px !important;
}

/* Zone de dépôt multiple (drag & drop) */
.wpforms-uploader .dz-default.dz-message {
    font-size: 14px !important;
    color: #4b5563 !important;
}

/* === SIGNATURE CLIENT / TECHNICIEN === */

/* Conteneur global de la signature */
.wpforms-field-signature .wpforms-signature-container,
div[class*="wpforms-field-signature"] .wpforms-signature-container {
    border: 2px solid #D1D5DB !important;
    border-radius: 14px !important;
    padding: 15px 18px !important;
    background: #F9FAFB !important;
    margin-top: 8px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.08) !important;
}

/* Canvas / zone de signature */
.wpforms-field-signature canvas,
div[class*="wpforms-field-signature"] canvas,
.wpforms-signature-canvas {
    border: 1px solid #9CA3AF !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    width: 100% !important;
    height: 180px !important;
    display: block !important;
}

/* Lien Effacer / texte sous la signature */
.wpforms-signature-clear {
    margin-top: 8px !important;
    font-size: 12px !important;
    color: #6b7280 !important;
}

/* === COMMENTAIRES / TEXTAREA === */
.wpforms-field textarea {
    min-height: 96px !important;
    resize: vertical !important;
}

/* === BOUTON ENVOYER === */
.wpforms-submit-container {
    margin-top: 10px !important;
    text-align: right !important;
}

.wpforms-submit-container button,
.wpforms-submit-container input[type="submit"] {
    background: linear-gradient(135deg,#22c55e,#16a34a) !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 13px 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    box-shadow: 0 14px 30px rgba(22, 163, 74, 0.35);
    cursor: pointer !important;
    transition: all 0.18s ease;
}

.wpforms-submit-container button:hover,
.wpforms-submit-container input[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 40px rgba(21, 128, 61, 0.45);
}

/* === MESSAGES DE VALIDATION / ERREUR === */
.wpforms-error-container,
.wpforms-confirmation-container-full {
    border-radius: 12px !important;
    padding: 12px 14px !important;
    margin-top: 12px !important;
    font-size: 14px !important;
}

.wpforms-error-container {
    background: #fef2f2 !important;
    border: 1px solid #fecaca !important;
    color: #b91c1c !important;
}

.wpforms-confirmation-container-full {
    background: #ecfdf3 !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
}

/* === MOBILE SPACING === */
@media (max-width: 480px) {
    body .wpforms-form {
        padding: 22px 16px 24px;
        border-radius: 16px;
    }

    .wpforms-title {
        font-size: 22px !important;
    }

    /* Signature un peu plus basse sur mobile */
    .wpforms-field-signature canvas,
    div[class*="wpforms-field-signature"] canvas,
    .wpforms-signature-canvas {
        height: 150px !important;
    }
}
/* Masquer le petit bandeau gris sous les champs Upload */
#wpforms-3165-field_13-container .wpforms-field-sublabel,
#wpforms-3165-field_10-container .wpforms-field-sublabel,
#wpforms-3165-field_9-container .wpforms-field-sublabel {
    display: none !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    visibility: hidden !important;
}/* End custom CSS */