/*
 * Fenêtres modales de l'accueil.
 * Elementor les masque par défaut ([data-elementor-type=popup]{display:none}) ;
 * on remplace ce masquage par un affichage centré quand elles sont ouvertes.
 */

.elementor-location-popup {
    display: none;
}

.elementor-location-popup.rse-popup--visible {
    display: flex !important;
    position: fixed;
    inset: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, .55);
    padding: 20px;
    overflow-y: auto;
}

.elementor-location-popup.rse-popup--visible > * {
    background: #fff;
    border-radius: 16px;
    max-width: 560px;
    width: 100%;
    padding: 40px 32px 32px;
    position: relative;
    box-shadow: 0 12px 40px rgba(16, 24, 40, .25);
}

body.rse-popup-ouverte {
    overflow: hidden;
}

/* Bouton de fermeture, repris de la présentation d'origine. */
.rse-popup__fermer {
    position: absolute;
    top: 14px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: 2px solid #019a90;
    border-radius: 6px;
    background: #fff;
    color: #019a90;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
}

.rse-popup__fermer:hover {
    background: #019a90;
    color: #fff;
}

/* Retour de la demande de lien de reprise. */
.rse-popup__message {
    background: #e6f5f4;
    color: #017a72;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.rse-popup__erreur {
    background: #fee4e2;
    color: #f04438;
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

/* ---------- Formulaire de reprise ---------- */

.rse-reprise {
    display: block;
    text-align: left;
}

.rse-reprise__label {
    display: block;
    font-weight: 600;
    color: #344054;
    margin-bottom: 6px;
}

.rse-reprise__champ {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 16px;
}

.rse-reprise__champ:focus {
    outline: none;
    border-color: #019a90;
    box-shadow: 0 0 0 3px rgba(1, 154, 144, .15);
}

.rse-reprise__bouton {
    width: 100%;
    cursor: pointer;
    border: none;
}
