// ------------------------------------------------------------------------------
// <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 {
  --tost-background-color: unset;
  --tost-border: unset;
  --tost-border-color: unset;
  --tost-border-radius: unset;
  --tost-border-style: unset;
  --tost-border-width: unset;
  --tost-font-family: unset;
  --tost-font-letter-spacing: unset;
  --tost-font-line-height: unset;
  --tost-font-size: unset;
  --tost-font-text-decoration: unset;
  --tost-font-text-transform: unset;
  --tost-font-weight: unset;
  --tost-foreground-color: unset;
  --tost-gap: unset;
  --tost-padding-bottom: unset;
  --tost-padding-left: unset;
  --tost-padding-right: unset;
  --tost-padding-top: unset;
  --tost-progress-ring-fill-color: unset;
  --tost-shadow: unset;
  --tost-transition-duration: unset;
  --tost-transition-mode: unset;
  --tost-transition-property: unset;
  --tost-translate: unset;
}

@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(--tost-font-family);
  font-size: var(--tost-font-size);
  line-height: var(--tost-font-line-height);
  font-weight: var(--tost-font-weight);
  letter-spacing: var(--tost-font-letter-spacing);
  -webkit-text-decoration: var(--tost-font-text-decoration);
  text-decoration: var(--tost-font-text-decoration);
  text-transform: var(--tost-font-text-transform);
  transition-duration: var(--tost-transition-duration);
  transition-timing-function: var(--tost-transition-mode);
  transition-property: var(--tost-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;
  background-color: var(--tost-background-color);
  color: var(--tost-foreground-color);
  border-radius: 0;
  border-radius: var(--tost-border-radius);
  min-width: 52px;
  box-shadow: var(--tost-shadow);
  transition-duration: var(--tost-transition-duration);
  transition-timing-function: var(--tost-transition-mode);
  transition-property: var(--tost-transition-property);
  margin: auto;
  position: fixed;
  bottom: 0;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%, -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="progress"] {
  position: absolute;
  top: 0;
  left: 0;
}

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

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

:host([position="bottom"]) [part="root"] {
  top: unset;
  bottom: 0;
}

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

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

:host([position="bottom"]:not([is-open])) [part="root"] {
  margin-bottom: -40px;
}

:host([position="top"]:not([is-open])) [part="root"] {
  margin-top: -40px;
}

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