/*
 * Wiggy sidebar scroll + dashboard date fix v1
 * The application sidebar is fixed by design. Only its navigation list scrolls
 * when the viewport is shorter than the complete menu.
 */

@media (min-width: 901px) {
  .sidebar {
    overflow: hidden;
  }

  .sidebar .main-nav {
    min-height: 0;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior-y: contain;
    padding-right: 3px;
    scrollbar-color: rgba(255, 255, 255, 0.24) transparent;
    scrollbar-width: thin;
  }

  .sidebar .main-nav::-webkit-scrollbar {
    width: 5px;
  }

  .sidebar .main-nav::-webkit-scrollbar-track {
    background: transparent;
  }

  .sidebar .main-nav::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.22);
    border-radius: 999px;
  }

  .sidebar .main-nav::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.36);
  }

  .sidebar .sidebar-status {
    flex: 0 0 auto;
  }
}
