"use client";
import { Button } from "@/components/ui/button";
export default function ErrorPage({ reset }: { error: Error & { digest?: string }; reset: () => void }) {
  return <main className="flex min-h-screen items-center justify-center bg-background p-6"><div role="alert" className="max-w-md rounded-2xl border bg-card p-8 text-center"><h1 className="text-xl font-semibold">Não foi possível abrir o painel</h1><p className="my-4 text-sm leading-relaxed text-muted-foreground">Confira sua conexão e tente novamente. Se a sessão expirou, entre novamente pelo App Login.</p><div className="flex justify-center gap-3"><Button variant="outline" asChild><a href="/login">Entrar novamente</a></Button><Button onClick={reset}>Tentar novamente</Button></div></div></main>;
}
