/* ===== MODALE DE RAPPEL RAPIDE ===== */

#rappel-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.45);
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

#rappel-modal .rappel-modal-content {
    position: relative;
    width: 100%;
    max-width: 440px;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
    padding: 32px 24px;
    background-color: rgba(45, 45, 45, 0.8);
    color: #fff;
    border-radius: 18px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

#rappel-modal h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
}

#rappel-modal h3 {
    margin: 0 0 12px;
    color: #fff;
    font-size: 19px;
    font-weight: 700;
}

#rappel-modal p {
    color: #ddd;
    margin-bottom: 24px;
}

#rappel-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    text-align: left;
}

#rappel-form label {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
}

#rappel-form input,
#rappel-form select {
    width: 100%;
    padding: 14px;
    box-sizing: border-box;
    border: 1px solid #555;
    border-radius: 10px;
    background: #fff;
    color: #222;
    font-size: 16px;
}

#rappel-form select {
    height: 48px;
    min-height: 48px;
    padding: 0 14px;
    line-height: normal;
    box-sizing: border-box;
    color: #222;
    background-color: #fff;
}

#rappel-form button[type="submit"] {
    width: 100%;
    margin-top: 12px;
    padding: 16px 12px;
    border: none;
    border-radius: 10px;
    background: #e12525;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
}

#rappel-form button[type="submit"]:hover {
    background: #bc1818;
}

#rappel-close {
    position: absolute;
    top: 12px;
    right: 14px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

#rappel-success {
    color: #fff;
    font-size: 17px;
    line-height: 1.5;
}

/* Honeypot anti-spam : invisible pour les visiteurs */
.rappel-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Masquer le champ anti-spam des deux formulaires */
#rappel-modal .rappel-honeypot,
.rappel-inline-content .rappel-honeypot {
    display: none !important;
}

@media (max-width: 480px) {
    #rappel-modal .rappel-modal-content {
        padding: 28px 18px;
        border-radius: 14px;
    }

    #rappel-modal h2 {
        font-size: 21px;
    padding-right: 36px;
    padding-left: 36px;
    }

    #rappel-modal h3 {
        font-size: 16px;
    }
}

.ouvrir-rappel::before {
    content: "\260E";
    color: white;
    display: inline-block;
    transform: scaleX(-1);
    margin-right: 8px;
}

/* Formulaire de rappel intégré dans Elementor */
.rappel-inline-content {
    width: 100%;
    max-width: 440px;
}

.rappel-inline-content form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.rappel-inline-content label {
    font-weight: 600;
    color: #555;
}

.rappel-inline-content input,
.rappel-inline-content select {
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: 10px;
    background: #f5f5f5;
    box-sizing: border-box;
}

.rappel-inline-content button[type="submit"] {
    padding: 16px;
    border: none;
    border-radius: 10px;
    background: #e51e24;
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.rappel-inline-content select {
    height: 50px;
    padding: 10px 14px;
    line-height: normal;
}