/* On s'assure que le fond sombre est au-dessus de TOUT */
.mpp-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999999 !important;
    display: none; /* Caché par défaut */
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

/* CLASSE D'ÉTAT AJOUTÉE : Permet d'afficher la modale proprement en JS */
.mpp-overlay.mpp-active {
    display: flex !important;
}

/* La boîte blanche */
.mpp-container {
    background: #fff;
    width: 90%;
    max-width: 500px;
    padding: 40px 30px;
    border-radius: 12px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    cursor: default; /* On ne ferme pas si on clique sur le blanc */
}

/* La croix de fermeture */
.mpp-close {
    position: absolute;
    top: 10px; right: 15px;
    font-size: 35px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    cursor: pointer !important;
    z-index: 10;
}

/* Force le pointeur sur tes boutons */
[class*="trigger-popup-"] {
    cursor: pointer !important;
}