/* ============================================ OVERRIDE BOOTSTRAP 5 - AGGRESSIF ============================================ */ :root { --office-primary: #b7472a; --office-secondary: #2b579a; --office-light: #f3f2f1; --office-common: #e6e6e6; --office-dark: #323130; --office-border: #d0d0d0; } /* 1. RESET BOOTSTRAP SUR LE BODY */ body { background-color: var(--office-common) !important; color: var(--office-dark) !important; font-family: 'Segoe UI', 'Segoe UI Web (West European)', -apple-system, BlinkMacSystemFont, Roboto, 'Helvetica Neue', sans-serif !important; font-size: 14px !important; line-height: 1.5 !important; -webkit-font-smoothing: antialiased !important; -moz-osx-font-smoothing: grayscale !important; margin: 0 !important; padding: 0 !important; min-height: 100vh !important; overflow-x: hidden !important; } /* 2. APP-HEADER - OVERRIDE COMPLET */ .app-header { background-color: var(--office-light) !important; height: 64px !important; border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important; position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; width: 100vw !important; z-index: 1030 !important; display: flex !important; align-items: center !important; padding: 0 !important; margin: 0 !important; } /* Override Bootstrap header defaults */ header:not([class*="bg-"]) { background-color: var(--office-light) !important; } /* 3. HEADER CONTENT INTERNE */ .header-content { display: flex !important; align-items: center !important; justify-content: space-between !important; height: 100% !important; width: 100% !important; padding: 0 24px !important; margin: 0 !important; } /* 4. APP-SIDEBAR */ .app-sidebar { width: 260px !important; background: linear-gradient(180deg, var(--office-primary) 0%, #a53e24 100%) !important; position: fixed !important; top: 64px !important; left: 0 !important; bottom: 0 !important; height: calc(100vh - 64px) !important; z-index: 1020 !important; box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1) !important; overflow-y: auto !important; overflow-x: hidden !important; padding: 0 !important; margin: 0 !important; } /* Override Bootstrap aside defaults */ aside:not([class*="bg-"]) { background: linear-gradient(180deg, var(--office-primary) 0%, #a53e24 100%) !important; } /* 5. APP-MAIN */ .app-main { margin-left: 260px !important; padding-top: 64px !important; min-height: 100vh !important; background-color: var(--office-light) !important; width: calc(100vw - 260px) !important; position: relative !important; z-index: 1 !important; } /* 6. CONTENT AREA */ .content-area { padding: 24px !important; max-width: 1400px !important; margin: 0 auto !important; width: 100% !important; } .content-card { background-color: white !important; border-radius: 8px !important; box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important; border: 1px solid var(--office-border) !important; margin-bottom: 24px !important; overflow: hidden !important; width: 100% !important; } /* 7. SIDEBAR NAVIGATION */ .sidebar-nav { padding: 24px 0 !important; background: transparent !important; } .nav-section { margin-bottom: 32px !important; padding: 0 20px !important; } .nav-item { margin-bottom: 4px !important; } .nav-link { display: flex !important; align-items: center !important; color: rgba(255, 255, 255, 0.85) !important; padding: 12px 16px !important; text-decoration: none !important; border-radius: 6px !important; transition: all 0.2s ease !important; background: transparent !important; border: none !important; width: 100% !important; } .nav-link:hover { background-color: rgba(255, 255, 255, 0.1) !important; color: white !important; } .nav-link.active { background-color: rgba(255, 255, 255, 0.15) !important; color: white !important; font-weight: 500 !important; } /* 8. LOGO */ .app-logo { display: flex !important; align-items: center !important; color: #313c4c !important; text-decoration: none !important; font-weight: 600 !important; font-size: 20px !important; } .app-logo img { height: 36px !important; } /* 9. OVERRIDE BOOTSTRAP UTILITY CLASSES CONFLICT */ .bg-light, .bg-white, .bg-transparent { background-color: transparent !important; } /* 10. DEBUG INDICATOR (supprimer après) */ .css-override-active { position: fixed !important; top: 10px !important; right: 10px !important; background: #27ae60 !important; color: white !important; padding: 10px 15px !important; border-radius: 5px !important; z-index: 99999 !important; font-weight: bold !important; box-shadow: 0 4px 12px rgba(0,0,0,0.2) !important; border: 3px solid white !important; cursor: pointer; } .debug-border { outline: 2px solid #ff6b6b !important; outline-offset: 2px !important; } /* 11. RESPONSIVE */ @media (max-width: 768px) { .app-sidebar { width: 70px !important; transform: translateX(0) !important; } .app-main { margin-left: 70px !important; width: calc(100vw - 70px) !important; } .nav-text { display: none !important; } }