/*
 * 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.
*/
/* 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.
*/
/*
* 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;
  min-width: 17.5rem;
  max-width: 17.5rem;
  min-height: 3.5rem;
  pointer-events: all;
  background-color: var(--theme-toast--background);
  border: var(--theme-toast--border-thickness) solid var(--theme-toast--border-color);
  border-radius: var(--theme-toast--border-radius, var(--theme-toast--border-radus));
  box-shadow: var(--theme-toast--box-shadow);
  --animate-duration: var(--theme-medium-time);
}
: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 .toast-body {
  display: flex;
  position: relative;
  min-height: 3.5rem;
  width: 100%;
  flex-grow: 1;
  padding: 0.75rem 0.75rem 0.25rem;
}
:host .toast-body .toast-icon {
  display: flex;
  align-items: flex-start;
  padding: 0.25rem;
}
:host .toast-body .toast-content {
  overflow: hidden;
  min-width: 0;
  width: 100%;
  padding: 0.25rem;
}
:host .toast-body .toast-content .toast-title {
  min-width: 0;
  margin: 0.25rem 0px;
  overflow-wrap: break-word;
  word-break: break-word;
}
:host .toast-body .toast-content .toast-message {
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
  font-family: Siemens Sans, sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.429em;
  color: var(--theme-color-std-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smooting: grayscale;
}
:host .toast-body .toast-content .toast-action {
  margin-top: 0.5rem;
}
:host .toast-close {
  display: flex;
  position: relative;
  pointer-events: all;
  margin-left: auto;
  margin-right: 0px;
  opacity: 0.6;
}
:host .toast-close:hover {
  opacity: 1;
}
:host .toast-progress-bar {
  position: absolute;
  bottom: 0;
  height: 0.125rem;
  width: 100%;
  background-color: var(--theme-toast-timer-value--background);
  transform-origin: left;
}
:host .toast-progress-bar--animated {
  animation: trackProgress linear 1 forwards;
}
@keyframes trackProgress {
  0% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(0);
  }
}