/* Popup Overlay */
#exit-popup {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);  /* Légère opacité noire */
    justify-content: center;
    align-items: center;
}

/* Contenu du Popup */
.popup-content {
    background: linear-gradient(to bottom, #0FC9DA, #000);  /* Dégradé vertical */
    padding: 30px;
    border-radius: 15px;  /* Coins arrondis */
    text-align: center;
    color: #fff;  /* Texte noir pour meilleure lisibilité */
    width: 300px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);  /* Ombre douce pour donner de la profondeur */
    backdrop-filter: blur(10px);  /* Effet glass (flou derrière) */
    transition: transform 0.3s ease-out;  /* Animation de transition */
}

/* Effet au survol */
.popup-content:hover {
    transform: scale(1.05);  /* Zoom léger au survol */
}

/* Champ input */
.popup-content input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border: 1px solid #ddd;  /* Bordure douce */
    border-radius: 8px;  /* Coins arrondis */
    background: rgba(255, 255, 255, 0.7);  /* Fond semi-transparent */
    color: #333;  /* Texte sombre */
    font-size: 16px;
}

/* Bouton de soumission */
.popup-content button {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    cursor: pointer;
    background-color: #0FC9DA;  /* Couleur de fond bleu */
    color: #fff;  /* Texte en blanc */
    border: none;
    border-radius: 8px;  /* Coins arrondis */
    font-size: 16px;
    transition: background-color 0.3s ease;
}

/* Effet sur le bouton au survol */
.popup-content button:hover {
    background-color: #007B88;  /* Couleur plus sombre au survol */
}

/* Bouton de fermeture */
#closePopup {
    background: none;
    color: #aaa;  /* Couleur claire */
    border: none;
    font-size: 20px;
    cursor: pointer;
}

/* Animation du popup au chargement */
@keyframes popupSlideIn {
    0% {
        transform: translateY(-100%);
    }
    100% {
        transform: translateY(0);
    }
}

/* Appliquer l'animation */
#exit-popup {
    animation: popupSlideIn 0.5s ease-out;
}