/* ✅ Masquer les modals par défaut */
.modalmix {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

/* ✅ Style du contenu de la modal */
.modalmix-content {
    position: relative;
    max-width: 80%;
    max-height: 80%;
    overflow: hidden;
    text-align: center;
}

/* ✅ Boutons de navigation (uniquement pour la modal mixte) */
#modal-mixte .prev, #modal-mixte .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.3);
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
}

#modal-mixte .close, #modal-simple .close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}



.video-wrapper {
    position: relative;
    display: inline-block;
}

.video-indicator {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
}
