export default function ErrorBanner({ message }) {
  if (!message) return null

  return (
    <div className="rounded-3xl border border-red-200 bg-red-50 p-5 text-sm text-red-800">
      <div className="font-semibold">Error al cargar datos</div>
      <p className="mt-1">{message}</p>
    </div>
  )
}
