/*
 * 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.
*/
:host {
  display: flex;
  align-items: center;
  height: 32px;
  width: 100%;
  cursor: pointer;
}
: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 .tree-node-container {
  display: flex;
  align-items: center;
  height: 2rem;
  flex-grow: 1;
  align-items: center;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:host .tree-node-container .tree-node-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
:host .icon-toggle-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  min-width: 2rem;
}
:host .icon-toggle-container ix-icon {
  transition: transform var(--theme-default-time) ease-in-out;
}
:host .icon-toggle-container ix-icon.icon-toggle-down {
  transform: rotate(90deg);
}

:host(:not(.disabled):not(:disabled):not(.selected).hover),
:host(:not(.disabled):not(:disabled):not(.selected):hover) {
  background-color: var(--theme-tree-item--background--hover);
}

:host(:not(.disabled):not(:disabled):not(.selected).active),
:host(:not(.disabled):not(:disabled):not(.selected):active) {
  background-color: var(--theme-tree-item--background--active);
}

:host(.selected) {
  background-color: var(--theme-tree-item--background--selected);
}

:host(.selected.hover),
:host(.selected:hover) {
  background-color: var(--theme-tree-item--background--selected-hover);
}

:host(.selected.active),
:host(.selected:active) {
  background-color: var(--theme-tree-item--background--selected-active);
}