// ------------------------------------------------------------------------------
// <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 radioElementMemphisStyle() {
    return css `
:host {
  --radio-background-color: var(--memphis-scheme-transparent);
  --radio-border-color: var(--memphis-color-light-secondary-500);
  --radio-border-radius: calc(var(--memphis-layout-radius) / 2);
  --radio-border-style: solid;
  --radio-border-width: 0px;
  --radio-checkmark-background-color: var(--memphis-color-light-secondary-500);
  --radio-checkmark-border-color: var(--memphis-color-light-secondary-500);
  --radio-checkmark-foreground-color: var(--memphis-color-light-secondary-0);
  --radio-focus-ring-border-color: var(--memphis-color-light-secondary-500);
  --radio-focus-ring-outward-offset: calc(var(--memphis-layout-space) / 2);
  --radio-font-family: var(--memphis-font-family);
  --radio-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --radio-font-line-height: var(--memphis-typography-body2-line-height);
  --radio-font-size: var(--memphis-typography-body2-font-size);
  --radio-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --radio-font-text-transform: var(--memphis-typography-body2-text-transform);
  --radio-font-weight: var(--memphis-typography-body2-font-weight);
  --radio-foreground-color: var(--memphis-scheme-foreground);
  --radio-gap: calc(var(--memphis-layout-space) / 2);
  --radio-padding-bottom: calc(var(--memphis-layout-space) / 4);
  --radio-padding-left: calc(var(--memphis-layout-space) / 4);
  --radio-padding-right: calc(var(--memphis-layout-space) / 4);
  --radio-padding-top: calc(var(--memphis-layout-space) / 4);
  --radio-shadow: var(--memphis-elevation-none);
  --radio-transition-duration: var(--memphis-duration-short);
  --radio-transition-mode: ease;
  --radio-transition-property: background-color, color, border-color, box-shadow, transform;
  --radio-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(--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(--memphis-layout-thickness));
}

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

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

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

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