/*
 * 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.
*/
:host {
  display: flex;
  flex-direction: column;
  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 .category {
  display: flex;
  position: relative;
  align-items: center;
  width: 100%;
  height: 100%;
}
:host .category-text {
  width: 100%;
  padding-right: 0.25rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:host .category-chevron {
  margin-left: auto;
  margin-right: 0;
  transition: var(--theme-default-time) transform ease-in-out;
}
:host .category-chevron--open {
  transform: rotate(-180deg);
}
:host .menu-items {
  overflow: hidden;
  max-height: 0;
  transition: var(--theme-default-time) max-height ease-in-out;
}
:host .menu-items--expanded {
  max-height: 999999999px;
  padding: 0.25rem 0 0.25rem 1.625rem;
}
:host .menu-items--collapsed {
  display: none;
}
:host .category-dropdown ::slotted(ix-menu-item) {
  --ix-menu-item-height: 2.5rem;
}
:host .category-dropdown-header {
  pointer-events: none;
  padding-left: 0.125rem;
  min-width: 256px;
}
:host ::slotted(ix-menu-item) {
  --ix-menu-item-height: 2.5rem;
}

:host(.expanded) {
  background-color: var(--theme-color-ghost--active);
}

:host ::slotted(a[href]) {
  text-decoration: none !important;
}