/*
 * 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.
*/
/*
* 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-flex;
  align-items: center;
  justify-content: space-between;
  height: 1.5rem;
  padding-left: 0.5rem;
  border: var(--theme-focus--border-thickness) solid var(--theme-chip-primary-outline--border-color);
  border-radius: 2rem;
  background-color: var(--theme-color-ghost);
  color: var(--theme-chip-primary-outline--color);
}
: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 .slot-container {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.5rem;
}
:host .slot-container :host-context(.disabled) {
  background-color: var(--theme-color-ghost);
  border-color: var(--theme-color-component-4);
  color: var(--theme-color-weak-text);
}
:host ix-icon-button {
  height: 1.5rem;
  margin-left: 0.25rem;
}
:host ix-icon-button:not(.disabled):not(:disabled):focus-visible {
  outline: none;
}

:host(.disabled) {
  border: var(--theme-focus--border-thickness) solid var(--theme-color-component-4);
  color: var(--theme-color-weak-text);
  padding-right: 0.5rem;
  cursor: default;
}

:host(.readonly) {
  padding-right: 0.5rem;
}

:host(:not(.disabled):not(:disabled)) {
  cursor: pointer;
}

:host(:hover:not(.disabled):not(:disabled)) {
  background-color: var(--theme-color-ghost-primary--hover);
  border-color: var(--theme-chip-primary-outline--border-color--hover);
  color: var(--theme-chip-primary-outline--color--hover);
}

:host(:not(.disabled):not(:disabled)) {
  cursor: pointer;
}

:host(:active:not(.disabled):not(:disabled)) {
  background-color: var(--theme-color-ghost-primary--active);
  border-color: var(--theme-chip-primary-outline--border-color--active);
  color: var(--theme-chip-primary-outline--color--active);
}

:host(:focus-visible:not(.disabled):not(:disabled)) {
  outline: var(--theme-color-focus-bdr) solid var(--theme-focus--border-thickness);
  outline-offset: -0.125rem;
}