// ------------------------------------------------------------------------------
// <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 formFieldElementJoyStyle() {
    return css `
:host {
  --form-field-background-color: var(--joy-scheme-background);
  --form-field-font-family: unset;
  --form-field-font-letter-spacing: unset;
  --form-field-font-line-height: unset;
  --form-field-font-size: unset;
  --form-field-font-text-decoration: unset;
  --form-field-font-text-transform: unset;
  --form-field-font-weight: unset;
  --form-field-gap: unset;
  --form-field-padding-bottom: unset;
  --form-field-padding-left: unset;
  --form-field-padding-right: unset;
  --form-field-padding-top: unset;
  --form-field-transition-duration: unset;
  --form-field-transition-mode: unset;
  --form-field-transition-property: unset;
  --form-field-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 [part="label"] {
  flex: 1;
}

:host [part="label"] mosaik-text {
  font-size: inherit;
  line-height: inherit;
  font-weight: inherit;
  text-decoration: inherit;
  text-transform: inherit;
  letter-spacing: inherit;
}

:host [part="detail"] {
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  display: flex;
}

:host([required]) [part="label"] {
  font-weight: 900;
}

:host([required]) [part="label"] mosaik-text {
  font-weight: inherit;
}

:host [part="label"] {
  font-size: var(--joy-typography-caption-font-size);
  line-height: var(--joy-typography-caption-line-height);
  font-weight: var(--joy-typography-caption-font-weight);
  -webkit-text-decoration: var(--joy-typography-caption-text-decoration);
  text-decoration: var(--joy-typography-caption-text-decoration);
  text-transform: var(--joy-typography-caption-text-transform);
  letter-spacing: var(--joy-typography-caption-letter-spacing);
}

:host [part="detail"] {
  padding-inline: calc(var(--joy-layout-space) * 2);
}

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