"use client" import { useState } from "react"; import Link from "next/link"; import { authClient } from "@/lib/auth-client"; // Simple utility function to merge classnames function cn(...classes: (string | undefined | null | false)[]): string { return classes.filter(Boolean).join(' '); } // Custom Button Component interface ButtonProps extends React.ButtonHTMLAttributes { variant?: 'default' | 'secondary' | 'outline'; children: React.ReactNode; } function Button({ variant = 'default', className, children, ...props }: ButtonProps) { const baseClasses = "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 h-10 px-4 py-2"; const variantClasses = { default: "bg-primary text-primary-foreground hover:bg-primary/90 bg-gray-900 text-white hover:bg-gray-800", secondary: "bg-secondary text-secondary-foreground hover:bg-secondary/80 bg-gray-100 text-gray-900 hover:bg-gray-200", outline: "border border-input bg-background hover:bg-accent hover:text-accent-foreground border-gray-200 bg-white hover:bg-gray-50" }; return ( ); } // Custom Input Component interface InputProps extends React.InputHTMLAttributes {} function Input({ className, ...props }: InputProps) { return ( ); } // Custom Label Component interface LabelProps extends React.LabelHTMLAttributes {} function Label({ className, ...props }: LabelProps) { return (