/* ══════════════════════════════════════════════════════════════════
   SHARED SIDEBAR — loaded by Dashboard, Group Tickets and Umrah Packages.
   Prefixed with `aside.sidebar` so it always wins over each page's own
   (slightly different) sidebar rules → identical size/spacing everywhere.
══════════════════════════════════════════════════════════════════ */
aside.sidebar{
  width:220px;flex-shrink:0;height:100vh;position:fixed;top:0;left:0;
  background:#fff;border-right:1px solid #e2e8f0;
  display:flex;flex-direction:column;overflow-y:auto;overflow-x:hidden;z-index:900;
  font-family:'Inter',system-ui,sans-serif;line-height:normal;
  scrollbar-width:thin;scrollbar-color:#cbd5e1 transparent;
}
aside.sidebar::-webkit-scrollbar{width:4px}
aside.sidebar::-webkit-scrollbar-thumb{background:#cbd5e1;border-radius:99px}
aside.sidebar .sb-brand{padding:16px 18px 12px;border-bottom:1px solid #e2e8f0;margin-bottom:8px;flex-shrink:0}
aside.sidebar .sb-brand img{width:140px;height:auto;display:block}
aside.sidebar .sb-section{margin-bottom:4px;flex-shrink:0}
aside.sidebar .sb-nav-label{font-size:10px;font-weight:700;color:#6b7a99;letter-spacing:.9px;text-transform:uppercase;padding:10px 18px 4px;line-height:normal}
aside.sidebar .sb-item{
  display:flex;align-items:center;gap:10px;width:100%;
  padding:9px 18px;font-size:13px;font-weight:500;line-height:normal;font-family:inherit;
  color:#6b7a99;cursor:pointer;text-decoration:none;
  border:0;border-left:3px solid transparent;background:none;transition:all .15s;
}
aside.sidebar .sb-item i{font-size:13px;width:16px;text-align:center;flex-shrink:0}
aside.sidebar .sb-item:hover{background:#f4f7fc;color:#3A4FD9}
aside.sidebar .sb-item.active{background:#e8f3fb;color:#3A4FD9;font-weight:600;border-left:3px solid #3A4FD9}
aside.sidebar .sb-item.active i{color:#3A4FD9}
aside.sidebar .sb-divider{height:1px;background:#e2e8f0;margin:6px 16px}
aside.sidebar .sb-spacer{flex:1}
aside.sidebar .sb-logout-wrap{padding:10px 12px;border-top:1px solid #e2e8f0;flex-shrink:0}
aside.sidebar .sb-footer{padding:12px 18px;border-top:1px solid #e2e8f0;flex-shrink:0;display:flex;align-items:center;gap:6px}
aside.sidebar .sb-footer-txt{font-size:10px;color:#94a3b8;font-family:'DM Mono',monospace;letter-spacing:.02em}
aside.sidebar .sb-stats{padding:4px 12px 8px;flex-shrink:0}
aside.sidebar .sb-stat-row{display:flex;align-items:center;justify-content:space-between;padding:5px 8px;border-radius:7px;margin-bottom:2px}
aside.sidebar .sb-stat-lbl{font-size:11px;font-weight:500;color:#6b7a99}
aside.sidebar .sb-stat-val{font-size:12px;font-weight:700;color:#3A4FD9;font-family:'DM Mono',monospace;background:rgba(58,79,217,.08);padding:1px 7px;border-radius:5px;border:1px solid rgba(58,79,217,.15)}

@media(max-width:768px){
  aside.sidebar{transform:translateX(-220px);transition:transform .28s cubic-bezier(.4,0,.2,1)}
  aside.sidebar.open{transform:translateX(0)}
}

/* ── Page-change loader (thin top bar + dimmed content + spinner on the clicked item) ── */
#tkNavBar{position:fixed;top:0;left:0;height:3px;width:0;z-index:3000;opacity:0;pointer-events:none;
  background:linear-gradient(90deg,#3A4FD9,#009BB2);box-shadow:0 0 8px rgba(0,155,178,.5);
  transition:width .35s ease,opacity .2s ease}
#tkNavBar.on{opacity:1}
body.tk-navigating .main-wrap,body.tk-navigating .main-content{opacity:.55;transition:opacity .2s;pointer-events:none}
body.tk-navigating aside.sidebar .sb-item{pointer-events:none}
