// ------------------------------------------------------------------------------
// <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 numberBoxElementMemphisStyle() {
    return css `
:host {
  --numberbox-background-color: unset;
  --numberbox-border-color: unset;
  --numberbox-border-radius: unset;
  --numberbox-border-style: unset;
  --numberbox-border-width: unset;
  --numberbox-focus-ring-outward-offset: unset;
  --numberbox-font-family: unset;
  --numberbox-font-letter-spacing: unset;
  --numberbox-font-line-height: unset;
  --numberbox-font-size: unset;
  --numberbox-font-text-decoration: unset;
  --numberbox-font-text-transform: unset;
  --numberbox-font-weight: unset;
  --numberbox-foreground-color: unset;
  --numberbox-gap: unset;
  --numberbox-height: unset;
  --numberbox-padding-bottom: unset;
  --numberbox-padding-left: unset;
  --numberbox-padding-right: unset;
  --numberbox-padding-top: unset;
  --numberbox-shadow: unset unset unset unset unset;
  --numberbox-shadow-blur: unset;
  --numberbox-shadow-color: unset;
  --numberbox-shadow-offset-x: unset;
  --numberbox-shadow-offset-y: unset;
  --numberbox-shadow-spread: unset;
  --numberbox-transition-duration: unset;
  --numberbox-transition-mode: unset;
  --numberbox-transition-property: unset;
  --numberbox-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 input {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  cursor: inherit;
  margin: 0;
  overflow: visible;
}

:host input::-webkit-outer-spin-button, :host input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

:host input[type="number"] {
  -moz-appearance: textfield;
}

:host {
  font-family: var(--numberbox-font-family);
  font-size: var(--numberbox-font-size);
  line-height: var(--numberbox-font-line-height);
  font-weight: var(--numberbox-font-weight);
  letter-spacing: var(--numberbox-font-letter-spacing);
  -webkit-text-decoration: var(--numberbox-font-text-decoration);
  text-decoration: var(--numberbox-font-text-decoration);
  text-transform: var(--numberbox-font-text-transform);
  padding-top: var(--numberbox-padding-top);
  padding-right: var(--numberbox-padding-right);
  padding-bottom: var(--numberbox-padding-bottom);
  padding-left: var(--numberbox-padding-left);
  gap: var(--numberbox-gap);
  transition-duration: var(--numberbox-transition-duration);
  transition-timing-function: var(--numberbox-transition-mode);
  transition-property: var(--numberbox-transition-property);
  translate: var(--numberbox-translate);
  background: var(--numberbox-background-color);
  color: var(--numberbox-foreground-color);
  border-color: var(--numberbox-border-color);
  border-width: var(--numberbox-border-width);
  border-radius: var(--numberbox-border-radius);
  border-style: var(--numberbox-border-style);
  box-shadow: var(--numberbox-shadow);
  min-height: var(--numberbox-height);
  cursor: text;
  z-index: 0;
  outline: none;
  flex-direction: row;
  align-items: center;
  display: flex;
}

:host [part="prefix"] {
  gap: var(--numberbox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="prefix"][hidden] {
  display: none;
}

:host [part="inner"] {
  width: 100%;
  height: 100%;
  padding: var(--numberbox-padding-top) var(--numberbox-padding-right) var(--numberbox-padding-bottom) var(--numberbox-padding-left);
  flex-direction: column;
  flex: 1;
  display: flex;
  position: relative;
}

:host [part="label"] {
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  pointer-events: none;
  transform-origin: 0 0;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
  will-change: transform;
  transition-property: transform, font-size, color, letter-spacing, top;
  transition-duration: .2s;
  transition-timing-function: ease;
  display: block;
  position: absolute;
  top: 10px;
  overflow: hidden;
  transform: translateY(0);
}

:host [part="label"].floating {
  top: unset;
  font-size: 12px;
  transform: translateY(-50%);
}

:host [part="suffix"] {
  gap: var(--numberbox-gap);
  flex-grow: 0;
  flex-shrink: 0;
  align-items: center;
  display: flex;
}

:host [part="suffix"][hidden] {
  display: none;
}

:host [part="input"] {
  color: inherit;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: none;
  border: none;
  outline: none;
  width: 100%;
  margin: 0;
  padding: 0;
}

:host([has-label]) [part="inner"] [part="input"] {
  padding-top: 12px;
}

:host([has-label]) [part="inner"] {
  padding-bottom: unset;
}

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

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

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

:host([spin-position="around"]) [part="input"] {
  text-align: center;
}

:host([appearance="plain"]) {
  --numberbox-border-width: 0;
}

:host([text-align="left"]) [part="input"] {
  text-align: left;
}

:host([text-align="center"]) [part="input"] {
  text-align: center;
}

:host([text-align="right"]) [part="input"] {
  text-align: right;
}

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