import type { Metadata } from "next"; import "./globals.css"; import { ToasterProvider } from "@/components/ui/toaster"; import { AuthProvider } from "./provider"; export const metadata: Metadata = { title: "ATS System", description: "Applicant Tracking System", }; export default function RootLayout({ children, }: { children: React.ReactNode; }) { return ( {/* ✅ Wrap all routes (public & main) with AuthProvider */} {children} ); }