// ------------------------------------------------------------------------------
// <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 messageBoxElementJoyStyle() {
    return css `
:host {
  --message-box-background-color: var(--joy-scheme-surface);
  --message-box-border-color: var(--joy-scheme-highlight);
  --message-box-border-radius: var(--joy-layout-radius);
  --message-box-border-style: none;
  --message-box-border-width: 0px;
  --message-box-divider-height: 1px;
  --message-box-font-family: var(--joy-font-family);
  --message-box-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --message-box-font-line-height: var(--joy-typography-body1-line-height);
  --message-box-font-size: var(--joy-typography-body1-font-size);
  --message-box-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --message-box-font-text-transform: var(--joy-typography-body1-text-transform);
  --message-box-font-weight: var(--joy-typography-body1-font-weight);
  --message-box-foreground-color: var(--joy-scheme-foreground);
  --message-box-gap: var(--joy-layout-space);
  --message-box-header-font-family: var(--joy-font-family);
  --message-box-header-font-letter-spacing: var(--joy-typography-headline6-letter-spacing);
  --message-box-header-font-line-height: var(--joy-typography-headline6-line-height);
  --message-box-header-font-size: var(--joy-typography-headline6-font-size);
  --message-box-header-font-text-decoration: var(--joy-typography-headline6-text-decoration);
  --message-box-header-font-text-transform: var(--joy-typography-headline6-text-transform);
  --message-box-header-font-weight: var(--joy-typography-headline6-font-weight);
  --message-box-header-foreground-color: var(--joy-scheme-foreground);
  --message-box-padding-bottom: var(--joy-layout-space);
  --message-box-padding-left: calc(var(--joy-layout-space) * 2);
  --message-box-padding-right: calc(var(--joy-layout-space) * 2);
  --message-box-padding-top: var(--joy-layout-space);
  --message-box-shadow: var(--joy-elevation-regular-offset-x-0) var(--joy-elevation-regular-offset-y-0) var(--joy-elevation-regular-blur-0) var(--joy-elevation-regular-spread-0) var(--joy-elevation-regular-color-0);
  --message-box-shadow-blur: var(--joy-elevation-regular-blur-0);
  --message-box-shadow-color: var(--joy-elevation-regular-color-0);
  --message-box-shadow-offset-x: var(--joy-elevation-regular-offset-x-0);
  --message-box-shadow-offset-y: var(--joy-elevation-regular-offset-y-0);
  --message-box-shadow-spread: var(--joy-elevation-regular-spread-0);
  --message-box-sub-header-font-family: var(--joy-font-family);
  --message-box-sub-header-font-letter-spacing: var(--joy-typography-subtitle2-letter-spacing);
  --message-box-sub-header-font-line-height: var(--joy-typography-subtitle2-line-height);
  --message-box-sub-header-font-size: var(--joy-typography-subtitle2-font-size);
  --message-box-sub-header-font-text-decoration: var(--joy-typography-subtitle2-text-decoration);
  --message-box-sub-header-font-text-transform: var(--joy-typography-subtitle2-text-transform);
  --message-box-sub-header-font-weight: var(--joy-typography-subtitle2-font-weight);
  --message-box-sub-header-foreground-color: var(--joy-scheme-middlelight);
  --message-box-transition-duration: var(--joy-duration-short);
  --message-box-transition-mode: ease;
  --message-box-transition-property: background-color, color, border-color, opacity, box-shadow, margin;
  --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;
}

:host [part^="action"] {
  flex: 1;
}

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