/* ── Sidebar Navigation ───────────────────────────────────────── */
.cat-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 250px;
  height: 100vh;
  background: #fff;
  border-right: 1px solid var(--color-border);
  z-index: 900;
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding-top: 0;
}

.cat-sidebar.is-collapsed {
  transform: translateX(-250px);
}

.cat-sidebar__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 16px;
  border-bottom: 1px solid var(--color-border);
}

.cat-sidebar__brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--bn-turquoise-dark, #0C7C86);
  text-decoration: none;
}

.cat-sidebar__brand small {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--color-muted);
  letter-spacing: 0.5px;
}

.cat-sidebar__nav {
  flex: 1;
  padding: 12px 0;
  overflow-y: auto;
}

.cat-sidebar__link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 11px 24px;
  color: var(--color-muted);
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border-radius: 0;
}

.cat-sidebar__link svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  opacity: 0.6;
}

.cat-sidebar__link:hover {
  background: #f0faf9;
  color: var(--bn-turquoise-dark, #0C7C86);
}

.cat-sidebar__link.is-active {
  background: linear-gradient(90deg, #0C7C86, #0e8e99);
  color: #fff;
  border-radius: 0 30px 30px 0;
  margin-right: 16px;
}

.cat-sidebar__link.is-active svg {
  opacity: 1;
}

.cat-sidebar__footer {
  border-top: 1px solid var(--color-border);
  padding: 12px 0;
}

/* Sidebar overlay on mobile */
.cat-sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 899;
}

.cat-sidebar-overlay.is-active {
  display: block;
}

@media (min-width: 769px) {
  .cat-sidebar-overlay.is-active {
    display: none;
  }
}

@media (max-width: 768px) {
  .cat-sidebar {
    transform: translateX(-250px);
  }
  .cat-sidebar.is-open-mobile {
    transform: translateX(0);
  }
}
