/*
 * SPDX-FileCopyrightText: 2024 Siemens AG
 *
 * SPDX-License-Identifier: MIT
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/*
* SPDX-FileCopyrightText: 2024 Siemens AG
*
* SPDX-License-Identifier: MIT
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
:host {
  width: auto;
  display: flex;
  align-items: center;
  position: relative;
}
:host *,
:host *::after,
:host *::before {
  box-sizing: border-box;
}
:host ::-webkit-scrollbar-button {
  display: none;
}
@-moz-document url-prefix() {
  :host * {
    scrollbar-color: var(--theme-scrollbar-thumb--background) var(--theme-scrollbar-track--background);
    scrollbar-width: thin;
  }
}
:host {
  /* width */
}
:host ::-webkit-scrollbar {
  width: 0.5rem;
  height: 0.5rem;
}
:host {
  /* Track */
}
:host ::-webkit-scrollbar-track {
  border-radius: 5px;
  background: var(--theme-scrollbar-track--background);
}
:host ::-webkit-scrollbar-track:hover {
  background: var(--theme-scrollbar-track--background--hover);
}
:host {
  /* Handle */
}
:host ::-webkit-scrollbar-thumb {
  border-radius: 5px;
  background: var(--theme-scrollbar-thumb--background);
}
:host {
  /* Handle on hover */
}
:host ::-webkit-scrollbar-thumb:hover {
  background: var(--theme-scrollbar-thumb--background--hover);
}
:host ::-webkit-scrollbar-corner {
  display: none;
}
:host .tabs-container {
  display: flex;
  flex-direction: row;
  position: relative;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}
:host .tabs-container.top::before {
  content: "";
  position: absolute;
  background-color: var(--theme-tab-indicator--background);
  width: 100%;
  height: var(--theme-tab-indicator--height);
  left: 0;
  bottom: 0;
}
:host .tabs-container.top::after {
  content: "";
  position: absolute;
  background-color: var(--theme-tab-indicator--background--selected);
  width: var(--ix-tab-active-indicator-width);
  height: var(--theme-tab-indicator--height);
  left: 0;
  bottom: 0;
  transform: translateX(var(--ix-tab-active-indicator-offset));
}
:host .tabs-container.top::before, :host .tabs-container.top::after {
  top: 0;
  bottom: auto;
}
:host .tabs-container.bottom::before {
  content: "";
  position: absolute;
  background-color: var(--theme-tab-indicator--background);
  width: 100%;
  height: var(--theme-tab-indicator--height);
  left: 0;
  bottom: 0;
}
:host .tabs-container.bottom::after {
  content: "";
  position: absolute;
  background-color: var(--theme-tab-indicator--background--selected);
  width: var(--ix-tab-active-indicator-width);
  height: var(--theme-tab-indicator--height);
  left: 0;
  bottom: 0;
  transform: translateX(var(--ix-tab-active-indicator-offset));
}
:host .tabs-container.bottom::before, :host .tabs-container.bottom::after {
  top: auto;
  bottom: 0;
}
:host .tabs {
  position: relative;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: auto;
  scroll-behavior: smooth;
  width: 100%;
  touch-action: pan-y;
  padding-right: 2.75rem;
  scrollbar-width: none;
}
:host .tabs::-webkit-scrollbar {
  display: none;
}
:host .tabs.tabs-stretched {
  padding-right: 0px;
}
:host .tabs:focus-visible {
  outline-offset: -1px;
  outline: 1px solid var(--theme-color-focus-bdr);
}
:host .tabs-context-menu {
  margin-right: 0.5rem;
}
:host .overflow-shadow-container {
  display: block;
  position: relative;
  height: 100%;
  width: 100%;
  pointer-events: all;
  overflow: auto;
}
:host .overflow-shadow {
  -webkit-mask-image: linear-gradient(90deg, black calc(100% - 45px), transparent 100%);
          mask-image: linear-gradient(90deg, black calc(100% - 45px), transparent 100%);
}