/*
 * 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: 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: 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.
*/
/*
* 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;
  position: relative;
  width: -moz-fit-content;
  width: fit-content;
}
: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 .avatar {
  display: flex;
  align-items: center;
}
:host .avatar > .avatar-image {
  height: 2rem;
  width: 2rem;
  min-height: 2rem;
  min-width: 2rem;
  border-radius: 100px;
}
:host .avatar > .avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2rem;
  width: 2rem;
  min-height: 2rem;
  min-width: 2rem;
  border-radius: 100px;
  background-color: var(--theme-avatar--background);
  color: var(--theme-avatar--color);
}
:host .avatar > .avatar-initials > ix-typography {
  margin-top: 1px;
}
:host .avatar #avatar-path-background {
  fill: var(--theme-avatar--background);
}
:host .avatar #avatar-path-person {
  fill: var(--theme-avatar--color);
}

:host .user-info {
  display: flex;
  flex-direction: row;
  position: relative;
  height: 2.5rem;
  padding: 1rem;
  width: 12.75rem;
  min-width: 12.75rem;
  max-width: 12.75rem;
  gap: 1rem;
}
:host .user-info .avatar {
  width: 2rem;
  pointer-events: none;
}
:host .user-info .user {
  display: flex;
  position: relative;
  flex-direction: column;
  justify-content: center;
  max-width: 10rem;
  width: 100%;
  overflow: hidden;
}
:host .user-info .username {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
:host .user-info .extra {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

:host(.avatar-button) button {
  border-radius: 100px !important;
  all: unset;
  box-sizing: border-box;
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0 0.5rem;
}
:host(.avatar-button) button {
  padding: 0px;
}
:host(.avatar-button) .btn-tertiary {
  border-top-left-radius: var(--ix-button-border-radius-left);
  border-bottom-left-radius: var(--ix-button-border-radius-left);
  border-top-right-radius: var(--ix-button-border-radius-right);
  border-bottom-right-radius: var(--ix-button-border-radius-right);
}
:host(.avatar-button) .btn-tertiary, :host(.avatar-button) .btn-tertiary.focus, :host(.avatar-button) .btn-tertiary:focus-visible {
  background-color: var(--theme-btn-tertiary--background);
  color: var(--theme-btn-tertiary--color);
  --ix-button-color: var(--theme-btn-tertiary--color);
  border-width: var(--theme-btn--border-thickness);
  border-color: var(--theme-btn-tertiary--border-color);
  border-style: solid;
}
:host(.avatar-button) .btn-tertiary:not(.disabled):not(:disabled):focus-visible {
  outline: 1px solid var(--theme-color-focus-bdr);
  outline-offset: var(--theme-btn--focus--outline-offset);
}
:host(.avatar-button) .btn-tertiary.selected {
  background-color: var(--theme-btn-tertiary--background--pressed);
  color: var(--theme-btn-tertiary--color--pressed);
}
:host(.avatar-button) .btn-tertiary.selected:not(.disabled):not(:disabled) {
  cursor: pointer;
}
:host(.avatar-button) .btn-tertiary.selected:not(.disabled):not(:disabled):hover, :host(.avatar-button) .btn-tertiary.selected:not(.disabled):not(:disabled).hover {
  background-color: var(--theme-btn-tertiary--background--pressed-hover);
  color: var(--theme-btn-tertiary--color--pressed-hover);
}
:host(.avatar-button) .btn-tertiary.selected:not(.disabled):not(:disabled) {
  cursor: pointer;
}
:host(.avatar-button) .btn-tertiary.selected:not(.disabled):not(:disabled):active, :host(.avatar-button) .btn-tertiary.selected:not(.disabled):not(:disabled).active {
  background-color: var(--theme-btn-tertiary--background--pressed-hover);
  color: var(--theme-btn-tertiary--color--pressed-active);
}
:host(.avatar-button) .btn-tertiary:not(.disabled):not(:disabled) {
  cursor: pointer;
}
:host(.avatar-button) .btn-tertiary:not(.disabled):not(:disabled):hover, :host(.avatar-button) .btn-tertiary:not(.disabled):not(:disabled).hover {
  border-color: var(--theme-btn-tertiary--border-color--hover);
  background-color: var(--theme-btn-tertiary--background--hover);
  color: var(--theme-btn-tertiary--color--hover);
}
:host(.avatar-button) .btn-tertiary:not(.disabled):not(:disabled) {
  cursor: pointer;
}
:host(.avatar-button) .btn-tertiary:not(.disabled):not(:disabled):active, :host(.avatar-button) .btn-tertiary:not(.disabled):not(:disabled).active {
  border-color: var(--theme-btn-tertiary--border-color--active);
  background-color: var(--theme-btn-tertiary--background--active);
  color: var(--theme-btn-tertiary--color--active);
}
:host(.avatar-button) .avatar {
  transform: scale(0.8);
}