/* Styles pour le carrousel modal */
.carousel-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

#carousel_prev,
#carousel_next {
    font-size: 24px;
    font-weight: bold;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

#carousel_prev:hover,
#carousel_next:hover {
    background-color: rgba(0, 0, 0, 0.75);
    transform: scale(1.1);
}

#carousel_indicators button {
    transition: all 0.3s ease;
    cursor: pointer;
}

#carousel_indicators button:hover {
    transform: scale(1.2);
}

/* Animation de transition */
.carousel-slide {
    transition: opacity 0.3s ease-in-out;
}

.carousel-slide.hidden {
    opacity: 0;
}

.carousel-slide:not(.hidden) {
    opacity: 1;
}
