@extends('web.layouts.container')
@section('css')
    <link rel="stylesheet" href="{{ asset('assets/web/css/lib/toastr.css') }}" />
@endsection
@section('content')
    <section class="register-pg">
        <div class="container">
            <div class="inner">
                <div class="row">
                    <div class="col-lg-6">
                        <div class="form-wrapper">
                            <form method="post" action="{{route('user.doLogin')}}" class="login_form">
                                <div class="heading text-center mb-5">
                                    <h4 class="h4">{{__('members.sign_in_your_account')}}</h4>
                                    <p class="another-register">{{__('main.no_member')}} <a href="{{route('user.register')}}">{{__('main.sign_up')}}</a></p>
                                    <img src="{{asset('assets/web/images/icon.svg')}}" alt="" class="logo">
                                </div>
                                <div class="form-group">
                                    <input name="email" type="email" class="form-control" autocomplete="off" autofocus required />
                                    <label class="floating-label">  {{__('users.email')}} </label>
                                </div>
                                <div class="form-group">
                                    <input name="password" type="password" class="form-control" id="password" autocomplete="off" autofocus required />
                                    <label class="floating-label"> {{__('users.password')}} </label>
                                    <span class="togglePassword"><i class="far fa-eye" id="togglePassword"></i></span>
                                </div>
                                <div class="text w-100">
                                    <a class="forget-pass" href="{{route('user.forgetPassword')}}">{{__('main.forget_password')}}</a>
                                </div>
                                <button class="submit-btn login_button">{{__('main.sign_in')}}</button>
                            </form>
                        </div>
                    </div>
                    <div class="col-lg-6">
                        <img src="{{asset('assets/web/images/login.svg')}}" alt="" class="register-img center-vr">
                    </div>
                </div>
            </div>

        </div>
    </section>
@endsection

@section('inner_js')
    <script src="{{ asset('assets/web/js/lib/toastr.min.js') }}"></script>
    <script src="{{ asset('assets/web/js/users.login.js') }}"></script>
@endsection
