// ------------------------------------------------------------------------------
// <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 selectElementJoyStyle() {
    return css `
:host {
  --select-background-color: var(--joy-scheme-background);
  --select-border-color: var(--joy-scheme-highlight);
  --select-border-radius: var(--joy-layout-radius);
  --select-border-style: solid;
  --select-border-width: var(--joy-layout-thickness);
  --select-font-family: var(--joy-font-family);
  --select-font-letter-spacing: unset;
  --select-font-line-height: unset;
  --select-font-size: 16px;
  --select-font-text-decoration: unset;
  --select-font-text-transform: unset;
  --select-font-weight: normal;
  --select-foreground-color: var(--joy-scheme-foreground);
  --select-gap: 8px;
  --select-padding-bottom: 8px;
  --select-padding-left: 12px;
  --select-padding-right: 12px;
  --select-padding-top: 8px;
  --select-shadow: unset;
  --select-transition-duration: .2s;
  --select-transition-mode: ease;
  --select-transition-property: all;
  --select-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(--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);
  cursor: pointer;
  border-color: var(--select-border-color);
}

:host [part="input"] {
  cursor: inherit;
}

: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="icon"] {
  transform: rotate(180deg);
}

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

:host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="primary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-primary-500);
}

:host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="secondary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-secondary-500);
}

:host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="tertiary"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-tertiary-500);
}

:host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="danger"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-danger-500);
}

:host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="warning"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-warning-500);
}

:host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="success"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-success-500);
}

:host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="info"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-info-500);
}

:host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="highlight"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-highlight-500);
}

:host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):focus), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):focus) [part="popup"], :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):hover), :host([variant="neutral"]:not([disabled]:not([disabled="false"])):not([invalid]):hover) [part="popup"] {
  --select-border-color: var(--joy-color-neutral-500);
}

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