// ------------------------------------------------------------------------------
// <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 errorElementJoyStyle() {
    return css `
:host {
  --error-background-color: transparent;
  --error-border-color: transparent;
  --error-border-radius: 0px;
  --error-border-style: solid;
  --error-border-width: 0px;
  --error-font-family: var(--joy-typography-supporting-font-family);
  --error-font-letter-spacing: var(--joy-typography-supporting-letter-spacing);
  --error-font-line-height: var(--joy-typography-supporting-line-height);
  --error-font-size: var(--joy-typography-supporting-font-size);
  --error-font-text-decoration: var(--joy-typography-supporting-text-decoration);
  --error-font-text-transform: var(--joy-typography-supporting-text-transform);
  --error-font-weight: var(--joy-typography-supporting-font-weight);
  --error-foreground-color: var(--joy-color-danger-500);
  --error-gap: 4px;
  --error-padding-bottom: unset;
  --error-padding-left: unset;
  --error-padding-right: unset;
  --error-padding-top: unset;
  --error-shadow: unset unset unset unset unset;
  --error-shadow-blur: unset;
  --error-shadow-color: unset;
  --error-shadow-offset-x: unset;
  --error-shadow-offset-y: unset;
  --error-shadow-spread: unset;
  --error-transition-duration: var(--joy-duration-short);
  --error-transition-mode: ease;
  --error-transition-property: all;
  --error-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(--error-font-family);
  font-size: var(--error-font-size);
  line-height: var(--error-font-line-height);
  font-weight: var(--error-font-weight);
  letter-spacing: var(--error-font-letter-spacing);
  -webkit-text-decoration: var(--error-font-text-decoration);
  text-decoration: var(--error-font-text-decoration);
  text-transform: var(--error-font-text-transform);
  background-color: var(--error-background-color);
  color: var(--error-foreground-color);
  border: var(--error-border-width) var(--error-border-style) var(--error-border-color);
  border-radius: var(--error-border-radius);
  gap: var(--error-gap);
  display: block;
}

:host [part="root"] {
  place-content: center flex-start;
  align-items: center;
  gap: inherit;
  flex-direction: row;
  display: flex;
}

:host [part="root"] [part="text"] {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  background-color: inherit;
  color: inherit;
}

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