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

    <form class="form w-100" novalidate="novalidate" method="POST" action="{{ route('login') }}">
        @csrf

        <!--begin::Heading-->
        <div class="text-center mb-11">
            <h1 class="text-dark fw-bolder mb-3">Sign In</h1>
        </div>
        <!--begin::Heading-->

        <!-- Email Address -->
        <div class="fv-row mb-8">
            {{-- <x-input-label for="email" :value="__('Email')" /> --}}
            <x-text-input placeholder="Email" id="email" class="form-control bg-transparent" type="email" name="email" :value="old('email')" required autofocus autocomplete="username" />
            <x-input-error :messages="$errors->get('email')" class="mt-3" />
        </div>

        <!-- Password -->

        <div class="fv-row mb-3">
            {{-- <x-input-label for="password" :value="__('Password')" /> --}}
            <x-text-input placeholder="Password" id="password" class="form-control bg-transparent"
                            type="password"
                            name="password"
                            required autocomplete="current-password" />

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

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

        <div class="d-grid mb-10 pt-5">

            <x-primary-button class="btn btn-primary">
                <span class="indicator-label">{{ __('Sign In') }}</span>
                <span class="indicator-progress">Please wait...
                <span class="spinner-border spinner-border-sm align-middle ms-2"></span></span>
            </x-primary-button>
        </div>
    </form>
</x-guest-layout>


