import { MessageCircle } from 'lucide-react'

interface CopilotToggleProps {
  isOpen: boolean
  onToggle: () => void
}

export function CopilotToggle({ isOpen, onToggle }: CopilotToggleProps) {
  if (isOpen) return null

  return (
    <button
      onClick={onToggle}
      className="fixed bottom-6 right-6 z-40 bg-gradient-brand text-[#101114] p-3.5 rounded-full shadow-lg shadow-primary/30 hover:opacity-90 active:scale-[0.97] transition-all"
      title="Open AI Copilot"
    >
      <MessageCircle size={22} />
    </button>
  )
}
