/*
 * 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.
*/
:host {
  background-color: var(--theme-color-2);
  border-radius: var(--theme-default-border-radius);
  min-width: 0px;
  z-index: var(--theme-z-index-dropdown);
  box-shadow: var(--theme-shadow-4);
  padding: 0.25rem 0px;
}
: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 .dropdown-header {
  display: flex;
  align-items: center;
  height: 2.5rem;
  color: var(--theme-menu-header--color);
  padding: 0 1rem;
}

:host(.overflow) {
  max-height: calc(50vh - 3rem);
  overflow-y: auto;
}

:host(:not(.show)) {
  display: none;
}

.dialog {
  margin: 0;
  border: none;
  outline: none;
  padding: 0.25rem 0px;
  min-width: 0;
  max-width: 100vw;
  width: -moz-max-content;
  width: max-content;
  height: -moz-fit-content;
  height: fit-content;
  background-color: var(--theme-color-2);
  border-radius: var(--theme-default-border-radius);
  box-shadow: var(--theme-shadow-4);
  overflow-x: visible;
  overflow-y: visible;
  inset: unset;
  color-scheme: inherit;
  color: var(--theme-color-std-text);
  box-sizing: border-box;
}
.dialog *,
.dialog *::after,
.dialog *::before {
  box-sizing: border-box;
}
.dialog .dropdown-container {
  display: block;
  position: relative;
}
.dialog .dropdown-header {
  display: flex;
  align-items: center;
  height: 2.5rem;
  color: var(--theme-menu-header--color);
  padding: 0 1rem;
}
.dialog.overflow {
  max-height: calc(50vh - 3rem);
  overflow-y: auto;
}