/* ============================================================ INTER SANTÉ — THÈME OUTLOOK 365 PREMIUM Inspiration Microsoft 365 - Élégant, professionnel, moderne ============================================================ */ /* === FONTS === */ @import url('https://fonts.googleapis.com/css2?family=Segoe+UI:wght@300;400;500;600;700&display=swap'); @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); /* === VARIABLES === */ :root { /* Couleurs principales - Palette Outlook */ --outlook-blue: #0078d4; --outlook-blue-light: #50b0f0; --outlook-blue-dark: #106ebe; --outlook-blue-soft: #deecf9; --outlook-bg: #f5f5f5; /* Neutres */ --neutral-10: #1e1e1e; --neutral-20: #323130; --neutral-30: #3b3a39; --neutral-40: #484644; --neutral-50: #605e5c; --neutral-60: #797775; --neutral-70: #8a8886; --neutral-80: #b3b0ad; --neutral-90: #d2d0ce; --neutral-95: #eaeaea; --neutral-98: #f5f5f5; --neutral-white: #ffffff; /* Statuts */ --status-success: #107c41; --status-warning: #ffaa44; --status-error: #d13438; --status-info: #0078d4; --status-urgent: #e81123; /* Sémantique */ --primary: var(--outlook-blue); --primary-hover: var(--outlook-blue-dark); --primary-soft: var(--outlook-blue-soft); --text-primary: #252423; --text-secondary: #605e5c; --text-tertiary: #8a8886; --text-disabled: #b3b0ad; --border-default: #edebe9; --border-hover: #c8c6c4; --border-focus: var(--outlook-blue); /* Backgrounds */ --bg-page: #f5f5f5; --bg-surface: #ffffff; --bg-surface-hover: #f3f2f1; --bg-surface-pressed: #e1dfdd; --bg-sidebar: #faf9f8; --bg-header: #ffffff; --bg-menu-hover: #f3f2f1; /* Shadows */ --shadow-sm: 0 1.6px 3.6px rgba(0, 0, 0, 0.08), 0 0.3px 0.9px rgba(0, 0, 0, 0.1); --shadow-md: 0 6.4px 14.4px rgba(0, 0, 0, 0.08), 0 1.2px 3.6px rgba(0, 0, 0, 0.1); --shadow-lg: 0 25.6px 57.6px rgba(0, 0, 0, 0.12), 0 4.8px 14.4px rgba(0, 0, 0, 0.1); --shadow-card: 0 0.4px 0.8px rgba(0, 0, 0, 0.06), 0 1.6px 3.6px rgba(0, 0, 0, 0.04); /* Radius */ --radius-sm: 2px; --radius-md: 4px; --radius-lg: 8px; --radius-xl: 12px; --radius-full: 9999px; /* Layout */ --header-height: 48px; --sidebar-width: 280px; --context-width: 320px; /* Transitions */ --transition-fast: 0.1s ease; --transition-base: 0.2s cubic-bezier(0.1, 0.9, 0.2, 1); --transition-slow: 0.3s cubic-bezier(0.4, 0, 0.2, 1); } /* === BASE === */ * { box-sizing: border-box; } html { font-size: 14px; -webkit-font-smoothing: antialiased; } body { font-family: 'Segoe UI', 'Inter', system-ui, -apple-system, sans-serif; background: var(--bg-page); color: var(--text-primary); line-height: 1.5; margin: 0; overflow: hidden; } /* === SCROLLBAR STYLE OUTLOOK === */ ::-webkit-scrollbar { width: 12px; height: 12px; } ::-webkit-scrollbar-track { background: transparent; } ::-webkit-scrollbar-thumb { background: var(--neutral-80); border-radius: var(--radius-full); border: 3px solid transparent; background-clip: padding-box; } ::-webkit-scrollbar-thumb:hover { background: var(--neutral-60); background-clip: padding-box; } ::-webkit-scrollbar-corner { background: transparent; } /* =================================================== HEADER - Style Outlook (compact et efficace) =================================================== */ #header { height: var(--header-height); background: var(--bg-header); border-bottom: 1px solid var(--border-default); padding: 0 8px; display: flex; align-items: center; position: fixed; top: 0; left: 0; right: 0; z-index: 1000; } /* Logo */ #header .logo { display: flex; align-items: center; gap: 8px; padding: 4px 8px; text-decoration: none; border-radius: var(--radius-sm); transition: background var(--transition-fast); } #header .logo:hover { background: var(--bg-surface-hover); } #header .logo img { width: 24px; height: 24px; } #header .logo span { font-weight: 600; font-size: 1rem; color: var(--text-primary); letter-spacing: 0.3px; } /* Toggle sidebar */ .toggle-sidebar-btn { font-size: 1.2rem; color: var(--text-secondary); padding: 6px 8px; border-radius: var(--radius-sm); cursor: pointer; transition: all var(--transition-fast); margin-left: 4px; } .toggle-sidebar-btn:hover { background: var(--bg-surface-hover); color: var(--text-primary); } /* Breadcrumb */ .breadcrumb { background: transparent; padding: 0 16px; margin: 0; font-size: 0.85rem; } .breadcrumb-item a { color: var(--text-secondary); text-decoration: none; padding: 4px 6px; border-radius: var(--radius-sm); transition: all var(--transition-fast); display: inline-flex; align-items: center; gap: 4px; } .breadcrumb-item a:hover { background: var(--bg-surface-hover); color: var(--text-primary); } .breadcrumb-item.active { color: var(--text-primary); font-weight: 500; padding: 4px 6px; } /* Header Icons */ .header-nav { height: 100%; } .header-nav ul { display: flex; align-items: center; height: 100%; margin: 0; padding: 0; list-style: none; } .header-nav .nav-link { display: flex; align-items: center; padding: 0 12px; height: 100%; color: var(--text-secondary); text-decoration: none; font-size: 0.9rem; transition: all var(--transition-fast); position: relative; border-bottom: 2px solid transparent; } .header-nav .nav-link:hover { background: var(--bg-surface-hover); color: var(--text-primary); border-bottom-color: var(--primary); } /* Badge notifications */ .badge-number { position: absolute; top: 8px; right: 4px; background: var(--status-error); color: white; font-size: 0.65rem; font-weight: 600; min-width: 16px; height: 16px; border-radius: var(--radius-full); display: flex; align-items: center; justify-content: center; border: 1px solid white; } /* Company logo area */ .entity-info { display: flex; align-items: center; gap: 8px; padding: 4px 12px; border-radius: var(--radius-sm); transition: background var(--transition-fast); text-decoration: none; color: var(--text-primary); height: 100%; } .entity-info:hover { background: var(--bg-surface-hover); } .entity-logo { height: 28px; width: auto; max-width: 100px; object-fit: contain; } .entity-name { font-weight: 500; font-size: 0.85rem; color: var(--text-secondary); } /* User initials - style Outlook */ .initials { width: 32px; height: 32px; background: var(--primary); color: white; font-weight: 600; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-full); transition: all var(--transition-fast); } .nav-link:hover .initials { background: var(--primary-hover); transform: scale(1.05); } /* Dropdown - style Outlook */ .dropdown-menu { border: 1px solid var(--border-default); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 4px 0; margin-top: 4px !important; min-width: 200px; background: var(--bg-surface); } .dropdown-item { padding: 8px 16px; font-size: 0.85rem; color: var(--text-primary); display: flex; align-items: center; gap: 10px; transition: all var(--transition-fast); } .dropdown-item:hover { background: var(--bg-surface-hover); color: var(--text-primary); } .dropdown-item i { width: 18px; color: var(--text-secondary); font-size: 0.9rem; } /* =================================================== SIDEBAR - Style Outlook (Fluent UI) =================================================== */ #sidebar { width: var(--sidebar-width); background: var(--bg-sidebar); position: fixed; top: var(--header-height); left: 0; height: calc(100vh - var(--header-height)); overflow-y: auto; border-right: 1px solid var(--border-default); transition: width var(--transition-slow), transform var(--transition-slow); z-index: 900; } /* Sidebar brand */ .sidebar-brand { padding: 16px 20px; display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--border-default); } .sidebar-brand img { width: 28px; height: 28px; } .sidebar-brand span { font-weight: 600; font-size: 1rem; color: var(--text-primary); } /* Sidebar nav */ .sidebar-nav { list-style: none; padding: 8px 0; margin: 0; } .sidebar-nav .nav-item { margin: 2px 0; } /* Parent links */ .sidebar-nav > .nav-item > .nav-link { display: flex; align-items: center; gap: 12px; padding: 10px 20px; color: var(--text-primary); text-decoration: none; font-size: 0.9rem; font-weight: 400; transition: all var(--transition-fast); position: relative; border-left: 3px solid transparent; } .sidebar-nav > .nav-item > .nav-link:hover { background: var(--bg-surface-hover); border-left-color: var(--neutral-80); } .sidebar-nav > .nav-item > .nav-link.active { background: var(--primary-soft); border-left-color: var(--primary); font-weight: 500; } .sidebar-nav > .nav-item > .nav-link i:first-child { width: 20px; color: var(--text-secondary); font-size: 1.1rem; } .sidebar-nav > .nav-item > .nav-link .bi-chevron-down { margin-left: auto; font-size: 0.8rem; color: var(--text-tertiary); transition: transform var(--transition-fast); } .sidebar-nav > .nav-item > .nav-link[aria-expanded="true"] .bi-chevron-down { transform: rotate(180deg); } /* Sub-menu */ .sidebar-nav .nav-content { list-style: none; padding: 4px 0 4px 44px; margin: 0; background: var(--bg-page); } .sidebar-nav .nav-content li a { display: block; padding: 8px 16px; color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: all var(--transition-fast); border-radius: var(--radius-sm); margin: 2px 0; } .sidebar-nav .nav-content li a:hover { background: var(--bg-surface-hover); color: var(--text-primary); } .sidebar-nav .nav-content li a.active-submenu { color: var(--primary); font-weight: 500; background: var(--primary-soft); } /* =================================================== MAIN CONTENT - Style Outlook =================================================== */ #main { margin-left: var(--sidebar-width); padding-top: var(--header-height); min-height: 100vh; transition: margin-left var(--transition-slow); background: var(--bg-page); } /* Page content */ .page-content { padding: 24px; } /* Scroll Menu - style onglets Outlook */ .scrollmenu { display: flex; gap: 2px; overflow-x: auto; background: transparent; border-bottom: 1px solid var(--border-default); margin-bottom: 24px; padding: 0; } .scrollmenu a { white-space: nowrap; padding: 8px 16px; font-size: 0.85rem; color: var(--text-secondary); text-decoration: none; transition: all var(--transition-fast); border-bottom: 2px solid transparent; margin-bottom: -1px; } .scrollmenu a:hover { color: var(--text-primary); background: var(--bg-surface-hover); border-bottom-color: var(--neutral-80); } .scrollmenu a.active { color: var(--primary); font-weight: 500; border-bottom-color: var(--primary); } /* =================================================== CONTEXT DRAWER - Style Outlook =================================================== */ .btn-info-context { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 950; background: var(--bg-surface); color: var(--text-secondary); border: 1px solid var(--border-default); border-radius: var(--radius-full); padding: 8px 12px; cursor: pointer; box-shadow: var(--shadow-md); display: flex; align-items: center; gap: 6px; transition: all var(--transition-fast); font-size: 0.85rem; } .btn-info-context:hover { background: var(--bg-surface-hover); color: var(--text-primary); box-shadow: var(--shadow-lg); right: 14px; } .btn-info-context i { font-size: 1rem; } /* Context Drawer */ #barre_laterale_d { position: fixed; right: -380px; top: var(--header-height); width: var(--context-width); height: calc(100vh - var(--header-height)); background: var(--bg-surface); border-left: 1px solid var(--border-default); box-shadow: var(--shadow-lg); z-index: 950; overflow-y: auto; transition: right var(--transition-slow); } #barre_laterale_d.show { right: 0; } /* Drawer header */ .btn-cacher-contexte { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 20px; background: var(--bg-surface); border: none; border-bottom: 1px solid var(--border-default); cursor: pointer; font-size: 0.9rem; font-weight: 500; color: var(--text-primary); transition: background var(--transition-fast); } .btn-cacher-contexte:hover { background: var(--bg-surface-hover); } .btn-cacher-contexte i { color: var(--text-secondary); transition: transform var(--transition-fast); } .btn-cacher-contexte:hover i { transform: translateX(4px); } /* Context Cards */ .context-card { background: var(--bg-page); border: 1px solid var(--border-default); border-radius: var(--radius-md); padding: 16px; margin: 16px; transition: all var(--transition-fast); } .context-card:hover { background: var(--bg-surface); box-shadow: var(--shadow-sm); border-color: var(--border-hover); } .context-card-header { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; color: var(--text-tertiary); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; } .context-card-header i { color: var(--primary); } .context-btn { width: 100%; background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 10px 12px; text-align: left; font-size: 0.85rem; color: var(--text-primary); cursor: pointer; transition: all var(--transition-fast); display: flex; align-items: center; gap: 8px; } .context-btn:hover { background: var(--bg-surface-hover); border-color: var(--border-hover); transform: translateX(2px); } .context-btn i { color: var(--primary); width: 18px; } /* Stats badges */ .family-stats { display: flex; gap: 8px; margin-top: 8px; } .family-stats .badge { background: var(--bg-surface); border: 1px solid var(--border-default); color: var(--text-secondary); font-weight: 500; padding: 4px 8px; border-radius: var(--radius-sm); font-size: 0.75rem; } /* Photo container */ .photo-container { text-align: center; margin: 16px; } .photo-container img { width: 80px; height: 80px; object-fit: cover; border-radius: var(--radius-sm); border: 2px solid var(--bg-surface); box-shadow: var(--shadow-sm); cursor: pointer; transition: all var(--transition-fast); } .photo-container img:hover { transform: scale(1.05); box-shadow: var(--shadow-md); border-color: var(--primary); } /* Recent policies */ .recent-policies-title { font-size: 0.7rem; font-weight: 600; text-transform: uppercase; color: var(--text-tertiary); padding: 16px 16px 8px; letter-spacing: 0.5px; } .policy-item { display: block; padding: 8px 16px; color: var(--text-secondary); text-decoration: none; font-size: 0.85rem; transition: all var(--transition-fast); border-left: 2px solid transparent; } .policy-item:hover { background: var(--bg-surface-hover); color: var(--text-primary); border-left-color: var(--primary); } /* =================================================== TABLES - Style Outlook (Fluent UI) =================================================== */ .table-container { background: var(--bg-surface); border-radius: var(--radius-md); border: 1px solid var(--border-default); overflow: hidden; } .table { width: 100%; border-collapse: collapse; font-size: 0.85rem; background: var(--bg-surface); } .table thead th { background: var(--bg-page); color: var(--text-secondary); font-weight: 600; font-size: 0.8rem; padding: 12px 16px; border-bottom: 1px solid var(--border-default); text-transform: uppercase; letter-spacing: 0.3px; white-space: nowrap; text-align: left; } .table tbody td { padding: 12px 16px; border-bottom: 1px solid var(--border-default); color: var(--text-primary); vertical-align: middle; } .table tbody tr { transition: background var(--transition-fast); } .table tbody tr:hover { background: var(--bg-surface-hover); } .table tbody tr:last-child td { border-bottom: none; } /* Status badges - style Outlook */ .badge-status { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--radius-full); font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.3px; } .badge-success { background: #dff6dd; color: var(--status-success); } .badge-warning { background: #fff4ce; color: #8e7000; } .badge-error { background: #fde7e9; color: var(--status-error); } .badge-info { background: #deecf9; color: var(--primary); } .badge-urgent { background: #fde7e9; color: var(--status-urgent); animation: pulse-subtle 1.5s infinite; } @keyframes pulse-subtle { 0%, 100% { opacity: 1; } 50% { opacity: 0.8; } } /* =================================================== CARDS - Style Outlook =================================================== */ .card { background: var(--bg-surface); border: 1px solid var(--border-default); border-radius: var(--radius-md); box-shadow: var(--shadow-card); transition: all var(--transition-fast); overflow: hidden; } .card:hover { box-shadow: var(--shadow-sm); border-color: var(--border-hover); } .card-header { padding: 16px 20px; border-bottom: 1px solid var(--border-default); background: var(--bg-page); font-weight: 600; color: var(--text-primary); display: flex; align-items: center; gap: 8px; } .card-header i { color: var(--primary); } .card-body { padding: 20px; } /* =================================================== BUTTONS - Style Outlook =================================================== */ .btn { padding: 8px 20px; border-radius: var(--radius-sm); font-size: 0.85rem; font-weight: 500; border: 1px solid transparent; transition: all var(--transition-fast); display: inline-flex; align-items: center; gap: 8px; cursor: pointer; background: var(--bg-surface); border-color: var(--border-default); color: var(--text-primary); } .btn:hover { background: var(--bg-surface-hover); border-color: var(--border-hover); } .btn-primary { background: var(--primary); border-color: var(--primary); color: white; } .btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); transform: translateY(-1px); box-shadow: var(--shadow-sm); } .btn-outline-primary { background: transparent; border-color: var(--primary); color: var(--primary); } .btn-outline-primary:hover { background: var(--primary-soft); } .btn-sm { padding: 4px 12px; font-size: 0.75rem; } .btn-lg { padding: 10px 24px; font-size: 0.95rem; } /* =================================================== FORMS - Style Outlook =================================================== */ .form-control, .form-select { border: 1px solid var(--border-default); border-radius: var(--radius-sm); padding: 8px 12px; font-size: 0.85rem; color: var(--text-primary); background: var(--bg-surface); transition: all var(--transition-fast); width: 100%; height: auto; } .form-control:hover, .form-select:hover { border-color: var(--border-hover); } .form-control:focus, .form-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 120, 212, 0.1); outline: none; } .form-label { font-weight: 500; color: var(--text-secondary); margin-bottom: 6px; font-size: 0.8rem; display: block; } /* =================================================== MODALS - Style Outlook =================================================== */ .modal-content { border: 1px solid var(--border-default); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); overflow: hidden; } .modal-header { background: var(--bg-page); border-bottom: 1px solid var(--border-default); padding: 16px 20px; } .modal-title { font-weight: 600; color: var(--text-primary); font-size: 1rem; } .modal-header .btn-close { background: transparent; border: none; font-size: 1.2rem; color: var(--text-secondary); padding: 4px; border-radius: var(--radius-sm); transition: all var(--transition-fast); cursor: pointer; } .modal-header .btn-close:hover { background: var(--bg-surface-hover); color: var(--text-primary); } .modal-body { padding: 20px; } .modal-footer { border-top: 1px solid var(--border-default); padding: 16px 20px; background: var(--bg-page); gap: 8px; } /* =================================================== LOADERS & PROGRESS =================================================== */ .spinner-outlook { width: 32px; height: 32px; border: 3px solid var(--border-default); border-top-color: var(--primary); border-radius: 50%; animation: spin 1s linear infinite; } @keyframes spin { to { transform: rotate(360deg); } } /* Skeleton loader */ .skeleton { background: linear-gradient(90deg, var(--border-default) 25%, var(--bg-surface-hover) 50%, var(--border-default) 75% ); background-size: 200% 100%; animation: skeleton-loading 1.5s infinite; } @keyframes skeleton-loading { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } } /* =================================================== UTILS =================================================== */ .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; } /* Hover effects */ .hover-lift { transition: transform var(--transition-fast), box-shadow var(--transition-fast); } .hover-lift:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); } .hover-scale { transition: transform var(--transition-fast); } .hover-scale:hover { transform: scale(1.02); } /* Mode test */ .mode-test-active #header { background: #fff4ce; border-bottom-color: #ffaa44; } .mode-test-banner { background: repeating-linear-gradient(45deg, #ffaa44, #ffaa44 10px, #fff4ce 10px, #fff4ce 20px); color: var(--text-primary); text-align: center; font-size: 0.7rem; font-weight: 600; padding: 2px; } /* =================================================== RESPONSIVE =================================================== */ @media (max-width: 1199px) { #main { margin-left: 0; } #sidebar { transform: translateX(-100%); } #sidebar.sidebar-open { transform: translateX(0); } } @media (max-width: 768px) { .page-content { padding: 16px; } #barre_laterale_d { width: 100%; } .scrollmenu { flex-wrap: nowrap; } }