:host {
  box-sizing: border-box;
  --padding-left: 0;
  display: flex;
  background-color: var(--tds-inline-tabs-background);
  position: relative;
}
:host * {
  box-sizing: border-box;
}
:host::after {
  content: " ";
  display: block;
  border-bottom: 1px solid var(--tds-inline-tabs-horizontal-divider-background);
  left: 0;
  right: 0;
  bottom: 0;
  position: absolute;
}
:host .wrapper {
  display: flex;
  flex-wrap: nowrap;
  white-space: nowrap;
  width: 100%;
  overflow-x: scroll;
  scrollbar-width: none;
  gap: 16px;
  padding-left: var(--padding-left);
}
:host .wrapper::-webkit-scrollbar {
  display: none;
}
:host .scroll-right-button {
  right: 0;
  z-index: 1;
}
:host .scroll-left-button {
  left: calc(0px - var(--padding-left));
  z-index: 1;
}
:host .scroll-right-button,
:host .scroll-left-button {
  color: var(--tds-folder-tabs-scroll-btn-color);
  cursor: pointer;
  border: 0;
  width: 0;
  background-color: var(--tds-inline-tabs-scroll-btn-background);
  display: none;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  position: sticky;
}
:host .scroll-right-button.show,
:host .scroll-left-button.show {
  min-width: 48px;
  display: block;
  opacity: 1;
  pointer-events: all;
}
:host .scroll-right-button:hover,
:host .scroll-left-button:hover {
  background-color: var(--tds-folder-tabs-scroll-btn-background-hover);
}
:host .scroll-right-button:active,
:host .scroll-left-button:active {
  background-color: var(--tds-folder-tabs-scroll-btn-background-active);
}
:host .scroll-right-button:focus-visible::before,
:host .scroll-left-button:focus-visible::before {
  content: "";
  position: absolute;
  inset: 3px;
  outline: 2px solid var(--tds-focus-outline-color);
  box-shadow: 0 0 0 1px var(--tds-white);
  outline-offset: 1px;
  z-index: 1;
}
:host .scroll-right-button:focus-visible,
:host .scroll-left-button:focus-visible {
  outline: 0;
}
:host .scroll-right-button svg,
:host .scroll-left-button svg {
  fill: var(--tds-folder-tabs-scroll-btn-color);
}