import type { Metadata } from 'next';
import '@/styles/globals.css';
import Sidebar from '@/components/layout/sidebar';

export const metadata: Metadata = {
  title: 'CloseBot SMS — Command Center',
  description: 'AI-powered SMS conversation management dashboard',
};

export default function RootLayout({
  children,
}: {
  children: React.ReactNode;
}) {
  return (
    <html lang="en" className="dark">
      <head>
        <link
          href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap"
          rel="stylesheet"
        />
      </head>
      <body className="min-h-screen bg-[#0f1729] text-slate-200 antialiased">
        <Sidebar />
        <main className="ml-[240px] min-h-screen">
          {children}
        </main>
      </body>
    </html>
  );
}
