import { jsx as _jsx } from "react/jsx-runtime";
export const Button = ({ children, variant = 'primary', size = 'md', disabled = false, onClick, className = '', fullWidth = false }) => {
    const baseClasses = 'inline-flex items-center justify-center font-medium rounded-lg transition-all duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2';
    const variants = {
        primary: 'bg-maya-primary text-white hover:bg-red-700 focus:ring-red-500 shadow-sm',
        secondary: 'bg-maya-secondary text-white hover:bg-brown-700 focus:ring-brown-500 shadow-sm',
        accent: 'bg-maya-accent text-gray-800 hover:bg-gray-300 focus:ring-gray-400 shadow-sm',
        success: 'bg-maya-success text-white hover:bg-emerald-700 focus:ring-emerald-500',
        danger: 'bg-maya-danger text-white hover:bg-red-700 focus:ring-red-500',
        outline: 'border border-maya-primary text-maya-primary bg-transparent hover:bg-red-50 focus:ring-red-200'
    };
    const sizes = {
        sm: 'px-3 py-1.5 text-sm',
        md: 'px-4 py-2 text-base',
        lg: 'px-6 py-3 text-lg'
    };
    return (_jsx("button", { className: `${baseClasses} ${variants[variant]} ${sizes[size]} ${disabled ? 'opacity-50 cursor-not-allowed' : ''} ${fullWidth ? 'w-full' : ''} ${className}`, onClick: onClick, disabled: disabled, children: children }));
};
export default Button;
