<x-layouts.app :title="__('Dashboard')">
    <div class="max-w-4xl mx-auto py-12">
        <div class="grid grid-cols-2">
            <livewire:forms.user-profile />
        </div>
        
        @can('viewAny', App\Models\Application::class)
            <div class="mt-4">
                <livewire:app-container />
            </div>
        @endcan
        
        @cannot('viewAny', App\Models\Application::class)
            <div class="mt-4">
                <div class="bg-white overflow-hidden shadow-sm sm:rounded-lg">
                    <div class="p-6 text-gray-900">
                        <h3 class="text-lg font-medium">Welcome to AuthentiKate</h3>
                        <p class="mt-2 text-sm text-gray-600">
                            You can manage your profile above and view your authentication tokens in the Tokens section.
                        </p>
                    </div>
                </div>
            </div>
        @endcannot
    </div>
</x-layouts.app>