@extends('resturant-view.index')
@section('Rcontent')
@php
use App\Models\ResturantStyle;
$styleX=ResturantStyle::orderBy('id','desc')->first();
@endphp

        <title>{{trans('admin.Login')}}</title>


    <!-- Bread Crumb Start -->
    <section class="bredcrumb_section blog_list_page">
      <div class="container">
        <div class="section_title text-center" data-aos="fade-up" data-aos-duration="1500">
          <span class="sub_text">{{trans('admin.Login')}}</span>

        </div>
      </div>
    </section>
    <!-- Bread Crumb End -->


    <!-- Main Blog List Section Start-->
    <section class="blog_list_section">
      <div class="container">
        <div class="row">
            
 
            


          <div class="col-lg-6">
            <!-- Blog Left Side -->
            <div class="blog_left_side">
              <div class="blog_panel" data-aos="fade-up" data-aos-duration="1500" style="padding: 30px;text-align: center;">
          
                    
                    <h2>{{trans('admin.Login')}}</h2>

                    <form method="post" action="{{url('PostLoginResturantSite')}}">
                        @csrf
 
                        <div class="form-group">
                            <input type="email" class="form-control"  name="Email" placeholder="{{trans('admin.Email')}}" id="CustomerEmail" value="{{old('Email')}}" required>
                        </div>

                        <div class="form-group">
                            <input type="password" class="form-control"  value="{{old('Password')}}" name="Password" placeholder="{{trans('admin.Password')}}" required>
                        </div>
                        
                        
        <div class="action_bar">
      <button type="submit" class="btn btn_primary">{{trans('admin.Login')}}</button>
          </div>
                  
                    </form>

                    <div class="important-text">
                            <a href="{{url('ForgotResturantSite')}}" class="lost-your-password text-center">{{trans('admin.Forgot_your_password')}}</a>
                    </div>
            
                  
                  
                  
              </div>
            </div>
          </div>
            
            
                <div class="col-lg-6">
            <!-- Blog Left Side -->
            <div class="blog_left_side">
              <div class="blog_panel" data-aos="fade-up" data-aos-duration="1500" style="padding: 30px;text-align: center;">
          
                    
                    <h2>{{trans('admin.Register')}}</h2>

                       <form method="post" action="{{url('PostRegisterResturant')}}">
                        @csrf
                        <div class="form-group">
                            <input type="text" class="form-control" name="Name" placeholder="{{trans('admin.Name')}}" value="{{old('Name')}}" required>
                        </div>

                        <div class="form-group">
                            <input type="email" class="form-control"  name="email" placeholder="{{trans('admin.Email')}}" value="{{old('Email')}}" required>
                        </div>

                        <div class="form-group">
                            <input type="tel" class="form-control"  name="Phone" value="{{old('Phone')}}" placeholder="{{trans('admin.Phone')}}">
                        </div>

                        <div class="form-group">
                            <input type="password" class="form-control" type="password" value="{{old('Password')}}" name="password" placeholder="{{trans('admin.Password')}}">
                        </div>

{{--
                                 <div class="form-group">
                               
                              <select class="form-control" name="country"  required>
                                  <option value="">{{trans('admin.Country')}}</option>
                                  @foreach($Countris as $count)
                               <option value="{{$count->id}}">
                     {{app()->getLocale() == 'ar' ?$count->Arabic_Name :$count->English_Name}}
                               </option>      
                                  @endforeach
                              </select>                       	
                                </div>
--}}
 
                               <div class="action_bar">
                        <button type="submit" class="btn btn_primary">{{trans('admin.Register')}}</button>
                           </div>
                    </form>

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

        </div>

      </div>
    </section>
    <!-- Main Service Section End-->



<style>
    
    
    .blog_list_section .blog_left_side .blog_panel:hover {
        
             color: {{$styleX->Form_Txt_Hover_Color}} !important;
    }
    .blog_list_section .blog_left_side .blog_panel {
        border: {{$styleX->Form_Box_Border_Color}} solid 6px;
    background-color: {{$styleX->Form_Box_BG}} !important;
     color: {{$styleX->Form_Txt_Color}} !important;
    }
    
    
    .form-control{
         background: {{$styleX->Form_Input_BG}} !important;
         color: {{$styleX->Form_Input_Txt_Color}} !important;
    height: 56px;
    }
    
    .btn_primary{
            background: {{$styleX->Form_Btn_BG}} !important;
         color: {{$styleX->Form_Btn_Txt_Color}} !important;
    }
</style>
    
@endsection 
