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

// src/components/input/input.styles.ts
var input_styles_default = i`:host {
  border-width: 0;
}
:host(:focus) {
  outline: none;
}
.text-field {
  display: flex;
  align-items: stretch;
  justify-content: start;
  position: relative;
  transition: inherit;
  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: var(--wa-form-control-value-font-size);
  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);
  box-shadow: var(--box-shadow);
  padding: 0 var(--wa-form-control-padding-inline);
  outline: var(--wa-focus-ring-style) var(--wa-focus-ring-width) transparent;
  outline-offset: var(--wa-focus-ring-offset);
}
.text-field:focus-within {
  outline-color: var(--wa-color-focus);
}
.text-field:has(:disabled) {
  cursor: not-allowed;
  opacity: 0.5;
}
:host([appearance="outlined"]) .text-field {
  background-color: var(--wa-form-control-background-color);
  border-color: var(--wa-form-control-border-color);
}
:host([appearance="filled"]) .text-field {
  background-color: var(--wa-color-neutral-fill-quiet);
  border-color: var(--wa-color-neutral-fill-quiet);
}
:host([appearance="filled-outlined"]) .text-field {
  background-color: var(--wa-color-neutral-fill-quiet);
  border-color: var(--wa-form-control-border-color);
}
:host([pill]) .text-field {
  border-radius: var(--wa-border-radius-pill) !important;
}
.text-field:has(:autofill),
.text-field:has(:-webkit-autofill) {
  background-color: var(--wa-color-brand-fill-quiet) !important;
}
.text-field input,
.text-field textarea {
  height: 100%;
  padding: 0;
  border: none;
  outline: none;
  box-shadow: none;
  margin: 0;
  cursor: inherit;
  -webkit-appearance: none;
  font: inherit;
}
:is(.text-field input, .text-field textarea):-webkit-autofill,
:is(.text-field input, .text-field textarea):-webkit-autofill:hover,
:is(.text-field input, .text-field textarea):-webkit-autofill:focus,
:is(.text-field input, .text-field textarea):-webkit-autofill:active {
  -webkit-background-clip: text;
  background-color: transparent;
  -webkit-text-fill-color: inherit;
}
input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  transition: inherit;
  background-color: rgb(118 118 118 / 0);
  height: calc(var(--wa-form-control-height) - var(--border-width) * 2);
  padding-block: 0;
  color: inherit;
}
input:autofill,
input:autofill:hover,
input:autofill:focus,
input:autofill:active {
  box-shadow: none;
  caret-color: var(--wa-form-control-value-color);
}
input::placeholder {
  color: var(--wa-form-control-placeholder-color);
  user-select: none;
  -webkit-user-select: none;
}
input::-webkit-search-decoration,
input::-webkit-search-cancel-button,
input::-webkit-search-results-button,
input::-webkit-search-results-decoration {
  -webkit-appearance: none;
}
input:focus {
  outline: none;
}
textarea:autofill,
textarea:autofill:hover,
textarea:autofill:focus,
textarea:autofill:active {
  box-shadow: none;
  caret-color: var(--wa-form-control-value-color);
}
textarea::placeholder {
  color: var(--wa-form-control-placeholder-color);
  user-select: none;
  -webkit-user-select: none;
}
.start,
.end {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  cursor: default;
}
:is(.start, .end)::slotted(wa-icon) {
  color: var(--wa-color-neutral-on-quiet);
}
.start::slotted(*) {
  margin-inline-end: var(--wa-form-control-padding-inline);
}
.end::slotted(*) {
  margin-inline-start: var(--wa-form-control-padding-inline);
}
.clear,
.password-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: inherit;
  color: var(--wa-color-neutral-on-quiet);
  border: none;
  background: none;
  padding: 0;
  transition: var(--wa-transition-normal) color;
  cursor: pointer;
  margin-inline-start: var(--wa-form-control-padding-inline);
}
@media (hover: hover) {
  :is(.clear, .password-toggle):hover {
    color: color-mix(in oklab, currentColor, var(--wa-color-mix-hover));
  }
}
:is(.clear, .password-toggle):active {
  color: color-mix(in oklab, currentColor, var(--wa-color-mix-active));
}
:is(.clear, .password-toggle):focus {
  outline: none;
}
::-ms-reveal {
  display: none;
}
:host([without-spin-buttons]) input[type=number] {
  -moz-appearance: textfield;
}
:host([without-spin-buttons]) input[type=number]::-webkit-outer-spin-button,
:host([without-spin-buttons]) input[type=number]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  display: none;
}
`;

export {
  input_styles_default
};
