// ------------------------------------------------------------------------------
// <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 toastElementMemphisStyle() {
    return css `
:host {
  --tost-background-color: var(--memphis-scheme-background);
  --tost-border: var(--memphis-layout-thickness) solid var(--memphis-scheme-contrast);
  --tost-border-color: var(--memphis-scheme-contrast);
  --tost-border-radius: calc(var(--memphis-layout-radius)  + 12px);
  --tost-border-style: solid;
  --tost-border-width: var(--memphis-layout-thickness);
  --tost-font-family: var(--memphis-font-family);
  --tost-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --tost-font-line-height: var(--memphis-typography-body2-line-height);
  --tost-font-size: var(--memphis-typography-body2-font-size);
  --tost-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --tost-font-text-transform: var(--memphis-typography-body2-text-transform);
  --tost-font-weight: var(--memphis-typography-body2-font-weight);
  --tost-foreground-color: var(--memphis-scheme-foreground);
  --tost-gap: var(--memphis-layout-space);
  --tost-padding-bottom: calc(var(--memphis-layout-space) * 1.2);
  --tost-padding-left: calc(var(--memphis-layout-space) * 2.4);
  --tost-padding-right: calc(var(--memphis-layout-space) * 2.4);
  --tost-padding-top: calc(var(--memphis-layout-space) * 1.2);
  --tost-progress-ring-fill-color: var(--memphis-color-light-info-500);
  --tost-shadow: var(--memphis-elevation-bold);
  --tost-transition-duration: var(--memphis-duration-short);
  --tost-transition-mode: ease;
  --tost-transition-property: transform, opacity, background-color, color, border-color, box-shadow;
  --tost-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(--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;
  border: var(--tost-border);
  border-color: var(--tost-border-color);
  border-radius: var(--tost-border-radius);
  border-style: var(--tost-border-style);
  border-width: var(--tost-border-width);
  background-color: var(--tost-background-color);
  color: var(--tost-foreground-color);
  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);
  padding-top: var(--tost-padding-top);
  padding-right: var(--tost-padding-right);
  padding-bottom: var(--tost-padding-bottom);
  padding-left: var(--tost-padding-left);
  gap: var(--tost-gap);
  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-progress-ring-fill-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.Memphis.js.map