<x-app-layout>
    <x-slot name="header">
        <h2 class="font-semibold text-xl text-gray-800 leading-tight">
            {{ __('Connect Calendar') }}
        </h2>
    </x-slot>

    <div class="py-8">
        <div class="max-w-2xl mx-auto sm:px-6 lg:px-8">
            <div class="bg-white p-6 rounded-lg shadow space-y-4">
                <p class="text-sm text-gray-600">Connect to Google Calendar using OAuth. Configure <code>GOOGLE_CLIENT_ID</code>, <code>GOOGLE_CLIENT_SECRET</code>, <code>GOOGLE_REDIRECT_URI</code> (.env).</p>
                @if($authUrl)
                    <a href="{{ $authUrl }}" class="px-4 py-2 bg-indigo-600 text-white rounded inline-block">Connect Google Calendar</a>
                @else
                    <p class="text-red-600 text-sm">Google OAuth not configured.</p>
                @endif
            </div>
        </div>
    </div>
</x-app-layout>
