/* ...existing styles... */

/* Responsive Sidebar behavior for <1050px */
@media (max-width: 1049.98px) {
  .sidebar-nav {
    position: fixed;
    left: -280px;
    top: 0;
    height: 100vh;
    width: var(--sidebar-width, 280px);
    transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
    z-index: 999;
    background: var(--sidebar-bg,#f8f9fa);
    color: var(--sidebar-color,#212529);
    box-shadow: var(--sidebar-shadow,0 6px 20px rgba(0,0,0,0.08));
    border-right: 1px solid #dde2e6;
    overflow-y: auto;
  }
  .sidebar-nav.open {
    left: 0;
  }
}

@media (min-width: 1050px) {
  .sidebar-nav {
    position: static !important;
    left: 0 !important;
    height: auto !important;
    box-shadow: none;
    border-right: 1px solid #dde2e6;
    width: var(--sidebar-width, 280px) !important;
  }
}

.sidebar-nav {
  transition: left 0.3s cubic-bezier(0.4,0,0.2,1);
}

/* Overlay for mobile sidebar (appears below 1050px when open) */
.sidebar-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.25);
  z-index: 998;
}
.sidebar-nav.open ~ .sidebar-overlay {
  display: block;
}
