@extends('web.layouts.layout')
@section('content')


    <main>
        <!-- Start pg_header -->
        @include('web.pages.components.header.header')

        <!-- Start section -->
        <section class="register_pg section">
            <div class="container">
                <div class="col-lg-6 mx-auto">
                    <div class="inner">
                        <div class="form_box">
                            <div class="sec_head has_border text-center mb-5">
                                <h1 class="title_head fw-bold mb-0 color-primary fs-1">  {{$title}}     </h1>
                            </div>
                            <form method="post" action="{{$action}}" onsubmit="formAction(this)">
                                @CSRF
                                <div class="form-group phone_group mb-4">
                                    <input class="form-control digitsOnly" name="phone" placeholder="XXX-XXX-XXX  " autofocus />
                                    <span class="countryCode_span">+966</span>
                                    <!-- <select class="phoneSelect">
                                        <option>966</option>
                                    </select> -->
                                    <span class="icon">  <i class="fa-light fa-mobile"></i> </span>
                                </div>
                                <div class="form-group show_hide_password mb-4">
                                    <input type="password" name="password" class="form-control shadow_input" placeholder="{{__('users.password')}} "/>
                                    <span class="icon"> <i class="fa-light fa-lock"></i> </span>
                                    <i class="show_pass far fa-eye-slash"></i>
                                </div>
                                <a href="{{route('web.forgetpassword')}}" class="forget_link fw-bold ms-auto w-fit d-block">{{__('web.forgetpassword_question')}}</a>

                                <button type="submit" class="submit_butn butn primary_butn w-100 mt-5 mx-auto" > {{__('web.sure')}} </button>

                                <p class="another_opt text-center mt-4"> {{__('web.havent_acc')}} <a href="{{route('web.regist.phone')}}" > {{__('web.regist')}} </a></p>

                            </form>
                        </div>
                    </div>
                </div>

            </div>
        </section>
    </main>

@stop
