<x-meet-kiosk-layout :title="'Thank you'" :organization="$organization">
    <div class="flex min-h-[calc(100vh-8rem)] flex-col items-center justify-center text-center">
        <div class="w-full max-w-md rounded-3xl border border-slate-200 bg-white p-8 shadow-sm">
            <div class="mx-auto flex h-14 w-14 items-center justify-center rounded-full bg-emerald-50 text-emerald-600">
                <svg class="h-7 w-7" fill="none" stroke="currentColor" stroke-width="1.5" viewBox="0 0 24 24">
                    <path stroke-linecap="round" stroke-linejoin="round" d="m4.5 12.75 6 6 9-13.5"/>
                </svg>
            </div>
            <h1 class="mt-6 text-2xl font-bold text-slate-900">
                @if (session('rated'))
                    Thanks for your feedback
                @else
                    You have left the {{ $room->isConference() ? 'conference' : 'meeting' }}
                @endif
            </h1>
            <p class="mt-3 text-sm text-slate-600">{{ $room->title }}</p>

            <div class="mt-8 flex flex-col gap-3">
                @auth
                    <a href="{{ route('meet.dashboard') }}" class="btn-primary btn-primary-lg py-3.5 font-semibold">Back to Meet</a>
                @else
                    <a href="{{ route('meet.join', $room) }}" class="btn-primary btn-primary-lg py-3.5 font-semibold">Rejoin {{ $room->isConference() ? 'conference' : 'meeting' }}</a>
                @endauth
            </div>
        </div>
    </div>
</x-meet-kiosk-layout>
