// ------------------------------------------------------------------------------
// <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 radioElementJoyStyle() {
    return css `
:host {
  --radio-background-color: var(--joy-scheme-background);
  --radio-border-color: var(--joy-scheme-highlight);
  --radio-border-radius: calc(var(--joy-layout-radius) / 2);
  --radio-border-style: solid;
  --radio-border-width: var(--joy-layout-thickness);
  --radio-font-family: var(--joy-font-family);
  --radio-font-letter-spacing: var(--joy-typography-body1-letter-spacing);
  --radio-font-line-height: var(--joy-typography-body1-line-height);
  --radio-font-size: var(--joy-typography-body1-font-size);
  --radio-font-text-decoration: var(--joy-typography-body1-text-decoration);
  --radio-font-text-transform: var(--joy-typography-body1-text-transform);
  --radio-font-weight: var(--joy-typography-body1-font-weight);
  --radio-foreground-color: var(--joy-color-neutral-900);
  --radio-gap: 12px;
  --radio-padding-bottom: 8px;
  --radio-padding-left: 12px;
  --radio-padding-right: 12px;
  --radio-padding-top: 8px;
  --radio-shadow: var(--joy-elevation-none);
  --radio-transition-duration: var(--joy-duration-short);
  --radio-transition-mode: ease;
  --radio-transition-property: background-color, color, border-color, opacity, box-shadow;
  --radio-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(--radio-font-family);
  font-size: var(--radio-font-size);
  line-height: var(--radio-font-line-height);
  font-weight: var(--radio-font-weight);
  letter-spacing: var(--radio-font-letter-spacing);
  -webkit-text-decoration: var(--radio-font-text-decoration);
  text-decoration: var(--radio-font-text-decoration);
  text-transform: var(--radio-font-text-transform);
  gap: var(--radio-gap);
  transition-duration: var(--radio-transition-duration);
  transition-timing-function: var(--radio-transition-mode);
  transition-property: var(--radio-transition-property);
  translate: var(--radio-translate);
  background-color: var(--radio-background-color);
  color: var(--radio-foreground-color);
  box-shadow: var(--radio-shadow);
  flex-direction: row;
  align-items: center;
  display: flex;
}

:host [part="focusRing"] {
  border-radius: var(--focus-ring-border-radius);
  --focus-ring-outward-offset: 0px;
}

:host [part="input"] {
  clip: rect(1px, 1px, 1px, 1px);
  color: #0000;
  width: auto;
  height: auto;
  position: absolute;
  overflow: hidden;
}

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

:host [part="label"]:after {
  display: inherit;
}

:host([invalid]:not([disabled]:not([disabled="false"]))) [part="checkmark"] {
  --checkmark-foreground-color: var(--radio-foreground-color);
  --checkmark-border-color: var(--radio-border-color);
}

:host([required]) [part="label"]:after {
  content: "*";
  margin-left: 2px;
}

:host([label-position="after"]) {
  flex-direction: row;
}

:host([label-position="before"]) {
  flex-direction: row-reverse;
}

:host [part="focusRing"] {
  border-radius: min(var(--radio-border-radius), var(--radio-border-radius)  + var(--joy-layout-thickness));
}

:host([invalid]:not([disabled]:not([disabled="false"]))) {
  --radio-border-color: var(--joy-color-danger-500);
  --radio-foreground-color: var(--joy-color-danger-500);
}

:host([invalid]:not([disabled]:not([disabled="false"]))) [part="focusRing"] {
  --focus-ring-border-color: var(--joy-color-danger-500);
}

:host([invalid]:not([disabled]:not([disabled="false"]))) [part="checkmark"] {
  --checkmark-background-color: var(--joy-color-danger-100);
}

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