// ------------------------------------------------------------------------------
// <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 choiceElementMemphisStyle() {
    return css `
:host {
  --choice-background-color: var(--memphis-scheme-background);
  --choice-border-color: var(--memphis-color-light-secondary-400);
  --choice-border-radius: calc(var(--memphis-layout-radius) * 1.5);
  --choice-border-style: solid;
  --choice-border-width: var(--memphis-layout-thickness);
  --choice-checkmark-border-radius: calc(var(--memphis-layout-radius) / 2);
  --choice-focus-ring-border-radius: calc(var(--memphis-layout-radius) * 1.5);
  --choice-focus-ring-color: var(--memphis-color-light-secondary-400);
  --choice-focus-ring-outward-offset: calc(var(--memphis-layout-space) / 2);
  --choice-font-family: var(--memphis-font-family);
  --choice-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --choice-font-line-height: var(--memphis-typography-body2-line-height);
  --choice-font-size: var(--memphis-typography-body2-font-size);
  --choice-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --choice-font-text-transform: var(--memphis-typography-body2-text-transform);
  --choice-font-weight: var(--memphis-typography-body2-font-weight);
  --choice-foreground-color: var(--memphis-scheme-foreground);
  --choice-gap: calc(var(--memphis-layout-space) / 2);
  --choice-padding-bottom: calc(var(--memphis-layout-space) / 2);
  --choice-padding-left: calc(var(--memphis-layout-space) * 1.5);
  --choice-padding-right: calc(var(--memphis-layout-space) * 1.5);
  --choice-padding-top: calc(var(--memphis-layout-space) / 2);
  --choice-shadow: unset unset unset unset unset;
  --choice-shadow-blur: unset;
  --choice-shadow-color: unset;
  --choice-shadow-offset-x: unset;
  --choice-shadow-offset-y: unset;
  --choice-shadow-spread: unset;
  --choice-transition-duration: var(--memphis-duration-short);
  --choice-transition-mode: ease;
  --choice-transition-property: background-color, color, border-color, box-shadow, transform;
  --choice-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(--choice-font-family);
  font-size: var(--choice-font-size);
  line-height: var(--choice-font-line-height);
  font-weight: var(--choice-font-weight);
  letter-spacing: var(--choice-font-letter-spacing);
  -webkit-text-decoration: var(--choice-font-text-decoration);
  text-decoration: var(--choice-font-text-decoration);
  text-transform: var(--choice-font-text-transform);
  padding-top: var(--choice-padding-top);
  padding-right: var(--choice-padding-right);
  padding-bottom: var(--choice-padding-bottom);
  padding-left: var(--choice-padding-left);
  gap: var(--choice-gap);
  transition-duration: var(--choice-transition-duration);
  transition-timing-function: var(--choice-transition-mode);
  transition-property: var(--choice-transition-property);
  translate: var(--choice-translate);
  background: var(--choice-background-color);
  color: var(--choice-foreground-color);
  border-color: var(--choice-border-color);
  border-width: var(--choice-border-width);
  border-radius: var(--choice-border-radius);
  border-style: var(--choice-border-style);
  box-shadow: var(--choice-shadow);
  flex-direction: row;
  align-items: center;
  display: flex;
}

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

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

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

:host [part="checkmark"] {
  --checkmark-border-radius: var(--choice-border-radius);
}

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

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

:host(:not([disabled]:not([disabled="false"])):hover) {
  --choice-background-color: var(--memphis-color-secondary-50);
  --choice-border-color: var(--memphis-color-secondary-200);
}

:host([invalid]:not([disabled]:not([disabled="false"]))) {
  --choice-border-color: var(--memphis-color-danger-500);
  --choice-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-border-color: var(--memphis-color-danger-500);
}

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