<x-layouts::app.admin-sidebar :title="$title ?? null">
    <!-- Main content -->

    <div class="lg:pl-64 min-h-screen flex flex-col bg-gray-50 dark:bg-zinc-900 font-sans">
        <livewire:admin-top-bar />
        <livewire:ui.toast />
        <x-ui.session-toast />
        <main class="flex-1 overflow-y-auto px-4">
            {{ $slot }}
        </main>
        @include('partials.admin-footer')
    </div>

    @stack('scripts')

</x-layouts::app.admin-sidebar>
