// ------------------------------------------------------------------------------
// <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 messageBoxElementCosmopolitanStyle() {
    return css `
:host {
  --message-box-background-color: unset;
  --message-box-border-color: unset;
  --message-box-border-radius: unset;
  --message-box-border-style: unset;
  --message-box-border-width: unset;
  --message-box-divider-height: unset;
  --message-box-font-family: unset;
  --message-box-font-letter-spacing: unset;
  --message-box-font-line-height: unset;
  --message-box-font-size: unset;
  --message-box-font-text-decoration: unset;
  --message-box-font-text-transform: unset;
  --message-box-font-weight: unset;
  --message-box-foreground-color: unset;
  --message-box-gap: unset;
  --message-box-header-font-family: unset;
  --message-box-header-font-letter-spacing: unset;
  --message-box-header-font-line-height: unset;
  --message-box-header-font-size: unset;
  --message-box-header-font-text-decoration: unset;
  --message-box-header-font-text-transform: unset;
  --message-box-header-font-weight: unset;
  --message-box-header-foreground-color: unset;
  --message-box-padding-bottom: unset;
  --message-box-padding-left: unset;
  --message-box-padding-right: unset;
  --message-box-padding-top: unset;
  --message-box-shadow: unset unset unset unset unset;
  --message-box-shadow-blur: unset;
  --message-box-shadow-color: unset;
  --message-box-shadow-offset-x: unset;
  --message-box-shadow-offset-y: unset;
  --message-box-shadow-spread: unset;
  --message-box-sub-header-font-family: unset;
  --message-box-sub-header-font-letter-spacing: unset;
  --message-box-sub-header-font-line-height: unset;
  --message-box-sub-header-font-size: unset;
  --message-box-sub-header-font-text-decoration: unset;
  --message-box-sub-header-font-text-transform: unset;
  --message-box-sub-header-font-weight: unset;
  --message-box-sub-header-foreground-color: unset;
  --message-box-transition-duration: unset;
  --message-box-transition-mode: unset;
  --message-box-transition-property: unset;
  --message-box-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(--message-box-font-family);
  font-size: var(--message-box-font-size);
  line-height: var(--message-box-font-line-height);
  font-weight: var(--message-box-font-weight);
  letter-spacing: var(--message-box-font-letter-spacing);
  -webkit-text-decoration: var(--message-box-font-text-decoration);
  text-decoration: var(--message-box-font-text-decoration);
  text-transform: var(--message-box-font-text-transform);
  transition-duration: var(--message-box-transition-duration);
  transition-timing-function: var(--message-box-transition-mode);
  transition-property: var(--message-box-transition-property);
  opacity: 1;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  position: fixed;
  top: 0;
  left: 0;
}

:host [part="root"] {
  padding: 0;
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
  pointer-events: all;
  background-color: var(--message-box-background-color);
  color: var(--message-box-foreground-color);
  box-shadow: var(--message-box-shadow-offset-x) var(--message-box-shadow-offset-y) var(--message-box-shadow-blur) var(--message-box-shadow-spread) var(--message-box-shadow-color);
  transition-duration: var(--message-box-transition-duration);
  transition-timing-function: var(--message-box-transition-mode);
  transition-property: var(--message-box-transition-property);
  border-width: var(--message-box-border-width);
  border-radius: var(--message-box-border-radius);
  border-style: var(--message-box-border-style);
  border-color: var(--message-box-border-color);
  height: inherit;
  margin: 0;
  margin: inherit;
  max-height: inherit;
  max-width: inherit;
  min-height: inherit;
  min-width: inherit;
  width: inherit;
  outline: none;
  flex-direction: column;
  display: flex;
  position: absolute;
  top: 50%;
  left: 50%;
  overflow: hidden;
  transform: translate(-50%, -50%) !important;
}

:host [part="root"][open] {
  display: flex;
}

:host [part="root"] [part="header"] {
  padding: var(--message-box-padding-top) var(--message-box-padding-right) var(--message-box-padding-bottom) var(--message-box-padding-left);
  flex-direction: column;
  flex-shrink: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

:host [part="root"] [part="header"]:after {
  content: "";
  height: var(--message-box-divider-height);
  background-color: var(--message-box-border-color);
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
}

:host [part="root"] [part="header"]:empty {
  display: none;
}

:host [part="root"] [part="header"] [part="headerText"] {
  font-family: var(--message-box-header-font-family);
  font-size: var(--message-box-header-font-size);
  line-height: var(--message-box-header-font-line-height);
  font-weight: var(--message-box-header-font-weight);
  letter-spacing: var(--message-box-header-font-letter-spacing);
  -webkit-text-decoration: var(--message-box-header-font-text-decoration);
  text-decoration: var(--message-box-header-font-text-decoration);
  text-transform: var(--message-box-header-font-text-transform);
  color: var(--message-box-header-foreground-color);
}

:host [part="root"] [part="header"] [part="subHeaderText"] {
  font-family: var(--message-box-sub-header-font-family);
  font-size: var(--message-box-sub-header-font-size);
  line-height: var(--message-box-sub-header-font-line-height);
  font-weight: var(--message-box-sub-header-font-weight);
  letter-spacing: var(--message-box-sub-header-font-letter-spacing);
  -webkit-text-decoration: var(--message-box-sub-header-font-text-decoration);
  text-decoration: var(--message-box-sub-header-font-text-decoration);
  text-transform: var(--message-box-sub-header-font-text-transform);
  color: var(--message-box-sub-header-foreground-color);
}

:host [part="root"] [part="content"] {
  padding: var(--message-box-padding-top) var(--message-box-padding-right) var(--message-box-padding-bottom) var(--message-box-padding-left);
  align-items: center;
  gap: var(--message-box-gap);
  flex-direction: column;
  flex: 1;
  display: flex;
  overflow: auto;
}

:host [part="root"] [part="content"] [part="icon"] {
  flex-shrink: 0;
}

:host [part="root"] [part="actions"] {
  padding: var(--message-box-padding-top) var(--message-box-padding-right) var(--message-box-padding-bottom) var(--message-box-padding-left);
  justify-content: flex-end;
  align-items: center;
  gap: var(--message-box-gap);
  flex-direction: row;
  display: flex;
  position: relative;
}

:host(:not([is-full-screen])) [part="root"] {
  width: var(--dialog-width);
  height: var(--dialog-height);
  max-width: var(--dialog-max-width);
  max-height: var(--dialog-max-height);
}

:host([is-full-screen]) [part="root"] {
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
}

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

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