// ------------------------------------------------------------------------------
// <auto-generated>
//     This code was generated by a tool.
//     Changes to this file may cause incorrect behavior and will be lost if the code is regenerated.
// </auto-generated>
// ------------------------------------------------------------------------------
// #region Imports
import { css } from '../../../../../Dom/Css';
// #endregion
/**
 * @public
 */
export function toastElementCosmopolitanStyle() {
    return css `
:host {
  --toast-background-color: unset;
  --toast-border: unset;
  --toast-border-color: unset;
  --toast-border-radius: unset;
  --toast-border-style: unset;
  --toast-border-width: unset;
  --toast-font-family: unset;
  --toast-font-letter-spacing: unset;
  --toast-font-line-height: unset;
  --toast-font-size: unset;
  --toast-font-text-decoration: unset;
  --toast-font-text-transform: unset;
  --toast-font-weight: unset;
  --toast-foreground-color: unset;
  --toast-gap: unset;
  --toast-offset-y: unset;
  --toast-padding-bottom: unset;
  --toast-padding-left: unset;
  --toast-padding-right: unset;
  --toast-padding-top: unset;
  --toast-progress-fill-color: currentColor;
  --toast-progress-ring-fill-color: unset;
  --toast-shadow: unset unset unset unset unset;
  --toast-shadow-blur: unset;
  --toast-shadow-color: unset;
  --toast-shadow-offset-x: unset;
  --toast-shadow-offset-y: unset;
  --toast-shadow-spread: unset;
  --toast-transition-duration: unset;
  --toast-transition-mode: unset;
  --toast-transition-property: unset;
  --toast-translate: none;
}

@media screen and (prefers-reduced-motion: reduce) {
  :host {
    transition-duration: .01ms;
  }
}

:host {
  box-sizing: border-box;
  display: block;
  position: relative;
}

:host *, :host :before, :host :after {
  box-sizing: border-box;
  background-repeat: no-repeat;
}

:host :before, :host :after {
  text-decoration: inherit;
  vertical-align: inherit;
}

:host([hidden]) {
  display: none !important;
}

:host {
  font-family: var(--toast-font-family);
  font-size: var(--toast-font-size);
  line-height: var(--toast-font-line-height);
  font-weight: var(--toast-font-weight);
  letter-spacing: var(--toast-font-letter-spacing);
  -webkit-text-decoration: var(--toast-font-text-decoration);
  text-decoration: var(--toast-font-text-decoration);
  text-transform: var(--toast-font-text-transform);
  transition-duration: var(--toast-transition-duration);
  transition-timing-function: var(--toast-transition-mode);
  transition-property: var(--toast-transition-property);
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

:host [part="root"] {
  pointer-events: all;
  border: var(--toast-border);
  border-color: var(--toast-border-color);
  border-radius: var(--toast-border-radius);
  border-style: var(--toast-border-style);
  border-width: var(--toast-border-width);
  background-color: var(--toast-background-color);
  min-width: 52px;
  color: var(--toast-foreground-color);
  box-shadow: var(--toast-shadow);
  transition-duration: var(--toast-transition-duration);
  transition-timing-function: var(--toast-transition-mode);
  transition-property: var(--toast-transition-property);
  padding-top: var(--toast-padding-top);
  padding-right: var(--toast-padding-right);
  padding-bottom: var(--toast-padding-bottom);
  padding-left: var(--toast-padding-left);
  gap: var(--toast-gap);
  margin: auto;
  position: fixed;
  left: 50%;
  overflow: hidden;
  translate: -50%;
}

:host [part="root"] [part="header"], :host [part="root"] [part="content"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  color: inherit;
}

:host [part="root"] [part="progressFill"] {
  background-color: var(--toast-progress-fill-color);
  border-radius: inherit;
  pointer-events: none;
  z-index: 0;
  opacity: .26;
  width: 100%;
  height: 100%;
  transition-property: opacity;
  transition-duration: var(--toast-transition-duration);
  transition-timing-function: linear;
  position: absolute;
  top: 0;
  left: 0;
}

:host [part="root"] [part="progressRing"] {
  --progress-ring-fill-color: var(--toast-progress-ring-fill-color);
}

:host(:not([is-open])) {
  opacity: 0;
  pointer-events: none;
}

:host([position="bottom"]) [part="root"] {
  top: unset;
  bottom: var(--toast-offset-y);
  translate: -50%;
}

:host([position="middle"]) [part="root"] {
  top: 50%;
  bottom: unset;
  translate: -50% -50%;
}

:host([position="top"]) [part="root"] {
  bottom: unset;
  top: var(--toast-offset-y);
  translate: -50%;
}

    `;
}
//# sourceMappingURL=ToastElement.Cosmopolitan.js.map