.elementor-widget-heading .elementor-heading-title{font-family:var( --e-global-typography-primary-font-family ), Sans-serif;font-weight:var( --e-global-typography-primary-font-weight );color:var( --e-global-color-primary );}.elementor-34 .elementor-element.elementor-element-44047963{width:var( --container-widget-width, 107.799% );max-width:107.799%;padding:0px 0px 0px 0px;--container-widget-width:107.799%;--container-widget-flex-grow:0;text-align:start;}.elementor-34 .elementor-element.elementor-element-44047963.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-34 .elementor-element.elementor-element-44047963 .elementor-heading-title{font-family:"Nunito Sans", Sans-serif;font-size:24px;font-weight:700;line-height:29px;color:#152233;}.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}.elementor-34 .elementor-element.elementor-element-3a5c8931{width:var( --container-widget-width, 100% );max-width:100%;margin:13px 0px calc(var(--kit-widget-spacing, 0px) + -70px) 5px;--container-widget-width:100%;--container-widget-flex-grow:0;text-align:start;font-family:"Nunito Sans", Sans-serif;font-size:16px;font-weight:400;color:#152233;}.elementor-34 .elementor-element.elementor-element-3a5c8931.elementor-element{--flex-grow:0;--flex-shrink:0;}.elementor-34 .elementor-element.elementor-element-1f6ec415{width:var( --container-widget-width, 100% );max-width:100%;--container-widget-width:100%;--container-widget-flex-grow:0;}.elementor-34 .elementor-element.elementor-element-1f6ec415 > .elementor-widget-container{margin:0px 0px 0px 0px;padding:0px 0px 0px 0px;}.elementor-34 .elementor-element.elementor-element-1f6ec415.elementor-element{--align-self:center;}.elementor-34 .elementor-element.elementor-element-168655f4.elementor-element{--align-self:center;}.elementor-34 .elementor-element.elementor-element-168655f4{font-family:"Nunito Sans", Sans-serif;font-size:16px;font-weight:400;}/* Start custom CSS for wpforms, class: .elementor-element-1f6ec415 *//* ============================================
   CHAMP OTP STYLE LEBONCOIN - WPFORMS
   Version fonctionnelle avec saisie
   ============================================ */

/* --- 1. Conteneur du champ --- */
#wpforms-54-field_1-container {
    position: relative !important;
    margin-bottom: 25px !important;
    min-height: 110px !important;
    padding-top: 30px !important;
    cursor: text !important;
}

/* --- 2. Label --- */
#wpforms-54-field_1-container .wpforms-field-label {
    display: block !important;
    margin-bottom: 10px !important;
    font-weight: 600 !important;
    color: #1f2937 !important;
    font-size: 15px !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* --- 3. Champ input - SAISISSABLE --- */
#wpforms-54-field_1 {
    position: absolute !important;
    top: 30px !important;
    left: 0 !important;
    width: 100% !important;
    height: 80px !important;
    opacity: 0 !important;
    z-index: 100 !important;
    cursor: text !important;
    pointer-events: auto !important;
    background: transparent !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    font-size: 32px !important;
    font-family: 'SF Mono', 'Menlo', 'Courier New', monospace !important;
    text-align: center !important;
    letter-spacing: 14px !important;
    -webkit-appearance: none !important;
    appearance: none !important;
    caret-color: transparent !important;
    border-radius: 0 !important;
}

/* --- 4. Overlay visuel --- */
#wpforms-54-field_1-container .otp-box {
    position: absolute;
    top: 30px;
    left: 0;
    right: 0;
    bottom: 0;
    background: #ffffff;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    z-index: 1;
    pointer-events: none !important;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px;
    box-sizing: border-box;
}

/* --- 5. Cases --- */
#wpforms-54-field_1-container .otp-cells {
    display: flex;
    gap: 8px;
    width: 100%;
    max-width: 360px;
    justify-content: center;
    pointer-events: none !important;
}

