/*
 * SPDX-FileCopyrightText: 2023 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.
*/
/* Dimensions */
/* Font sizes */
/* Line heights */
/*
* 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 {
  display: inline-block;
  position: relative;
  height: 2rem;
  width: auto;
}
: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 .hide {
  display: none;
}
:host .dropdown-button {
  display: block;
  position: relative;
  width: 100%;
  height: 100%;
}
:host .dropdown-button > ix-button {
  width: 100%;
  height: 100%;
}
:host .dropdown-button .button-label {
  margin-right: auto;
  min-width: 0px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
:host .dropdown-button .dropdown-icon {
  margin-right: 0.25rem;
}
:host .triangle {
  position: absolute;
  margin-inline-start: 1.5625rem;
  margin-block-start: -0.4375rem;
  border-right: 0 solid transparent;
  border-left: 4px solid transparent;
  border-top: 0 solid transparent;
  border-bottom: 4px solid;
  color: var(--theme-btn-primary--color);
}
:host .triangle.primary {
  color: var(--theme-btn-primary--color);
}
:host .triangle.secondary {
  color: var(--theme-btn-secondary--color);
}
:host .triangle.tertiary {
  color: var(--theme-btn-tertiary--color);
}
:host .triangle.primary.disabled {
  color: var(--theme-btn-primary--color--disabled);
}
:host .triangle.secondary.disabled {
  color: var(--theme-btn-secondary--color--disabled);
}
:host .triangle.tertiary.disabled {
  color: var(--theme-btn-tertiary--color--disabled);
}
:host .triangle.subtle-primary {
  color: var(--theme-btn-subtle-primary--color);
}
:host .triangle.subtle-secondary {
  color: var(--theme-btn-subtle-secondary--color);
}
:host .triangle.subtle-tertiary {
  color: var(--theme-btn-subtle-tertiary--color);
}
:host .triangle.subtle-primary.disabled {
  color: var(--theme-btn-subtle-primary--color--disabled);
}
:host .triangle.subtle-secondary.disabled {
  color: var(--theme-btn-subtle-secondary--color--disabled);
}
:host .triangle.subtle-tertiary.disabled {
  color: var(--theme-btn-subtle-tertiary--color--disabled);
}
:host .triangle.danger-primary {
  color: var(--theme-btn-danger-primary--color);
}
:host .triangle.danger-secondary {
  color: var(--theme-btn-danger-secondary--color);
}
:host .triangle.danger-tertiary {
  color: var(--theme-btn-danger-tertiary--color);
}
:host .triangle.danger-primary.disabled {
  color: var(--theme-btn-danger-primary--color--disabled);
}
:host .triangle.danger-secondary.disabled {
  color: var(--theme-btn-danger-secondary--color--disabled);
}
:host .triangle.danger-tertiary.disabled {
  color: var(--theme-btn-danger-tertiary--color--disabled);
}
:host .content {
  display: flex;
  align-items: center;
}

:host(.disabled) {
  pointer-events: none;
}