<x-guest-layout>

    <div class="flex items-center justify-center gap-8 mb-8">
        <div class="flex justify-center items-center">
            <img src="{{ asset('assets/logos/sbs.png') }}" alt="Logo 1" class="max-h-16 w-auto">
        </div>

        <div class="h-10 w-px bg-gray-300"></div>

        <div class="flex justify-center items-center">
            <img src="{{ asset('assets/logos/fbr_di.png') }}" alt="Logo 2" class="max-h-16 w-auto">
        </div>
    </div>

    {{-- Heading --}}
    <div class="mb-8 text-center">
        <h1 class="text-2xl font-bold text-gray-900">Welcome back</h1>
        <p class="mt-1.5 text-sm text-gray-500">Log in to your account to continue</p>
    </div>

    {{-- Session Status --}}
    <x-auth-session-status class="mb-4" :status="session('status')" />

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

        {{-- Email Address --}}
        <div>
            <x-input-label for="email" :value="__('Email')" />
            <x-text-input id="email" class="block mt-1 w-full" type="email" name="email" :value="old('email')" required autofocus autocomplete="username" placeholder="you@example.com" />
            <x-input-error :messages="$errors->get('email')" class="mt-1.5" />
        </div>

        {{-- Password --}}
        <div>
            <x-input-label for="password" :value="__('Password')" />
            <x-text-input id="password" class="block mt-1 w-full"
                            type="password"
                            name="password"
                            required autocomplete="current-password"
                            placeholder="••••••••" />
            <x-input-error :messages="$errors->get('password')" class="mt-1.5" />
        </div>

        {{-- Remember Me + Forgot password --}}
        <div class="flex items-center justify-between">
            <label for="remember_me" class="inline-flex items-center cursor-pointer">
                <input id="remember_me" type="checkbox" class="rounded border-gray-300 text-indigo-600 shadow-sm focus:ring-indigo-500" name="remember">
                <span class="ms-2 text-sm text-gray-600">{{ __('Remember me') }}</span>
            </label>

            @if (Route::has('password.request'))
                <a class="text-sm font-medium text-indigo-600 hover:text-indigo-700" href="{{ route('password.request') }}">
                    {{ __('Forgot password?') }}
                </a>
            @endif
        </div>

        {{-- Submit --}}
        <x-primary-button class="w-full justify-center py-2.5">
            {{ __('Log in') }}
        </x-primary-button>

        {{-- Register link --}}
        @if (Route::has('register'))
            <p class="text-center text-sm text-gray-500 pt-2">
                Don't have an account?
                <a href="{{ route('register') }}" class="font-medium text-indigo-600 hover:text-indigo-700">Register your business</a>
            </p>
        @endif
    </form>

</x-guest-layout>