import { cn } from "@/lib/utils/cn";

type InputProps = React.InputHTMLAttributes<HTMLInputElement>;

export function Input({ className, ...props }: InputProps) {
  return (
    <input
      className={cn(
        "w-full rounded-xl border border-[var(--border)] bg-white px-4 py-2.5 text-sm text-slate-800 outline-none ring-[var(--primary)] transition focus:ring-2",
        className,
      )}
      {...props}
    />
  );
}
