/* ===================================
   BACKGROUND SLIDESHOW
   Diaporama d'arrière-plan pour l'espace client
   =================================== */

/* Conteneur du diaporama en arrière-plan fixe */
.slideshow-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
    background: #000000;
}

.slideshow-background .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 2s ease-in-out;
}

.slideshow-background .slide.active {
    opacity: 0.7;
}

/* Overlay noir profond pour fond sombre tout en laissant voir les images */
.slideshow-background .slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.65);
    z-index: 1;
}

/* S'assurer que la sidebar et le contenu restent au-dessus sans problème */
body {
    position: relative;
}

.sidebar {
    z-index: 1000 !important;
}

.main-content {
    z-index: 100 !important;
}

.dashboard-section,
.stat-card,
.activity-card,
.next-event-card,
.welcome-header,
.container {
    position: relative;
}