@extends('layouts.guest')
@section('title','Login')
@section('content')
    <!-- Session Status -->
    <link rel="stylesheet" href="{{ asset('assets/frontend/css/guest.css') }}">
    <x-auth-session-status class="mb-4" :status="session('status')" />
    <div class="fakeHeader">
        <img src="{{ asset('assets\frontend\logos\kjsce-formerly.png') }}">
        <h1 class="title mr-7">Faculty Documentation Portal</h1>
        <img src="{{ asset('assets\frontend\logos\SomaiyaTrustLogo.png') }}">
    </div>

    <div class="loginFooter">
        <div class="footerRight"></div><!--
        --><div class="footerMiddle"></div><!--
        --><div class="footerLeft"></div>
    </div>
    
    <form method="POST" action="{{ route('login') }}">
        @csrf

        <!-- <div class="min-vh-100 min-vw-100 d-flex justify-content-center align-items-center"> -->
        <div class="customHeight d-flex justify-content-center align-items-center">
            <div class="container bg-white col-md-4 p-3 shadow-lg rounded border-0 m-3">
                <form>
                    <div class="form_head">
                        <label class="fs-5">Welcome In,<br>Please Enter Your Credentials</label>
                    </div>
                    <div class="mb-3">
                        <label for="exampleInputEmail1" class="form-label mt-4">SVV Username/Somaiya Email ID:</label>
                        <input type="email" id="email" class="form-control" name="email" aria-describedby="emailHelp" >
                        <x-input-error :messages="$errors->get('email')" class="mt-2 text-danger" />
                    </div>
                    <div class="mb-3">
                        <label for="exampleInputPassword1" class="form-label">Password</label>
                        <input type="password" id="password" class="form-control" name="password">
                        <x-input-error :messages="$errors->get('password')" class="mt-2 text-danger" />
                    </div>
                    <div class="d-flex flex-row-reverse">
                        <a class="text-decoration-none text-danger" href="{{ route('password.request') }}">Forgot Your Password?</a>
                    </div>
                    <div class="d-flex justify-content-between align-items-center">
                        <a href="{{ route('google.login') }}" class="btn btn-outline-danger col-6 d-flex align-items-center justify-content-center">
                            <img src="{{ asset('assets/frontend/logos/google-icon.svg') }}" alt="Google Icon" class="me-2" style="width: 20px; height: 20px;">
                            <span>Login with Google</span>
                        </a>
                        <button type="submit" class="btn btn-danger col-4">Log in</button>
                    </div>
                </form>
            </div>
        </div>
    </form>
 
@endsection