/* --- 6. Chaque case --- */
#wpforms-54-field_1-container .otp-cell {
    flex: 1;
    max-width: 48px;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-family: 'SF Mono', 'Menlo', 'Courier New', monospace;
    font-size: 28px;
    font-weight: 500;
    color: #111827;
    transition: border-color 0.2s ease, background 0.2s ease;
    pointer-events: none !important;
    position: relative;
    user-select: none;
}

/* --- 7. Séparateur --- */
#wpforms-54-field_1-container .otp-cell:not(:last-child)::after {
    content: "";
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 30px;
    background: #e5e7eb;
}

/* --- 8. Zéro dans cases vides --- */
#wpforms-54-field_1-container .otp-cell::before {
    content: "0";
    color: #d1d5db;
    opacity: 0.3;
    font-size: 28px;
    font-weight: 300;
}

/* --- 9. Case remplie --- */
#wpforms-54-field_1-container .otp-cell.filled::before {
    content: "";
    display: none;
}

#wpforms-54-field_1-container .otp-cell.filled {
    color: #111827;
    font-weight: 600;
    border-color: #2563eb;
    background: #f8faff;
}

/* --- 10. Focus --- */
#wpforms-54-field_1-container:focus-within .otp-box {
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
}

#wpforms-54-field_1-container:focus-within .otp-cell {
    border-color: #d1d5db;
}

#wpforms-54-field_1-container:focus-within .otp-cell.filled {
    border-color: #2563eb;
}

/* --- 11. Survol --- */
#wpforms-54-field_1-container:hover .otp-box {
    border-color: #9ca3af;
}

/* --- 12. Animation --- */
#wpforms-54-field_1-container .otp-cell.filled {
    animation: otpPop 0.15s ease-out;
}

@keyframes otpPop {
    0% { transform: scale(0.95); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* --- 13. Responsive --- */
@media (max-width: 480px) {
    #wpforms-54-field_1-container {
        min-height: 100px !important;
        padding-top: 28px !important;
    }
    
    #wpforms-54-field_1 {
        height: 70px !important;
        font-size: 24px !important;
        letter-spacing: 10px !important;
        top: 28px !important;
    }
    
    #wpforms-54-field_1-container .otp-box {
        height: 70px !important;
        padding: 0 6px !important;
        top: 28px !important;
    }
    
    #wpforms-54-field_1-container .otp-cell {
        max-width: 38px !important;
        height: 50px !important;
        font-size: 22px !important;
    }
    
    #wpforms-54-field_1-container .otp-cell::before {
        font-size: 22px !important;
    }
    
    #wpforms-54-field_1-container .otp-cells {
        gap: 5px !important;
        max-width: 280px !important;
    }
}

/* --- 14. Erreur --- */
#wpforms-54-field_1-container.wpforms-error .otp-box {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.12) !important;
}

#wpforms-54-field_1-container.wpforms-error .otp-cell {
    border-color: #ef4444 !important;
}

#wpforms-54-field_1-container.wpforms-error .otp-cell.filled {
    border-color: #ef4444 !important;
}

#wpforms-54-field_1-error {
    margin-top: 10px !important;
    font-size: 13px !important;
    color: #ef4444 !important;
}

/* --- 15. Cache compteur --- */
#wpforms-54-field_1-limit {
    display: none !important;
}

/* --- 16. Placeholder invisible --- */
#wpforms-54-field_1::placeholder {
    color: transparent !important;
}



/* ============================================
   SUPPRIMER UNIQUEMENT LE CONTOUR EXTÉRIEUR
   ============================================ */

/* --- Supprimer la bordure du conteneur extérieur --- */
#wpforms-54-field_1-container .otp-box {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* --- Supprimer le contour au focus --- */
#wpforms-54-field_1-container:focus-within .otp-box {
    border: none !important;
    box-shadow: none !important;
}

