<x-guest-layout>
    <!-- Session Status -->
    <x-auth-session-status class="mb-4" :status="session('status')" />

    <form method="POST" action="{{ route('oauth:login') }}">
        @csrf

        <section class="text-center">
            <h3 class="text-2xl text-primary-600 dark:text-primary-400">{{ __('Bienvenidos a Pagos en Línea') }}</h3>
            <p class="text-sm text-gray-600 dark:text-gray-400">{{ __('Municipalidad de La Molina') }}</p>
        </section>

        <!-- Email Address -->
        <div class="mt-4">
            <x-input-label for="email" :value="__('Username')" />
            <x-text-input id="email" class="block mt-1 w-full border-primary-600" type="text" name="email" :value="old('email')" required autofocus autocomplete="username" />
            <x-input-error :messages="$errors->get('email')" class="mt-2" />
        </div>

        <!-- Password -->
        <div class="mt-4">
            <x-input-label for="password" :value="__('Password')" />

            <x-text-input id="password" class="block mt-1 w-full border-primary-600"
                          type="password"
                          name="password"
                          required autocomplete="current-password" />

            <x-input-error :messages="$errors->get('password')" class="mt-2" />
        </div>

        <!-- Remember Me -->
        <div class="block mt-4">
            <label for="remember_me" class="inline-flex items-center">
                <input id="remember_me" type="checkbox" class="rounded dark:bg-gray-900 border-gray-300 dark:border-gray-700 text-indigo-600 shadow-sm focus:ring-indigo-500 dark:focus:ring-indigo-600 dark:focus:ring-offset-gray-800" name="remember">
                <span class="ms-2 text-sm text-gray-600 dark:text-gray-400">{{ __('Remember me') }}</span>
            </label>
        </div>

        <div class="flex items-center justify-end mt-4">
            @if (Route::has('password.request'))
                <a class="underline text-sm text-primary-600 dark:text-gray-400 hover:text-primary-900 dark:hover:text-gray-100 rounded-md focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500 dark:focus:ring-offset-gray-800" href="{{ route('password.request') }}">
                    {{ __('Forgot your password?') }}
                </a>
            @endif

            <x-primary-button class="ms-3">
                {{ __('Log in') }}
            </x-primary-button>
        </div>
    </form>

    <x-slot name="footer">
        <section class="grid text-center gap-4">
            <h3 class="text-gray-900">{{ __('Instrucciones para los siguientes bancos:') }}</h3>

            <div class="flex flex-wrap justify-center items-center gap-6">
                <div>
                    <a href="https://www.munimolina.gob.pe/descargas/pdf/2021/PASOS A SEGUIR BCP.pdf" target="_blank">
                        <img class="h-8" src="https://www.munimolina.gob.pe/wp-content/uploads/2020/09/bcp-logo.png" alt="">
                    </a>
                </div>

                <div>
                    <a href="https://www.munimolina.gob.pe/descargas/pdf/2021/PASOS PAGO BBVA.pdf" target="_blank">
                        <img class="h-12" src="https://www.munimolina.gob.pe/wp-content/uploads/2020/09/BBVA-Logo.png" alt="">
                    </a>
                </div>

                <div>
                    <a href="https://www.munimolina.gob.pe/descargas/pdf/2021/PASOS PAGO SCOTIABANK.pdf" target="_blank">
                        <img class="h-12" src="https://www.munimolina.gob.pe/wp-content/uploads/2020/09/scotia.png" alt="">
                    </a>
                </div>

                <div>
                    <a href="https://www.munimolina.gob.pe/descargas/pdf/2021/PASOS PAGO INTERBANK.pdf" target="_blank">
                        <img class="h-10" src="https://www.munimolina.gob.pe/wp-content/uploads/2020/09/interbank-2.svg" alt="">
                    </a>
                </div>

                <div>
                    <a href="https://www.munimolina.gob.pe/descargas/pdf/2021/PASOS PAGO PÁGINA WEB.pdf" target="_blank">
                        <img class="h-14" src="https://www.munimolina.gob.pe/wp-content/uploads/2023/03/SENA-Pagos-en-linea.jpg" alt="">
                    </a>
                </div>
            </div>
        </section>
    </x-slot>
</x-guest-layout>
