// ------------------------------------------------------------------------------
// <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 selectElementMemphisStyle() {
    return css `
:host {
  --select-background-color: var(--memphis-scheme-background);
  --select-border-color: var(--memphis-color-light-secondary-400);
  --select-border-radius: calc(var(--memphis-layout-radius) * 1.5);
  --select-border-style: solid;
  --select-border-width: var(--memphis-layout-thickness);
  --select-focus-ring-active-width: 8px;
  --select-focus-ring-color: var(--memphis-color-light-secondary-400);
  --select-focus-ring-inward-offset: 2px;
  --select-focus-ring-outward-offset: 2px;
  --select-font-family: var(--memphis-font-family);
  --select-font-letter-spacing: var(--memphis-typography-body2-letter-spacing);
  --select-font-line-height: var(--memphis-typography-body2-line-height);
  --select-font-size: var(--memphis-typography-body2-font-size);
  --select-font-text-decoration: var(--memphis-typography-body2-text-decoration);
  --select-font-text-transform: var(--memphis-typography-body2-text-transform);
  --select-font-weight: var(--memphis-typography-body2-font-weight);
  --select-foreground-color: var(--memphis-scheme-foreground);
  --select-gap: calc(var(--memphis-layout-space) / 2);
  --select-padding-bottom: calc(var(--memphis-layout-space) / 2);
  --select-padding-left: calc(var(--memphis-layout-space) * 1.5);
  --select-padding-right: calc(var(--memphis-layout-space) * 1.5);
  --select-padding-top: calc(var(--memphis-layout-space) / 2);
  --select-shadow: var(--memphis-elevation-none);
  --select-transition-duration: var(--memphis-duration-short);
  --select-transition-mode: ease;
  --select-transition-property: background-color, color, border-color, box-shadow, transform;
  --select-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(--select-font-family);
  font-size: var(--select-font-size);
  line-height: var(--select-font-line-height);
  font-weight: var(--select-font-weight);
  letter-spacing: var(--select-font-letter-spacing);
  -webkit-text-decoration: var(--select-font-text-decoration);
  text-decoration: var(--select-font-text-decoration);
  text-transform: var(--select-font-text-transform);
  transition-duration: var(--select-transition-duration);
  transition-timing-function: var(--select-transition-mode);
  transition-property: var(--select-transition-property);
  translate: var(--select-translate);
  background-color: var(--select-background-color);
  color: var(--select-foreground-color);
  box-shadow: var(--select-shadow);
  border-color: var(--select-border-color);
  border-radius: var(--select-border-radius);
  cursor: pointer;
}

:host [part="focusRing"] {
  --focus-ring-color: var(--select-focus-ring-color);
  --focus-ring-active-width: var(--select-focus-ring-active-width);
  --focus-ring-inward-offset: var(--select-focus-ring-inward-offset);
  --focus-ring-outward-offset: var(--select-focus-ring-outward-offset);
}

:host [part="input"] {
  cursor: inherit;
  --textbox-border-color: var(--select-border-color);
  --textbox-border-radius: var(--select-border-radius);
}

:host [part="input"][readonly]:not([invalid]) {
  --textbox-border-color: var(--select-border-color);
}

:host [part="input"]::part(suffix) {
  --button-icon-min-width: 36px;
  --button-icon-min-height: 36px;
  --icon-size: 20px;
}

:host [part="popup"] {
  z-index: 100;
}

:host [part="menu"] {
  border: none;
  padding: 0;
}

:host [part="menu"] ::slotted(mosaik-select-item) {
  border-radius: 0;
}

:host [part="empty"] {
  padding-top: var(--select-padding-top);
  padding-right: var(--select-padding-right);
  padding-bottom: var(--select-padding-bottom);
  padding-left: var(--select-padding-left);
}

:host([disabled]:not([disabled="false"])) {
  cursor: default;
}

:host([is-drop-down-open]) [part="caret"] {
  transform: rotate(180deg);
}

:host([readonly]) [part="input"] {
  pointer-events: none;
}

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

:host([appearance="plain"]) {
  --select-border-width: 0;
  --select-background-color: var(--memphis-scheme-transparent);
}

:host([appearance="plain"]) [part="focusRing"] {
  --focus-ring-inward-offset: 0px;
  --focus-ring-outward-offset: 0px;
}

:host(:not([disabled]:not([disabled="false"])):hover) {
  --select-border-color: var(--memphis-color-secondary-300);
}

:host(:not([disabled]:not([disabled="false"])):focus-within) {
  --select-border-color: var(--memphis-color-secondary-400);
}

:host([is-drop-down-open]) {
  --select-border-color: var(--memphis-color-secondary-500);
}

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

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