// ------------------------------------------------------------------------------
// <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 popupElementCosmopolitanStyle() {
    return css `
:host {
  --popup-background-color: var(--cosmopolitan-scheme-surface);
  --popup-border-color: var(--cosmopolitan-scheme-highlight);
  --popup-border-radius: var(--cosmopolitan-layout-radius);
  --popup-border-style: solid;
  --popup-border-width: var(--cosmopolitan-layout-thickness);
  --popup-font-family: var(--cosmopolitan-font-family);
  --popup-font-letter-spacing: var(--cosmopolitan-typography-body2-letter-spacing);
  --popup-font-line-height: var(--cosmopolitan-typography-body2-line-height);
  --popup-font-size: var(--cosmopolitan-typography-body2-font-size);
  --popup-font-text-decoration: var(--cosmopolitan-typography-body2-text-decoration);
  --popup-font-text-transform: var(--cosmopolitan-typography-body2-text-transform);
  --popup-font-weight: var(--cosmopolitan-typography-body2-font-weight);
  --popup-foreground-color: var(--cosmopolitan-scheme-foreground);
  --popup-gap: calc(var(--cosmopolitan-layout-space) * .5);
  --popup-padding-bottom: calc(var(--cosmopolitan-layout-space) * 1);
  --popup-padding-left: calc(var(--cosmopolitan-layout-space) * 1.25);
  --popup-padding-right: calc(var(--cosmopolitan-layout-space) * 1.25);
  --popup-padding-top: calc(var(--cosmopolitan-layout-space) * 1);
  --popup-shadow: var(--cosmopolitan-elevation-regular-offset-x-0) var(--cosmopolitan-elevation-regular-offset-y-0) var(--cosmopolitan-elevation-regular-blur-0) var(--cosmopolitan-elevation-regular-spread-0) var(--cosmopolitan-elevation-regular-color-0);
  --popup-shadow-blur: var(--cosmopolitan-elevation-regular-blur-0);
  --popup-shadow-color: var(--cosmopolitan-elevation-regular-color-0);
  --popup-shadow-offset-x: var(--cosmopolitan-elevation-regular-offset-x-0);
  --popup-shadow-offset-y: var(--cosmopolitan-elevation-regular-offset-y-0);
  --popup-shadow-spread: var(--cosmopolitan-elevation-regular-spread-0);
  --popup-transition-duration: var(--cosmopolitan-duration-short);
  --popup-transition-mode: ease;
  --popup-transition-property: background-color, border-color, box-shadow, color, transform, opacity;
  --popup-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(--popup-font-family);
  font-size: var(--popup-font-size);
  font-weight: var(--popup-font-weight);
  line-height: var(--popup-font-line-height);
  letter-spacing: var(--popup-font-letter-spacing);
  -webkit-text-decoration: var(--popup-font-text-decoration);
  text-decoration: var(--popup-font-text-decoration);
  text-transform: var(--popup-font-text-transform);
  color: var(--popup-foreground-color);
  display: inline-block;
  position: relative;
}

[part="popup"] {
  background-color: var(--popup-background-color);
  border-color: var(--popup-border-color);
  border-width: var(--popup-border-width);
  border-radius: var(--popup-border-radius);
  border-style: var(--popup-border-style);
  transition-duration: var(--popup-transition-duration);
  transition-timing-function: var(--popup-transition-mode);
  transition-property: var(--popup-transition-property);
  box-shadow: var(--popup-shadow-offset-x) var(--popup-shadow-offset-y) var(--popup-shadow-blur) var(--popup-shadow-spread) var(--popup-shadow-color);
  overflow: hidden;
}

[part="body"] {
  padding-top: var(--popup-padding-top);
  padding-left: var(--popup-padding-left);
  padding-bottom: var(--popup-padding-bottom);
  padding-right: var(--popup-padding-right);
  gap: var(--popup-gap);
  flex-direction: column;
  display: flex;
}

[part="header"]:empty, [part="footer"]:empty {
  display: none;
}

[part="arrow"] {
  background-color: var(--popup-background-color);
  border-color: var(--popup-border-color);
  border-width: var(--popup-border-width);
  border-style: var(--popup-border-style);
  width: 8px;
  height: 8px;
  position: absolute;
  transform: rotate(45deg);
}

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