// ------------------------------------------------------------------------------
// <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 popupElementJoyStyle() {
    return css `
:host {
  --popup-background-color: var(--joy-scheme-background);
  --popup-border-color: var(--joy-scheme-highlight);
  --popup-border-radius: var(--joy-layout-radius);
  --popup-border-style: solid;
  --popup-border-width: var(--joy-layout-thickness);
  --popup-font-family: var(--joy-font-family);
  --popup-font-letter-spacing: unset;
  --popup-font-line-height: unset;
  --popup-font-size: 16px;
  --popup-font-text-decoration: unset;
  --popup-font-text-transform: unset;
  --popup-font-weight: normal;
  --popup-foreground-color: var(--joy-scheme-foreground);
  --popup-gap: unset;
  --popup-padding-bottom: unset;
  --popup-padding-left: unset;
  --popup-padding-right: unset;
  --popup-padding-top: unset;
  --popup-shadow-blur: unset;
  --popup-shadow-color: unset;
  --popup-shadow-offset-x: unset;
  --popup-shadow-offset-y: unset;
  --popup-shadow-spread: unset;
  --popup-transition-duration: var(--joy-duration-short);
  --popup-transition-mode: ease;
  --popup-transition-property: background-color, border-color, box-shadow, color, transform;
  --popup-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(--popup-font-family);
  font-size: var(--popup-font-size);
  font-weight: var(--popup-font-weight);
  background-color: var(--popup-background-color);
  color: var(--popup-foreground-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);
  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);
  overflow: hidden;
}

:host(:not([disabled]:not([disabled="false"])):focus-within) {
  --popup-border-color: var(--joy-color-primary-500);
}

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