@charset "utf-8";
/* CSS Document */

<style>
/* ------------------------- */
/*     BOUTON CLIGNOTANT     */
/* ------------------------- */
.blinking-button {
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    color: white;
    background: linear-gradient(145deg, #FF5733, #e04a22);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 6px 0 #d0411e, 0 8px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.2s;
    animation: blink-strong 1s infinite;
    border-bottom: 4px solid #d0411e;
}
.blinking-button:hover {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #d0411e, 0 6px 8px rgba(0, 0, 0, 0.2);
}
@keyframes blink-strong {
    0%, 100% { opacity: 1; }
    30% { opacity: 0.3; }
    60% { opacity: 0.7; }
}

/* Couleur du texte global */
body, td, th {
    color: #333;
    font-family: Arial, sans-serif;
    margin: 0;
}

/* ---------------------------------- */
/*            MODALE CENTRÉE          */
/* ---------------------------------- */
/* ---------------------------------- */
/*            MODALE CENTRÉE          */
/* ---------------------------------- */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background: #fff;
    color: #000 !important;
    margin: 10% auto;
    padding: 20px;
    border-radius: 10px;
    width: 60%;
    max-width: 500px;
    text-align: center;
    position: relative;
}

/* Titre dans la modale */
.modal-content h4 {
    color: #000 !important;       /* ← corrige le problème */
    font-size: 20px;
    margin-bottom: 10px;
}

/* Texte */
.modal-content p {
    color: #000 !important;
    font-size: 16px;
    line-height: 1.5;
}

/* Texte intérieur */
.modal-content p {
    color: #000 !important;
    font-size: 16px;
    line-height: 1.5;
}

/* Bouton de fermeture */
.close {
    color: #000 !important;
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close:hover {
    color: #444 !important;
}

/* -------------------------------------- */
/*   SUPERPOSITION AFFICHE (IMAGE POPUP)  */
/* -------------------------------------- */

#affiche-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

#affiche-overlay.visible {
    opacity: 1;
    visibility: visible;
}

#affiche-overlay.fadeout {
    opacity: 0;
    visibility: hidden;
}

.affiche-container {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
}

.affiche-container img {
    width: 100%;
    height: auto;
    max-height: 90vh;
    border-radius: 10px;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

/* Bouton de fermeture image */
.close-btn {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #fff;
    color: #000;
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}
.close-btn:hover {
    background: #f00;
    color: #fff;
}
</style>