import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import { Providers } from "./providers";

const inter = Inter({
  subsets: ["latin"],
  variable: "--font-inter",
  display: "swap",
});

export const metadata: Metadata = {
  title: "Finanzas Personales",
  description: "Gestiona tus finanzas personales de forma inteligente",
  keywords: ["finanzas", "presupuesto", "gastos", "ingresos", "ahorro"],
};

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="es" className={inter.variable} suppressHydrationWarning>
      <body className={`${inter.className} antialiased min-h-screen bg-slate-950 text-slate-50`}>
        <Providers>{children}</Providers>
      </body>
    </html>
  );
}
