/* =============================================
   FIX SCROLL SIDEBAR DESKTOP
   Garante que o scroll funciona no desktop
   ============================================= */

/* Apenas para telas maiores que 768px (desktop) */
@media (min-width: 769px) {
  .dashboard-sidebar {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
  }
  
  .sidebar-content {
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    overflow: hidden !important;
  }
  
  .sidebar-navigation {
    flex: 1 !important;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    min-height: 0 !important;
    padding: 20px 0 40px 0 !important;
  }
  
  /* Remove espaçamentos excessivos */
  .nav-group:last-child {
    padding-bottom: 30px !important;
  }
  
  .admin-group {
    padding-bottom: 40px !important;
    margin-bottom: 20px !important;
  }
  
  /* Scrollbar bonita */
  .sidebar-navigation::-webkit-scrollbar {
    width: 8px;
  }
  
  .sidebar-navigation::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
  }
  
  .sidebar-navigation::-webkit-scrollbar-thumb {
    background: rgba(249, 115, 22, 0.5);
    border-radius: 4px;
  }
  
  .sidebar-navigation::-webkit-scrollbar-thumb:hover {
    background: rgba(249, 115, 22, 0.7);
  }
}

