/* --- FOND VIDÉO --- */
.video-bg {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw; 
    height: 100vh;
    z-index: -2; /* Derrière tout le reste */
    overflow: hidden;
}

.video-bg video {
    width: 100%; 
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) saturate(1.2); /* On assombrit pour que le blanc ressorte */
}

/* Voile de finition pour la profondeur */
body::after {
    content: '';
    position: fixed; 
    top: 0; 
    left: 0; 
    width: 100%; 
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, rgba(0,0,0,0.4) 100%);
    z-index: -1;
}

/* --- DASHBOARD STRUCTURE --- */
.dashboard-layout {
    display: flex;
    height: 100vh;
    padding: 20px;
    gap: 20px;
}

/* --- SIDEBAR --- */
.sidebar {
    width: 260px;
    flex-shrink: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 30px 20px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 40px;
    padding-left: 10px;
}

.sidebar-logo { width: 35px; }

.brand-name {
    font-weight: 800;
    font-size: 1.2rem;
}

.sidebar-nav ul { list-style: none; }

.nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 12px;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.nav-link.active {
    border-left: 4px solid var(--primary);
}

.nav-separator {
    height: 1px;
    background: var(--glass-border);
    margin: 20px 0;
}

.main-content {
    flex: 1;
    overflow-y: auto;
}