/* Quiet scrollbars for every role page.
   Thin translucent thumb, no bright track. Page and sidebar scroll ease instead of jumping. */
html {
  scroll-behavior: smooth;
}

html body,
#content,
#sidebar-admin-wraper,
#sidebar-admin-wraper .admin-nav,
.modal-body,
.vt-alert,
.swal2-html-container {
  scroll-behavior: smooth;
}

html body,
html body * {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(100, 116, 139, 0.38) transparent !important;
}

html body::-webkit-scrollbar,
html body *::-webkit-scrollbar {
  width: 6px !important;
  height: 6px !important;
}

html body::-webkit-scrollbar-track,
html body *::-webkit-scrollbar-track,
html body::-webkit-scrollbar-corner,
html body *::-webkit-scrollbar-corner {
  background: transparent !important;
}

html body::-webkit-scrollbar-thumb,
html body *::-webkit-scrollbar-thumb {
  background-color: rgba(100, 116, 139, 0.38) !important;
  border-radius: 999px !important;
  border: 1px solid transparent !important;
  background-clip: padding-box !important;
}

html body::-webkit-scrollbar-thumb:hover,
html body *::-webkit-scrollbar-thumb:hover {
  background-color: rgba(71, 85, 105, 0.58) !important;
}

/* Dark sidebar: a faint thumb, not the light Windows bar */
#sidebar-admin-wraper,
#sidebar-admin-wraper * {
  scrollbar-color: rgba(255, 255, 255, 0.28) transparent !important;
}

#sidebar-admin-wraper::-webkit-scrollbar-thumb,
#sidebar-admin-wraper *::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.28) !important;
}

#sidebar-admin-wraper::-webkit-scrollbar-thumb:hover,
#sidebar-admin-wraper *::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 255, 0.46) !important;
}

/* Horizontal chip rows stay flush; they are not page scroll */
.hub-pill-row,
.hub-pill-row * {
  scrollbar-width: none !important;
}

.hub-pill-row::-webkit-scrollbar,
.hub-pill-row *::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
