import { lexend } from '@/app/fonts';
import { ThemeToggle } from '@/components/crm/ThemeToggle';
import '@/styles/crm-auth.css';

/** Sign-in shell — matches design auth shell + theme toggle. */
export default function AuthShellLayout({ children }: { children: React.ReactNode }) {
  return (
    <div className={`${lexend.className} layout-auth`}>
      <main id="main" className="auth" tabIndex={-1}>
        <ThemeToggle className="auth__theme" />
        {children}
      </main>
    </div>
  );
}
