/*
 * 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.
*/
:host {
  margin: 0.5rem 0.5rem 0rem 0.5rem;
}
: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 .message-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  flex-wrap: nowrap;
  justify-content: space-between;
  min-height: 3.375rem;
  padding: calc(0.75rem - var(--theme-message-bar--border-thickness)) 0.75rem calc(0.75rem - var(--theme-message-bar--border-thickness)) 1rem;
  border-radius: var(--theme-message-bar--border-radius);
  background-color: var(--theme-messagebar--background);
}
:host .alarm {
  border: solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm);
}
:host .danger {
  border: solid var(--theme-message-bar--border-thickness) var(--theme-color-alarm);
}
:host .critical {
  border: solid var(--theme-message-bar--border-thickness) var(--theme-color-critical);
}
:host .warning {
  border: solid var(--theme-message-bar--border-thickness) var(--theme-color-warning);
}
:host .success {
  border: solid var(--theme-message-bar--border-thickness) var(--theme-color-success);
}
:host .info {
  border: solid var(--theme-message-bar--border-thickness) var(--theme-color-info);
}
:host .neutral {
  border: solid var(--theme-message-bar--border-thickness) var(--theme-color-neutral);
}
:host .primary {
  border: solid var(--theme-message-bar--border-thickness) var(--theme-color-primary);
}
:host .message-content {
  flex-grow: 1;
  align-self: center;
  min-height: 1.25rem;
  padding: 0 1rem;
  font-weight: normal;
  white-space: normal;
}
:host ix-icon {
  margin-top: 0.25rem;
}
:host .message-bar-hidden {
  display: none;
}