<x-guest-layout>
    <div class="bg-white py-8 px-6 shadow-lg rounded-lg sm:px-10">
        <div class="mb-4 text-center">
            <h2 class="text-3xl font-bold text-gray-900">Sign Up</h2>
            <p class="text-sm text-gray-600">It's quick and easy.</p>
        </div>

        <form method="POST" action="{{ route('register') }}" class="space-y-6">
            @csrf

            <!-- Name -->
            <div>
                <x-text-input id="name" class="block w-full" type="text" name="name" :value="old('name')" required autofocus autocomplete="name" placeholder="Full Name" />
                <x-input-error :messages="$errors->get('name')" class="mt-2" />
            </div>

            <!-- Email Address -->
            <div>
                <x-text-input id="email" class="block w-full" type="email" name="email" :value="old('email')" required autocomplete="username" placeholder="Email address" />
                <x-input-error :messages="$errors->get('email')" class="mt-2" />
            </div>

            <!-- Password -->
            <div>
                <x-text-input id="password" class="block w-full" type="password" name="password" required autocomplete="new-password" placeholder="New Password" />
                <x-input-error :messages="$errors->get('password')" class="mt-2" />
            </div>

            <!-- Confirm Password -->
            <div>
                <x-text-input id="password_confirmation" class="block w-full" type="password" name="password_confirmation" required autocomplete="new-password" placeholder="Confirm Password" />
                <x-input-error :messages="$errors->get('password_confirmation')" class="mt-2" />
            </div>

            <div>
                <x-primary-button class="w-full justify-center text-lg font-bold py-3">
                    {{ __('Sign Up') }}
                </x-primary-button>
            </div>

            <div class="text-center">
                <a class="text-sm text-primary hover:underline" href="{{ route('login') }}">
                    {{ __('Already have an account?') }}
                </a>
            </div>
        </form>
    </div>
</x-guest-layout>
