/* Text Input Component Styles */
.text-input-container {
  width: 100%;
}

.text-input {
  transition: all 0.2s ease-in-out;
  font-family: inherit;
}

.text-input:focus {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.text-input.error {
  border-color: #ef4444;
}

.text-input.error:focus {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Icon styles */
.text-input-container .icon {
  color: #9ca3af;
  transition: color 0.2s ease-in-out;
}

.text-input:focus + .icon {
  color: #3b82f6;
}

/* Responsive adjustments */
@media (max-width: 640px) {
  .text-input {
    font-size: 16px; /* Prevents zoom on iOS */
  }
}
