/* ============================================================================
   Utility CSS — cross-cutting styles not scoped to a specific component.
   ============================================================================ */

/* ----------------------------------------------------------------------------
   Scrollbar Thin — CSS-only replacement for SimpleBar JS

   Apply .scrollbar-thin to any scrollable container to get a minimal,
   unobtrusive scrollbar that appears on hover.
   ---------------------------------------------------------------------------- */

/* Firefox */
.scrollbar-thin {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
}

.scrollbar-thin:hover {
    scrollbar-color: rgba(128, 128, 128, 0.4) transparent;
}

/* Webkit (Chrome, Safari, Edge) */
.scrollbar-thin::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

.scrollbar-thin::-webkit-scrollbar-track {
    background: transparent;
}

.scrollbar-thin::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 3px;
}

.scrollbar-thin:hover::-webkit-scrollbar-thumb {
    background-color: rgba(128, 128, 128, 0.4);
}

.scrollbar-thin::-webkit-scrollbar-thumb:hover {
    background-color: rgba(128, 128, 128, 0.55);
}
