@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css"); :root { --sl-sidebar-width: 260px; --sl-sidebar-bg: #14233b; --sl-sidebar-text: #d8e1ef; --sl-sidebar-muted: #91a2bb; --sl-sidebar-active: #2764d8; } /* Main layout */ .sl-app-layout { min-height: 100vh; } .sl-main-content { min-width: 0; min-height: 100vh; margin-left: var(--sl-sidebar-width); width: calc(100% - var(--sl-sidebar-width)); background: #f4f6f9; } /* Sidebar */ .sidebar { position: fixed; inset: 0 auto 0 0; z-index: 1040; display: flex; flex-direction: column; width: var(--sl-sidebar-width); height: 100vh; color: var(--sl-sidebar-text); background: linear-gradient(180deg, #14233b, #101c30); box-shadow: 4px 0 18px rgba(12, 24, 44, .12); } .sidebar-brand { min-height: 78px; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.09); } .brand-link { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; } .brand-mark { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; color: #fff; background: var(--sl-sidebar-active); font-size: 1.35rem; } .brand-text { display: flex; flex-direction: column; line-height: 1.25; } .brand-text strong { font-size: 1rem; } .brand-text small { color: var(--sl-sidebar-muted); font-size: .74rem; margin-top: 3px; } .sidebar-close { color: #fff; border: 0; background: transparent; font-size: 1.2rem; } .sidebar-user { display: flex; align-items: center; gap: 11px; padding: 18px; border-bottom: 1px solid rgba(255,255,255,.08); } .user-avatar { display: grid; place-items: center; width: 40px; height: 40px; flex-shrink: 0; border-radius: 50%; color: #fff; background: rgba(255,255,255,.13); font-size: 1.2rem; } .user-details { display: flex; flex-direction: column; min-width: 0; } .user-details strong { color: #fff; font-size: .86rem; overflow-wrap: anywhere; } .user-details small { color: var(--sl-sidebar-muted); font-size: .75rem; margin-top: 3px; } /* Navigation */ .sidebar-nav { flex: 1; overflow-y: auto; padding: 12px 10px 18px; } .sidebar-section { margin-bottom: 15px; } .sidebar-section-title { padding: 7px 11px; color: var(--sl-sidebar-muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; letter-spacing: .11em; } .sidebar-link { display: flex; align-items: center; gap: 12px; margin: 3px 0; padding: 10px 12px; border-radius: 9px; color: var(--sl-sidebar-text); text-decoration: none; font-size: .88rem; transition: background .15s ease, color .15s ease; } .sidebar-link i { width: 19px; text-align: center; font-size: 1.05rem; flex-shrink: 0; } .sidebar-link:hover { color: #fff; background: rgba(255,255,255,.09); } .sidebar-link.active { color: #fff; background: var(--sl-sidebar-active); font-weight: 700; box-shadow: 0 5px 12px rgba(39,100,216,.22); } .sidebar-bottom { padding: 12px 10px 16px; border-top: 1px solid rgba(255,255,255,.09); } /* Mobile */ .sidebar-backdrop { display: none; } @media (max-width: 991.98px) { .sidebar { transform: translateX(-105%); transition: transform .22s ease; } .sidebar.is-open { transform: translateX(0); } .sl-main-content { margin-left: 0; width: 100%; } .sidebar-backdrop.is-visible { display: block; position: fixed; inset: 0; z-index: 1035; background: rgba(8,18,32,.52); } body.sidebar-open { overflow: hidden; } } /* Printing */ @media print { .sidebar, .sidebar-backdrop { display: none !important; } .sl-main-content { margin-left: 0 !important; width: 100% !important; } }