
/* CerberHost 72.1.425 — GLOBAL UI SCROLLBAR */

/* Firefox */
html,
body,
* {
  scrollbar-width: thin;
  scrollbar-color: #a63dff #120819;
}

/* Chromium / Safari */
html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: #120819;
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg,#7225da 0%,#9d35f5 45%,#bd43ff 100%);
  border: 1px solid #1b0a26;
  border-radius: 999px;
  min-height: 38px;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.05),
    0 0 8px rgba(164,61,255,.22);
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg,#8530ef 0%,#b040ff 50%,#cf61ff 100%);
}

html::-webkit-scrollbar-corner,
body::-webkit-scrollbar-corner,
*::-webkit-scrollbar-corner {
  background: #120819;
}

/* Dodatkowe przewijane elementy CerberHost */
.wow-sidebar,
.admin-sidebar,
.sidebar,
.admin-menu,
.left-nav,
.wow-leftbar,
.wow-main,
.admin-main,
.main-content,
.dashboard-main,
.wow-content,
.modal,
.modal-body,
.dialog-body,
.file-list,
.console,
.console-output,
.ticket-list,
.notifications-list {
  scrollbar-gutter: stable;
}

/* zachowaj naprawę layoutu sidebara 72.1.422 */
.wow-sidebar,
.admin-sidebar,
aside.sidebar,
.admin-menu,
.left-nav,
.wow-leftbar {
  overflow-x: hidden;
}

@media (max-width: 820px) {
  html::-webkit-scrollbar,
  body::-webkit-scrollbar,
  *::-webkit-scrollbar {
    width: 6px;
    height: 6px;
  }

  html::-webkit-scrollbar-thumb,
  body::-webkit-scrollbar-thumb,
  *::-webkit-scrollbar-thumb {
    min-height: 32px;
  }
}
