/* Mobile Sidebar Styles */
.mobile-sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 300px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
  z-index: 1050;
  transition: left 0.3s ease;
  overflow-y: auto;
}

.mobile-sidebar.active {
  left: 0;
}

.sidebar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  border-bottom: 1px solid #eee;
}

.sidebar-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #666;
  cursor: pointer;
}

.sidebar-content {
  padding: 1rem 0;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav li {
  border-bottom: 1px solid #f0f0f0;
}

.sidebar-link {
  display: block;
  padding: 1rem 1.5rem;
  color: #333;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.sidebar-link:hover {
  background: #f8f9fa;
  color: #007bff;
}

.sidebar-submenu {
  list-style: none;
  padding: 0;
  margin: 0;
  background: #f8f9fa;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.sidebar-submenu.active {
  max-height: 400px;
}

.sidebar-sublink {
  display: block;
  padding: 0.75rem 2rem;
  color: #666;
  text-decoration: none;
  font-size: 0.9rem;
}

.sidebar-sublink:hover {
  background: #e9ecef;
  color: #007bff;
}

.sidebar-footer {
  padding: 1rem;
  border-top: 1px solid #eee;
  margin-top: auto;
}

.sidebar-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.sidebar-overlay.active {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 992px) {
  .mobile-sidebar,
  .sidebar-overlay {
    display: none;
  }
}
