import React from 'react'; interface ButtonProps extends React.ButtonHTMLAttributes { variant?: 'primary' | 'secondary' | 'outline' | 'ghost'; fullWidth?: boolean; isLoading?: boolean; } const BASE_STYLES = "inline-flex items-center justify-center px-6 py-3 text-sm font-medium transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-offset-black disabled:opacity-50 font-mono tracking-tight"; const VARIANT_STYLES = { primary: "bg-white text-black hover:bg-zinc-200 border border-white", secondary: "bg-zinc-900 text-zinc-100 hover:bg-zinc-800 border border-zinc-800", outline: "bg-transparent text-zinc-300 border border-zinc-700 hover:border-zinc-500 hover:text-white", ghost: "bg-transparent text-zinc-400 hover:text-white hover:bg-zinc-900" } as const; export function Button({ children, variant = 'primary', className = '', fullWidth = false, isLoading = false, disabled, ...props }: ButtonProps): React.ReactElement { const widthClass = fullWidth ? 'w-full' : ''; const classes = [ BASE_STYLES, VARIANT_STYLES[variant], widthClass, className, ].filter(Boolean).join(' '); return ( ); }