<x-guest-layout>
    <div class="text-center mb-6">
        <div class="flex justify-center mb-4">
            <div class="bg-green-100 p-4 rounded-full">
                <i class="fas fa-envelope-open-text text-4xl text-[#7ebc12]"></i>
            </div>
        </div>
        <h2 class="text-2xl font-bold text-gray-800">Verifikasi Email Anda</h2>
        <p class="mt-2 text-sm text-gray-600">
            Terima kasih telah mendaftar di <strong>PeGas</strong>! <br> 
            Satu langkah lagi, silakan klik tautan verifikasi yang baru saja kami kirimkan ke email Anda.
        </p>
    </div>

    @if (session('status') == 'verification-link-sent')
        <div class="mb-4 font-medium text-sm text-green-600 bg-green-50 p-3 rounded border border-green-200">
            <i class="fas fa-check-circle mr-1"></i> Tautan verifikasi baru telah dikirimkan ke email Anda.
        </div>
    @endif

    <div class="mt-8 space-y-4">
        <form method="POST" action="{{ route('verification.send') }}">
            @csrf
            <button type="submit" class="w-full bg-[#7ebc12] hover:bg-[#6aa30f] text-white font-bold py-2 px-4 rounded-lg transition duration-200">
                Kirim Ulang Email Verifikasi
            </button>
        </form>

        <div class="flex items-center justify-between">

            <form method="POST" action="{{ route('logout') }}">
                @csrf
                <button type="submit" class="text-sm text-red-600 hover:text-red-800 font-semibold focus:outline-none">
                    <i class="fas fa-sign-out-alt mr-1"></i> Keluar
                </button>
            </form>
        </div>
    </div>
</x-guest-layout>