/* Scrollbar luôn hiện (Chrome/Edge Windows) — thin, màu brand */
html,
body {
  overflow-x: hidden !important;
  overscroll-behavior-x: none !important;
  max-width: 100%;
}

html,
body,
* {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0, 80, 145, 0.45) transparent !important;
  -ms-overflow-style: auto !important;
}

::-webkit-scrollbar,
*::-webkit-scrollbar {
  -webkit-appearance: none !important;
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  background: transparent !important;
}

::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  display: block !important;
  background: rgba(0, 80, 145, 0.45) !important;
  border-radius: 99px !important;
}

::-webkit-scrollbar-track,
::-webkit-scrollbar-corner,
*::-webkit-scrollbar-track,
*::-webkit-scrollbar-corner {
  display: block !important;
  background: transparent !important;
}

::-webkit-scrollbar-button,
*::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Chrome filter/page-tools: ẩn scrollbar để không đè mép control (dùng edge fade) */
.hw-topnav .hw-page-tools,
.hw-topnav .hw-page-tools-inline,
.hw-page-tools-inline,
.hw-topnav .hw-page-tools-host {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}

.hw-topnav .hw-page-tools::-webkit-scrollbar,
.hw-topnav .hw-page-tools-inline::-webkit-scrollbar,
.hw-page-tools-inline::-webkit-scrollbar,
.hw-topnav .hw-page-tools-host::-webkit-scrollbar,
.hw-topnav .hw-page-tools::-webkit-scrollbar-thumb,
.hw-topnav .hw-page-tools-inline::-webkit-scrollbar-thumb,
.hw-page-tools-inline::-webkit-scrollbar-thumb,
.hw-topnav .hw-page-tools-host::-webkit-scrollbar-thumb {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
}

/* Candidate detail: hiện scrollbar ngang khi tên/email/SĐT overflow */
.hw-topnav .hw-page-tools:has(.hw-candidate-tools),
.hw-nav-center > .hw-page-tools-host:has(.hw-candidate-tools) {
  scrollbar-width: thin !important;
  scrollbar-color: rgba(0, 80, 145, 0.45) transparent !important;
  -ms-overflow-style: auto !important;
}

.hw-topnav .hw-page-tools:has(.hw-candidate-tools)::-webkit-scrollbar,
.hw-nav-center > .hw-page-tools-host:has(.hw-candidate-tools)::-webkit-scrollbar {
  display: block !important;
  width: 8px !important;
  height: 8px !important;
  background: transparent !important;
}

.hw-topnav .hw-page-tools:has(.hw-candidate-tools)::-webkit-scrollbar-thumb,
.hw-nav-center > .hw-page-tools-host:has(.hw-candidate-tools)::-webkit-scrollbar-thumb {
  display: block !important;
  width: auto !important;
  height: 8px !important;
  background: rgba(0, 80, 145, 0.45) !important;
  border-radius: 99px !important;
}
