<!DOCTYPE html>
<html lang="pt-BR">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <title>@yield('title', 'ImóvelZapAi')</title>
    @vite(['resources/css/app.css', 'resources/js/app.js'])
    <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
    <style>[x-cloak]{display:none!important}</style>
</head>
<body class="min-h-screen bg-slate-100 font-sans text-slate-900 antialiased">
    <div class="flex min-h-screen">
        @include('partials.sidebar')

        <div class="flex min-h-screen flex-1 flex-col">
            @include('partials.header')

            <main class="flex-1 p-6">
                @yield('content')
            </main>

            @include('partials.footer')
        </div>
    </div>
    @stack('scripts')
</body>
</html>
