.wk-input {
  display: flex;
  align-items: center;
  width: 100%;
  background: var(--wk-bg-surface, #fff);
  border: 1.5px solid var(--wk-border-default, rgba(26,28,36,0.12));
  border-radius: var(--wk-r-md, 10px);
  transition: border-color var(--wk-dur-fast, 150ms) var(--wk-ease, ease),
              box-shadow var(--wk-dur-fast, 150ms) var(--wk-ease, ease);
  overflow: hidden;
}

.wk-input:hover {
  border-color: var(--wk-border-strong, rgba(26,28,36,0.2));
}

.wk-input:focus-within {
  border-color: var(--wk-border-glow, #1C1C23);
  box-shadow: 0 0 0 3px var(--wk-purple-alpha-08, rgba(28,28,35,0.08));
}

.wk-input--error {
  border-color: var(--wk-color-danger, #e53e3e);
}
.wk-input--error:focus-within {
  box-shadow: 0 0 0 3px rgba(229,62,62,0.08);
}

/* sizes */
.wk-input--sm { height: 32px; }
.wk-input--md { height: 40px; }
.wk-input--lg { height: 48px; }

/* inner input */
.wk-input__inner {
  flex: 1;
  min-width: 0;
  height: 100%;
  padding: 0 var(--wk-sp-3, 12px);
  border: none;
  outline: none;
  background: transparent;
  color: var(--wk-text-primary, #1A1C24);
  font-size: var(--wk-text-size-md, 14px);
  font-family: var(--wk-font-sans, inherit);
}

.wk-input__inner::placeholder {
  color: var(--wk-text-tertiary, #9498A8);
}

/* prefix / suffix */
.wk-input__prefix,
.wk-input__suffix {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  color: var(--wk-text-tertiary, #9498A8);
}

.wk-input__prefix { padding-left: var(--wk-sp-3, 12px); }
.wk-input__suffix { padding-right: var(--wk-sp-3, 12px); }

.wk-input--has-prefix .wk-input__inner { padding-left: var(--wk-sp-2, 8px); }
.wk-input--has-suffix .wk-input__inner { padding-right: var(--wk-sp-2, 8px); }

/* TODO: dark mode temporarily disabled, keep for future */
/* dark mode */
/* TODO: dark mode temporarily disabled, keep for future */
body[theme-mode=dark] .wk-input {
  background: var(--wk-bg-surface, rgba(255,255,255,0.06));
  border-color: var(--wk-border-default, rgba(255,255,255,0.12));
}
/* TODO: dark mode temporarily disabled, keep for future */
body[theme-mode=dark] .wk-input:hover {
  border-color: var(--wk-border-strong, rgba(255,255,255,0.2));
}
/* TODO: dark mode temporarily disabled, keep for future */
body[theme-mode=dark] .wk-input:focus-within {
  border-color: var(--wk-border-glow, #9B7DFF);
  box-shadow: 0 0 0 3px rgba(28,28,35,0.15);
}
/* TODO: dark mode temporarily disabled, keep for future */
body[theme-mode=dark] .wk-input__inner {
  color: var(--wk-text-primary, #e0e0e0);
}
