.wrapper {
  --input-color: #00f0ff;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.cyan { --input-color: #00f0ff; }
.pink { --input-color: #ff00ff; }
.green { --input-color: #00ff88; }
.purple { --input-color: #a855f7; }
.hasError { --input-color: #ff0040; }

.label {
  font-family: var(--font-display, 'Rajdhani', sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.125em;
  color: var(--input-color);
}

.inputWrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.input {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.875rem;
  color: hsl(var(--foreground, 0 0% 98%));
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  outline: none;
  transition: all 0.3s ease;
}

.input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.input:focus {
  border-color: var(--input-color);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.border {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--input-color);
  transition: width 0.3s ease;
}

.input:focus ~ .border {
  width: 100%;
}

.glow {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 1.25rem;
  background: radial-gradient(ellipse, var(--input-color), transparent);
  opacity: 0;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  pointer-events: none;
}

.input:focus ~ .glow {
  width: 80%;
  opacity: 0.3;
}

.error {
  font-family: var(--font-mono, 'Share Tech Mono', monospace);
  font-size: 0.75rem;
  color: #ff0040;
}
