"use client"; import React from "react"; type ButtonProps = React.ButtonHTMLAttributes & { variant?: "primary" | "secondary" | "ghost"; size?: "sm" | "md" | "lg"; isLoading?: boolean; }; const base = "inline-flex items-center justify-center rounded-md font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[var(--ring)] disabled:opacity-60 disabled:cursor-not-allowed"; const variants: Record = { primary: "bg-[var(--accent)] text-[var(--accent-foreground)] hover:bg-[var(--accent-700)]", secondary: "bg-white/10 text-foreground border border-white/10 hover:bg-white/15", ghost: "bg-transparent text-foreground hover:bg-white/5", }; const sizes: Record = { sm: "h-9 px-3 text-sm", md: "h-11 px-4 text-sm", lg: "h-12 px-5 text-base", }; export default function Button({ className, variant = "primary", size = "md", isLoading, children, ...props }: ButtonProps) { return ( ); }