/**
 * RDConnect - Sidebar Header Override
 * OBLIGATOIRE: Header sidebar TOUJOURS blanc (#ffffff)
 * 
 * ⚠️ CRITIQUE: Le template YNEX utilise #845adf (violet) par défaut
 * Cette couleur N'EST PAS dans la charte RDConnect
 * Ce fichier force le background blanc
 */

/* =============================================
 * HEADER SIDEBAR - BACKGROUND BLANC OBLIGATOIRE
 * ============================================= */

.main-sidebar-header,
.app-sidebar .main-sidebar-header,
.main-sidebar .main-sidebar-header {
    background: #ffffff !important;
    background-color: #ffffff !important;
    border-bottom: 1px solid var(--rdconnect-gray-200, #e2e8f0) !important;
}

/* Mode dark (conserver blanc aussi) */
[data-theme-mode="dark"] .main-sidebar-header,
[data-menu-styles="dark"] .main-sidebar-header {
    background: #ffffff !important;
    background-color: #ffffff !important;
}

/* =============================================
 * OVERRIDE TEMPLATE YNEX
 * Empêcher toute couleur violet (#845adf)
 * ============================================= */

/* Forcer tous les états possibles */
.main-sidebar-header::before,
.main-sidebar-header::after {
    background: transparent !important;
}

/* Zone logo */
.main-sidebar-header .header-logo {
    background: transparent !important;
}

/* Container */
.sidebar .main-sidebar-header,
.sidebar-mini .main-sidebar-header,
.sidebar-collapsed .main-sidebar-header {
    background: #ffffff !important;
}

/* =============================================
 * NOTES POUR DÉVELOPPEURS
 * ============================================= */

/* 
 * ❌ INTERDIT:
 * - background: #845adf (violet template)
 * - background: rgb(132, 90, 223) (violet template)
 * - Toute couleur autre que #ffffff
 * 
 * ✅ AUTORISÉ:
 * - background: #ffffff (blanc uniquement)
 * - background: var(--rdconnect-white) (si défini)
 * 
 * 📝 Référence:
 * - Charte: CHARTE_GRAPHIQUE_RDCONNECT.md
 * - Template: app/template/html/template.html
 */
