interface FloatingInputProps { id: string; label: string; type: 'text' | 'password'; value: string; placeholder: string; onChange: (value: string) => void; suggestions?: string[]; containerClassName?: string; labelClassName?: string; inputClassName?: string; } export function FloatingInput({ id, label, type, value, placeholder, onChange, suggestions, containerClassName = '', labelClassName = '', inputClassName = '', }: FloatingInputProps) { const datalistId = suggestions && suggestions.length > 0 ? `${id}__datalist` : undefined; return (