/*! Copyright 2026 Fonticons, Inc. - https://webawesome.com/license */
import { css } from "lit";
var form_control_styles_default = css`:host {
  display: flex;
  flex-direction: column;
}
[part~=form-control] {
  display: contents;
}
:is([part~=form-control-label], [part~=label]):has(*:not(:empty)),
:is([part~=form-control-label], [part~=label]).has-label {
  display: inline-flex;
  color: var(--wa-form-control-label-color);
  font-weight: var(--wa-form-control-label-font-weight);
  line-height: var(--wa-form-control-label-line-height);
  margin-block-end: 0.5em;
}
:host([required]) :is([part~=form-control-label], [part~=label])::after {
  content: var(--wa-form-control-required-content);
  margin-inline-start: var(--wa-form-control-required-content-offset);
  color: var(--wa-form-control-required-content-color);
}
[part~=hint] {
  display: block;
  color: var(--wa-form-control-hint-color);
  font-weight: var(--wa-form-control-hint-font-weight);
  line-height: var(--wa-form-control-hint-line-height);
  margin-block-start: 0.5em;
  font-size: var(--wa-font-size-smaller);
}
[part~=hint]:not(.has-slotted, .has-hint) {
  display: none;
}
`;
export {
  form_control_styles_default as default
};
