.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Fond semi-transparent */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease;
    color: var(--text-color);

}

/* Animation d'ouverture */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Contenu du popup */
.popup-content {
    color: var(--text-color);
    /* Couleur du texte dynamique */
    border-radius: 10px;
    padding: 20px;
    width: 100%;
    max-width: 200px;
    text-align: center;
    box-shadow: 0 4px 8px var(--shadow-color);
    background-color: var(--bg-color);
    position: relative;
}

/* Liste des messages */
.popup-message-list {
    list-style: none;
    padding: 0;
    margin: 10px 0;

}

.popup-message {
    font-size: var(--taille-text-pc);
    color: var(--text-color);
    margin-bottom: 5px;
}

/* Bouton de fermeture */
.popup-close-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-color);
    cursor: pointer;
    transition: color 0.3s;
}

.popup-close-btn:hover {
    color: var(--hover-bg);
}

/* Conteneur de l'image ou icône */
.popup-image-container {
    margin-top: 15px;
}

.popup-icon {
    max-width: 50px;
    height: auto;
}
@media (max-width: 768px) {
.popup-message {
        font-size: var(--taille-text-mo);
    
    }
    }