/*
 * 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: 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.
*/
/*
* 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: flex;
  min-height: 2.25rem;
  height: 2.25rem;
}
: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 > button,
:host > .group-footer {
  display: flex;
  height: 100%;
  width: 100%;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  outline: none;
  background-color: var(--theme-group-item--background);
  border: 1px solid transparent;
  color: var(--theme-color-std-text);
  cursor: pointer;
  padding-left: 2.5rem;
}
:host > button:focus-visible,
:host > .group-footer:focus-visible {
  border: 1px solid var(--theme-color-focus-bdr);
}
:host > button:disabled,
:host > .group-footer:disabled {
  cursor: default;
  pointer-events: none;
}
:host .group-footer {
  cursor: default;
  border: none;
}
:host ix-icon {
  margin-right: 0.25rem;
  margin-top: -0.125rem;
}
:host .group-entry-selection-indicator {
  position: absolute;
  left: -1px;
  height: calc(100% + 2px);
  width: 0.25rem;
}
:host .group-entry-text {
  font-family: Siemens Sans, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.429em;
  color: var(--theme-color-std-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smooting: grayscale;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:host .group-entry-text-secondary {
  display: flex;
  justify-content: flex-end;
  flex-grow: 1;
  white-space: nowrap;
  color: var(--theme-color-soft-text);
}
:host .group-entry-text-secondary,
:host .group-entry-text-secondary span {
  font-family: Siemens Sans, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.429em;
  color: var(--theme-color-std-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smooting: grayscale;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

:host(.selected) {
  border-top-width: 0.062rem !important;
  background-color: var(--theme-color-ghost--selected);
}
:host(.selected) .group-entry-selection-indicator {
  background-color: var(--theme-group-item-indicator--background--selected);
}

:host(:not(.suppress-mouse-states):hover) {
  background-color: var(--theme-color-ghost--selected-hover);
  border-color: var(--theme-group-item--border-color--hover);
}

:host(:not(.suppress-mouse-states).selected:hover) {
  background-color: var(--theme-color-ghost--selected-hover);
}

:host(:not(.suppress-mouse-states):active):not(.suppress-mouse-states) {
  background-color: var(--theme-color-ghost--selected-active);
  border-color: var(--theme-group-item--border-color--active);
}

:host(:not(.suppress-mouse-states).selected:active):not(.suppress-mouse-states) {
  background-color: var(--theme-color-ghost--selected-active);
}

:host([disabled]) {
  pointer-events: none;
  color: var(--theme-color-weak-text);
}