/* ============================================================ INTER SANTÉ — THEME MODERN (OUTLOOK 365 ADAPTATION) CONSERVATION 100% DES ÉLÉMENTS DU FICHIER SOURCE ============================================================ */ /* === 1. FONTS & VARIABLES (Structure conservée) === */ @import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&display=swap'); :root { /* Réalignement des couleurs sur la charte Microsoft 365 */ --color-primary: #0078d4; /* Bleu Outlook au lieu du Vert */ --color-primary-light: #2b88d8; --color-primary-dark: #005a9e; --color-primary-ghost: #eff6fc; --color-accent: #0078d4; --color-urgent: #d13438; /* Rouge Office */ --color-warning: #ffaa44; /* Orange Office */ --color-success: #107c10; /* Vert Excel */ --color-info: #0078d4; --color-neutral: #605e5c; /* Backgrounds & Contrastes facilitant la lecture */ --bg-app: #f3f2f1; /* Gris neutre facilitant le focus */ --bg-card: #ffffff; --text-main: #323130; /* Contraste optimal pour texte long */ --text-muted: #605e5c; /* Tokens Visuels Outlook (Moins d'arrondis, plus de clarté) */ --shadow-sm: 0 1px 3px rgba(0,0,0,0.1); --shadow-md: 0 4px 8px rgba(0,0,0,0.12); --shadow-lg: 0 15px 30px rgba(0,0,0,0.15); --radius-lg: 4px; /* Rigueur Outlook */ --radius-md: 2px; --transition-fast: 0.15s ease-in-out; --transition-smooth: 0.3s cubic-bezier(0.1, 0.9, 0.2, 1); } /* === 2. BASE & LISIBILITÉ === */ body { background-color: var(--bg-app) !important; color: var(--text-main); font-family: 'Segoe UI', 'DM Sans', sans-serif !important; -webkit-font-smoothing: antialiased; } /* === 3. HEADER & LOGO (Conserve vos IDs) === */ .header { background-color: var(--color-primary) !important; height: 48px !important; display: flex; align-items: center; box-shadow: none !important; border-bottom: 1px solid rgba(0,0,0,0.1); } .header .logo span { color: #ffffff !important; font-family: 'Syne', sans-serif; font-weight: 700; font-size: 1.1rem; } /* === 4. SIDEBAR (Pattern Outlook "Folder List") === */ .sidebar { background: #faf9f8 !important; /* Gris très clair Office */ border-right: 1px solid #edebe9 !important; width: 260px; } .sidebar-nav .nav-link { color: var(--text-main) !important; font-weight: 400; border-radius: 0 !important; /* Carré comme Outlook */ margin: 0 !important; border-left: 3px solid transparent; transition: var(--transition-fast); } .sidebar-nav .nav-link:hover { background-color: #edebe9 !important; color: var(--text-main) !important; } .sidebar-nav .nav-link.active-main { background-color: var(--color-primary-ghost) !important; color: var(--color-primary) !important; border-left-color: var(--color-primary); /* Indicateur actif Outlook */ font-weight: 600; } /* === 5. CARDS & KPI (Équilibre ombre/bordure) === */ .card { background: var(--bg-card); border: 1px solid #edebe9 !important; border-radius: var(--radius-lg) !important; box-shadow: var(--shadow-sm) !important; } .kpi-card { border-top: 3px solid var(--color-primary) !important; /* Pattern Outlook Cards */ } /* === 6. TABLEAUX (Pattern "Liste de mails" Haute Lisibilité) === */ .table thead th { background-color: #faf9f8 !important; color: var(--text-muted); font-weight: 600; font-size: 0.8rem; text-transform: none; /* Plus naturel pour la lecture */ border-bottom: 1px solid #edebe9 !important; } .table tbody tr { border-bottom: 1px solid #f3f2f1 !important; } .table tbody tr:hover { background-color: #f3f2f1 !important; } /* === 7. CONTEXTUAL PANEL (Barre de contexte conservée) === */ #barre_laterale_d { background: #ffffff; border-left: 1px solid #edebe9; box-shadow: -2px 0 10px rgba(0,0,0,0.05); } .info-box { background: #faf9f8; border: 1px solid #edebe9; border-radius: var(--radius-md); padding: 12px; margin-bottom: 10px; } .info-box label { color: var(--color-primary); /* Bleu Outlook pour les labels */ font-weight: 700; font-size: 0.65rem; text-transform: uppercase; } /* === 8. PATTERNS TECHNIQUES (Conserve 100% de vos fonctions) === */ .skeleton { background: linear-gradient(90deg, #f3f2f1 25%, #edebe9 50%, #f3f2f1 75%); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; } .bulk-actions-bar { background: #323130; /* Dark Grey Microsoft */ border-radius: var(--radius-md); box-shadow: var(--shadow-lg); } .command-bar { border: 1px solid var(--color-primary); box-shadow: var(--shadow-lg); } /* === 9. BOUTONS & BADGES === */ .btn-primary { background: var(--color-primary) !important; border-radius: 2px !important; /* Flat design Office */ font-weight: 500 !important; border: none !important; } .badge-saas { border-radius: 2px; padding: 4px 8px; font-weight: 600; } .status-paid { background: #dff6dd; color: #107c10; } .status-urgent { background: #fde7e9; color: #a80000; } /* === 10. MODALS === */ .modal-content { border-radius: 0; border: 1px solid #8a8886; box-shadow: var(--shadow-lg); } .modal-header { background: #faf9f8; border-bottom: 1px solid #edebe9; } /* Mode Test Pattern */ .mode-test-banner { background: #fff4ce; /* Couleur d'alerte Outlook */ color: #323130; border-bottom: 2px solid var(--color-warning); }