/* Custom Menu Styles */

.custom-menu, .comprehensive-menu {
  background-color: #ffffff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.custom-menu h3, .comprehensive-menu h3 {
  color: #3b82f6;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.25rem;
}

.custom-menu h4, .comprehensive-menu h4 {
  color: #4b5563;
  font-weight: 600;
  font-size: 1rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

.custom-menu ul, .comprehensive-menu ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.custom-menu li, .comprehensive-menu li {
  margin-bottom: 0.5rem;
}

.custom-menu a, .comprehensive-menu a {
  display: block;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  color: #374151;
  text-decoration: none;
  transition: all 0.2s ease;
}

.custom-menu a:hover, .comprehensive-menu a:hover {
  background-color: #f3f4f6;
  color: #1f2937;
}

.custom-menu a.active, .comprehensive-menu a.active {
  background-color: #dbeafe;
  color: #1d4ed8;
  font-weight: 500;
}

/* Dark mode styles */
@media (prefers-color-scheme: dark) {
  .custom-menu, .comprehensive-menu {
    background-color: #1f2937;
  }
  
  .custom-menu h3, .comprehensive-menu h3 {
    color: #60a5fa;
  }
  
  .custom-menu h4, .comprehensive-menu h4 {
    color: #9ca3af;
  }
  
  .custom-menu a, .comprehensive-menu a {
    color: #d1d5db;
  }
  
  .custom-menu a:hover, .comprehensive-menu a:hover {
    background-color: #374151;
    color: #f9fafb;
  }
  
  .custom-menu a.active, .comprehensive-menu a.active {
    background-color: #1e3a8a;
    color: #bfdbfe;
  }
}

/* Responsive styles */
@media (max-width: 1024px) {
  .custom-menu, .comprehensive-menu {
    margin-bottom: 1rem;
  }
}

/* Scrollable sections */
.max-h-96 {
  max-height: 24rem;
}

.overflow-y-auto {
  overflow-y: auto;
}

/* Custom scrollbar */
.overflow-y-auto::-webkit-scrollbar {
  width: 6px;
}

.overflow-y-auto::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.overflow-y-auto::-webkit-scrollbar-thumb {
  background: #c7c7c7;
  border-radius: 10px;
}

.overflow-y-auto::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

/* Dark mode scrollbar */
@media (prefers-color-scheme: dark) {
  .overflow-y-auto::-webkit-scrollbar-track {
    background: #2d3748;
  }
  
  .overflow-y-auto::-webkit-scrollbar-thumb {
    background: #4a5568;
  }
  
  .overflow-y-auto::-webkit-scrollbar-thumb:hover {
    background: #718096;
  }
}