/*! Copyright 2026 Fonticons, Inc. - https://webawesome.com/license */
import {
  i
} from "./chunk.7OBLIRXR.js";

// src/components/number-input/number-input.styles.ts
var number_input_styles_default = i`:host(:focus) {
  outline: none;
}
.number-field {
  display: flex;
  align-items: stretch;
  justify-content: start;
  position: relative;
  height: var(--wa-form-control-height);
  border-color: var(--wa-form-control-border-color);
  border-radius: var(--wa-form-control-border-radius);
  border-style: var(--wa-form-control-border-style);
  border-width: var(--wa-form-control-border-width);
  cursor: text;
  color: var(--wa-form-control-value-color);
  font-size: inherit;
  font-family: inherit;
  font-weight: var(--wa-form-control-value-font-weight);
  line-height: var(--wa-form-control-value-line-height);
  vertical-align: middle;
  width: 100%;
  transition:
    background-color var(--wa-transition-normal),
    border-color var(--wa-transition-normal),
    outline-color var(--wa-transition-fast);
  transition-timing-function: var(--wa-transition-easing);
  background-color: var(--wa-form-control-background-color);
  padding: 0;
  outline: var(--wa-focus-ring-style) var(--wa-focus-ring-width) transparent;
  outline-offset: var(--wa-focus-ring-offset);
}
.number-field:focus-within {
  outline-color: var(--wa-color-focus);
}
.number-field:has(input:disabled) {
  cursor: not-allowed;
  opacity: 0.5;
}
:host([appearance="outlined"]) .number-field {
  background-color: var(--wa-form-control-background-color);
  border-color: var(--wa-form-control-border-color);
}
:host([appearance="outlined"]) .stepper {
  color: var(--wa-color-neutral-on-quiet);
}
@media (hover: hover) {
  :host([appearance="outlined"]) .stepper:hover:not(:disabled) {
    color: var(--wa-color-neutral-on-quiet);
    background-color: var(--wa-color-neutral-fill-quiet);
  }
}
:host([appearance="outlined"]) .stepper:active:not(:disabled) {
  color: color-mix(in oklab, var(--wa-color-neutral-on-quiet), var(--wa-color-mix-active));
  background-color: color-mix(in oklab, var(--wa-color-neutral-fill-quiet), var(--wa-color-mix-active));
}
:host([appearance="filled"]) .number-field {
  background-color: var(--wa-color-neutral-fill-quiet);
  border-color: var(--wa-color-neutral-fill-quiet);
}
:host([appearance="filled"]) .stepper {
  color: var(--wa-color-neutral-on-quiet);
}
@media (hover: hover) {
  :host([appearance="filled"]) .stepper:hover:not(:disabled) {
    color: var(--wa-color-neutral-on-normal);
    background-color: var(--wa-color-neutral-fill-normal);
  }
}
:host([appearance="filled"]) .stepper:active:not(:disabled) {
  color: color-mix(in oklab, var(--wa-color-neutral-on-normal), var(--wa-color-mix-active));
  background-color: color-mix(in oklab, var(--wa-color-neutral-fill-normal), var(--wa-color-mix-active));
}
:host([appearance="filled-outlined"]) .number-field {
  background-color: var(--wa-color-neutral-fill-quiet);
  border-color: var(--wa-form-control-border-color);
}
:host([appearance="filled-outlined"]) .stepper {
  color: var(--wa-color-neutral-on-quiet);
}
@media (hover: hover) {
  :host([appearance="filled-outlined"]) .stepper:hover:not(:disabled) {
    color: var(--wa-color-neutral-on-normal);
    background-color: var(--wa-color-neutral-fill-normal);
  }
}
:host([appearance="filled-outlined"]) .stepper:active:not(:disabled) {
  color: color-mix(in oklab, var(--wa-color-neutral-on-normal), var(--wa-color-mix-active));
  background-color: color-mix(in oklab, var(--wa-color-neutral-fill-normal), var(--wa-color-mix-active));
}
:host([pill]) .number-field,
:host([pill]) .stepper {
  border-radius: var(--wa-border-radius-pill);
}
.number-field:has(:autofill),
.number-field:has(:-webkit-autofill) {
  background-color: var(--wa-color-brand-fill-quiet) !important;
}
.number-field input {
  flex: auto;
  height: 100%;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0 var(--wa-form-control-padding-inline);
  outline: none;
  box-shadow: none;
  border: none;
  background-color: transparent;
  font: inherit;
  transition: inherit;
  cursor: inherit;
  -webkit-appearance: none;
  text-align: center;
  font-variant-numeric: tabular-nums;
  -moz-appearance: textfield;
}
.number-field input::-webkit-outer-spin-button,
.number-field input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
  display: none;
}
.number-field input:-webkit-autofill,
.number-field input:-webkit-autofill:hover,
.number-field input:-webkit-autofill:focus,
.number-field input:-webkit-autofill:active {
  -webkit-background-clip: text;
  background-color: transparent;
  -webkit-text-fill-color: inherit;
}
.number-field:autofill,
.number-field:autofill:hover,
.number-field:autofill:focus,
.number-field:autofill:active {
  box-shadow: none;
  caret-color: var(--wa-form-control-value-color);
}
.number-field::placeholder {
  color: var(--wa-form-control-placeholder-color);
  user-select: none;
  -webkit-user-select: none;
}
.number-field:focus {
  outline: none;
}
.start,
.end {
  display: inline-flex;
  flex: 1;
  align-items: center;
  cursor: default;
}
:is(.start, .end)::slotted(wa-icon) {
  color: var(--wa-color-neutral-on-quiet);
}
.start {
  justify-content: start;
  margin-inline-start: var(--wa-form-control-padding-inline);
}
.end {
  justify-content: end;
  margin-inline-end: var(--wa-form-control-padding-inline);
}
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1;
  height: calc(100% - var(--wa-form-control-border-width) * 2);
  flex: 0 0 auto;
  border: none;
  border-radius: calc(var(--wa-form-control-border-radius) - var(--wa-form-control-border-width) * 2);
  background: transparent;
  cursor: pointer;
  margin: var(--wa-form-control-border-width);
  padding: 0;
  font-size: inherit;
  transition-property: background-color, color;
  transition-duration: var(--wa-transition-fast);
  transition-timing-function: var(--wa-transition-easing);
}
.stepper:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.stepper:focus {
  outline: none;
}
:host([without-steppers]) .stepper {
  display: none;
}
`;

export {
  number_input_styles_default
};
