.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: white;
    padding: 20px;
    border-radius: 8px;
    position: relative;
    width: 80%;
    max-width: 800px;
    height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-close {
    position: absolute;
    right: 10px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
    color: #333;
    z-index: 1001;
}

.pdf-container,
.video-container {
    flex: 1;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.pdf-container iframe,
.video-container video {
    width: 100%;
    height: 100%;
    border: none;
    object-fit: contain;
}

.modal-overlay.active {
    display: flex;
}

/* Style spécifique pour le conteneur vidéo */
.video-container {
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    max-height: 100%;
    max-width: 100%;
} 