.popup-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Fond semi-transparent */
    backdrop-filter: blur(5px); /* Effet de flou */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* Contenu du popup */
.popup-content {
    background: #ffffff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 500px; /* Largeur maximale */
    height: 500px; /* Hauteur maximale */
    max-width: 90vw; /* Ne pas dépasser l'écran */
    max-height: 90vh; /* Ne pas dépasser l'écran */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Titre du popup */
.popup-title {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #222;
}

/* Message du popup */
.popup-message {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.popup-cta-button {
    display: inline-block;
    padding: 10px 20px;
    background: #000000;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 15px;
    transition: background 0.3s ease;
}
.popup-cta-button:hover {
    background: #0f0f0f;
}


/* Bouton de fermeture */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #000;
    background: none;
    border: none;
    outline: none;
}

/* Image du popup */
.popup-image {
    max-width: 90%;
    max-height: 50%;
    object-fit: contain; /* Ajuste l'image sans la déformer */
    margin-bottom: 10px;
    border-radius: 5px;
}
/* Bouton flottant pour rouvrir le popup */
.popup-reopen-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: #d9534f;
    color: #ffffff;
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    line-height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    z-index: 10000;
    transition: opacity 0.3s ease-in-out, visibility 0.3s ease-in-out;
}
.popup-reopen-btn.show {
    opacity: 1;
    visibility: visible;
}



