/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

/* Thin, styled scrollbar for dropdown menus etc. */
.scrollbar-thin {
  scrollbar-width: thin;
  scrollbar-color: rgba(156, 163, 175, 0.4) transparent;
}
.scrollbar-thin::-webkit-scrollbar {
  width: 6px;
}
.scrollbar-thin::-webkit-scrollbar-track {
  background: transparent;
}
.scrollbar-thin::-webkit-scrollbar-thumb {
  background: rgba(156, 163, 175, 0.4);
  border-radius: 3px;
}
.scrollbar-thin::-webkit-scrollbar-thumb:hover {
  background: rgba(156, 163, 175, 0.6);
}

@media (prefers-color-scheme: dark) {
  .scrollbar-thin {
    scrollbar-color: rgba(161, 161, 170, 0.3) transparent;
  }
  .scrollbar-thin::-webkit-scrollbar-thumb {
    background: rgba(161, 161, 170, 0.3);
  }
  .scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background: rgba(161, 161, 170, 0.5);
  }
}