/* --- Garder les contours des cases individuelles --- */
#wpforms-54-field_1-container .otp-cell {
    border: 2px solid #e5e7eb !important;
    background: #ffffff !important;
}

/* --- Garder les séparateurs --- */
#wpforms-54-field_1-container .otp-cell:not(:last-child)::after {
    display: block !important;
}

/* --- Contour des cases au focus --- */
#wpforms-54-field_1-container:focus-within .otp-cell.filled {
    border-color: #2563eb !important;
}





/* ============================================
   CASES OTP STYLE LEBONCOIN - AGRANDIES
   ============================================ */

/* --- 1. Conteneur du champ - Plus grand --- */
#wpforms-54-field_1-container {
    position: relative !important;
    margin-bottom: 30px !important;
    min-height: 130px !important;
    padding-top: 35px !important;
}

/* --- 2. Le champ input - Plus grand --- */
#wpforms-54-field_1 {
    top: 35px !important;
    height: 100px !important;
    font-size: 40px !important;
    letter-spacing: 18px !important;
}

/* --- 3. Conteneur des cases --- */
#wpforms-54-field_1-container .otp-box {
    top: 35px !important;
    height: 100px !important;
    padding: 0 12px !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

/* --- 4. Les cases individuelles - Agrandies --- */
#wpforms-54-field_1-container .otp-cell {
    max-width: 70px !important;
    height: 76px !important;
    font-size: 38px !important;
    border: 2px solid #e5e7eb !important;
    border-radius: 12px !important;
    background: #ffffff !important;
}

/* --- 5. Zéro dans les cases vides - Plus gros --- */
#wpforms-54-field_1-container .otp-cell::before {
    font-size: 38px !important;
    color: #d1d5db !important;
    opacity: 0.3 !important;
}

/* --- 6. Séparateur entre les cases --- */
#wpforms-54-field_1-container .otp-cell:not(:last-child)::after {
    display: none !important;
}

/* --- 7. Case remplie - Agrandie --- */
#wpforms-54-field_1-container .otp-cell.filled {
    font-size: 38px !important;
    border-color: #2563eb !important;
    background: #f8faff !important;
}

/* --- 8. Focus - Plus visible --- */
#wpforms-54-field_1-container:focus-within .otp-cell {
    border-color: #d1d5db !important;
}

#wpforms-54-field_1-container:focus-within .otp-cell.filled {
    border-color: #2563eb !important;
}

#wpforms-54-field_1-container:focus-within .otp-box {
    border: none !important;
    box-shadow: none !important;
}

/* --- 9. Espacement entre les cases --- */
#wpforms-54-field_1-container .otp-cells {
    gap: 12px !important;
    max-width: 480px !important;
}

/* --- 10. Responsive mobile --- */
@media (max-width: 480px) {
    #wpforms-54-field_1-container {
        min-height: 110px !important;
        padding-top: 30px !important;
    }
    
    #wpforms-54-field_1 {
        height: 80px !important;
        font-size: 30px !important;
        letter-spacing: 12px !important;
        top: 30px !important;
    }
    
    #wpforms-54-field_1-container .otp-box {
        height: 80px !important;
        padding: 0 6px !important;
        top: 30px !important;
    }
    
    #wpforms-54-field_1-container .otp-cell {
        max-width: 50px !important;
        height: 58px !important;
        font-size: 28px !important;
        border-radius: 8px !important;
    }
    
    #wpforms-54-field_1-container .otp-cell::before {
        font-size: 28px !important;
    }
    
    #wpforms-54-field_1-container .otp-cells {
        gap: 8px !important;
        max-width: 340px !important;
    }
}

/* --- 11. Supprimer le contour extérieur --- */
#wpforms-54-field_1-container .otp-box {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

#wpforms-54-field_1-container:hover .otp-box {
    border: none !important;
    box-shadow: none !important;
}

#wpforms-54-field_1-container:focus-within .otp-box {
    border: none !important;
    box-shadow: none !important;
}/* End custom CSS */