// ------------------------------------------------------------------------------
// <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 selectElementCosmopolitanStyle() {
    return css `
:host {
  --select-background-color: unset;
  --select-border-color: unset;
  --select-border-radius: unset;
  --select-border-style: unset;
  --select-border-width: unset;
  --select-focus-ring-active-width: 8px;
  --select-focus-ring-color: var(--cosmopolitan-color-light-secondary-400);
  --select-focus-ring-inward-offset: 2px;
  --select-focus-ring-outward-offset: 2px;
  --select-font-family: var(--cosmopolitan-font-family);
  --select-font-letter-spacing: var(--cosmopolitan-typography-body2-letter-spacing);
  --select-font-line-height: var(--cosmopolitan-typography-body2-line-height);
  --select-font-size: 16px;
  --select-font-text-decoration: var(--cosmopolitan-typography-body2-text-decoration);
  --select-font-text-transform: var(--cosmopolitan-typography-body2-text-transform);
  --select-font-weight: normal;
  --select-foreground-color: unset;
  --select-gap: var(--cosmopolitan-layout-space);
  --select-padding-bottom: calc(var(--cosmopolitan-layout-space) / 2);
  --select-padding-left: calc(var(--cosmopolitan-layout-space) * 1.5);
  --select-padding-right: calc(var(--cosmopolitan-layout-space) * 1.5);
  --select-padding-top: calc(var(--cosmopolitan-layout-space) / 2);
  --select-shadow: unset unset unset unset unset;
  --select-shadow-blur: unset;
  --select-shadow-color: unset;
  --select-shadow-offset-x: unset;
  --select-shadow-offset-y: unset;
  --select-shadow-spread: unset;
  --select-transition-duration: var(--mosaik-duration-short);
  --select-transition-mode: ease;
  --select-transition-property: all;
  --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: 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;
  background: 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;
}

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