@extends('site.index')   
@section('content')
@php
use App\Models\MainEComDesign;
use App\Models\SupPagesPartTwoEComDesign;
$main=MainEComDesign::orderBy('id','desc')->first();
$sub=SupPagesPartTwoEComDesign::orderBy('id','desc')->first();
@endphp

 <style>
.page-title-area {
    background-color: {{$main->Breadcumb_BG_Color}} !important;
}
     
    .login-area {
      background-color: {{$main->Sub_Page_BG_Color}} !important;
} 
       .login-form{
         
         background: {{$sub->Reg_Login_Form_Box_BG_Color}} !important;
     }
     
         .login-form h2 {

    color:  {{$sub->Reg_Login_Form_Box_Title_Color}} !important;
     }
     
     .login-form h2::before {

    border-bottom: 1px solid {{$sub->Reg_Login_Form_Box_Title_Color}} !important;
     }
     
     .login-form form .form-group .form-control {
    color: {{$sub->Reg_Login_Form_Box_Input_Border_Color}} !important;
    border: 1px solid {{$sub->Reg_Login_Form_Box_Input_Border_Color}} !important;
     }
     
     .login-form form .lost-your-password a{
         
           color: {{$sub->Reg_Login_Form_Box_Txt_Color}} !important;
     }
     
     
     .login-form form .lost-your-password a::before{
         
         background: {{$sub->Reg_Login_Form_Box_Txt_Color}} !important;
     }
     
       .login-form form .lost-your-password a::before:hover{
         
         background: {{$sub->Reg_Login_Form_Box_Txt_Hover_Color}} !important;
     }
     
     
     .login-form .important-text p a{
         
            color: {{$sub->Reg_Login_Form_Box_Txt_Color}} !important; 
        
         
     }
     
     
          
    .login-form .important-text p{
         
        
            color: {{$sub->Reg_Login_Form_Box_Txt_Color}} !important; 
         
     }
     
     .login-form form button{
         
           background: {{$sub->Reg_Login_Form_Box_Button_BG_Color}} !important;
    color: {{$sub->Reg_Login_Form_Box_Button_Txt_Color}} !important; 
     }
     
     
          .login-form form button:hover{
         
           background: {{$sub->Reg_Login_Form_Box_Button_BG_Hover_Color}} !important;
    color: {{$sub->Reg_Login_Form_Box_Button_Txt_Hover_Color}} !important; 
     } 
</style>
        <title>{{trans('admin.ResetPassword')}}</title>

    

     <!-- Start Login Area -->
        <section class="login-area ptb-50">
            <div class="container">
                <div class="login-form">
                    <h2>{{trans('admin.ResetPassword')}}</h2>

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

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

                   
                        <button type="submit">{{trans('admin.Submit')}}</button>
                    </form>

                </div>
            </div>
        </section>
        <!-- End Login Area -->

    
@endsection 
