/* Simple Loan Information System — independent sidebar styles */
:root { --sidebar-width: 265px; --sidebar-bg: #101b35; --sidebar-hover: #1d2b4c; --primary: #3157d5; }
.sidebar { position:fixed; inset:0 auto 0 0; z-index:1050; width:var(--sidebar-width); height:100vh; overflow-y:auto; background:var(--sidebar-bg); color:#fff; padding:20px 13px; transition:transform .25s ease; }
.brand { display:flex; align-items:center; gap:12px; padding:8px 10px 22px; color:#fff; border-bottom:1px solid rgba(255,255,255,.12); margin-bottom:18px; }
.brand:hover { color:#fff; }
.brand-logo { display:flex; align-items:center; justify-content:center; width:42px; height:42px; border-radius:12px; background:#3157d5; font-size:22px; }
.brand-title { font-size:15px; font-weight:750; line-height:1.3; }
.brand-subtitle { margin-top:3px; color:#aebbd5; font-size:11px; }
.sidebar-section { padding:12px 12px 7px; color:#8494b6; text-transform:uppercase; letter-spacing:1.2px; font-size:10px; font-weight:800; }
.sidebar .nav-link, .sidebar .menu-toggle { display:flex; align-items:center; width:100%; gap:11px; border:0; border-radius:9px; padding:11px 12px; margin:3px 0; color:#d6deed; background:transparent; text-align:left; font-size:13px; font-weight:550; transition:background .15s ease,color .15s ease; }
.sidebar .nav-link:hover, .sidebar .menu-toggle:hover { background:var(--sidebar-hover); color:#fff; }
.sidebar .nav-link.active, .sidebar .menu-toggle.active { color:#fff; background:var(--primary); }
.sidebar .nav-link>i:first-child, .sidebar .menu-toggle>i:first-child { width:19px; text-align:center; font-size:16px; flex-shrink:0; }
.menu-toggle .chevron { margin-left:auto; font-size:12px; transition:transform .2s ease; }
.menu-toggle[aria-expanded="true"] .chevron { transform:rotate(90deg); }
.submenu { padding:3px 0 6px 16px; }
.submenu .nav-link { padding:9px 10px; font-size:12px; color:#b9c5dc; }
.submenu .nav-link>i:first-child { font-size:13px; }
.sidebar-bottom { border-top:1px solid rgba(255,255,255,.12); margin-top:24px; padding-top:12px; }
.sidebar-user { padding:12px; color:#d6deed; font-size:12px; overflow-wrap:anywhere; }
.sidebar-user .role { color:#94a5c4; font-size:11px; margin-top:3px; }
.sidebar-overlay { display:none; }
@media (max-width:991.98px) { .sidebar { transform:translateX(-100%); } .sidebar.show { transform:translateX(0); } .sidebar-overlay.show { display:block; position:fixed; inset:0; z-index:1040; background:rgba(8,18,38,.48); } }
