import Link from "next/link";
import { PrimaryButton } from "@/components/ui/primary-button";

export default function ForbiddenPage() {
  return (
    <div className="flex min-h-[100dvh] flex-col items-center justify-center bg-bg px-4 text-center">
      <p className="text-6xl font-semibold text-text-disabled">403</p>
      <h1 className="mt-4 text-xl font-semibold text-text-primary">无访问权限</h1>
      <p className="mt-2 text-sm text-text-secondary">
        您没有权限访问此页面，请联系管理员。
      </p>
      <Link href="/dashboard" className="mt-6">
        <PrimaryButton type="button">返回工作台</PrimaryButton>
      </Link>
    </div>
  );
}
