@extends($sc_templatePath.'.layout')

@section('block_main')

<style>
.mnfm {
    background: #4d544d52;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0px 0px 1px #7d7d7d;
}
label {
    color: #fff !important;
}
.mnimg{padding:0;}
.bgimg{background-image:url("https://www.beautifulstory.in/images/login-image.jpeg");}

</style>

<!--form-->
<section class="section section-sm section-first bg-default text-md-left  bgimg">
    <div class="container">
    <div class="row">
        
          
              <div class="col-12 text-center">
                <h2 style="color:#fff;text-shadow: 0px 1px 9px #000;">{{ trans('account.title_login') }}</h2>
              <br />
              </div>
      
           <div class="col-md-3 col-sm-3 mnimg"></div>
            <div class="col-md-6 col-sm-6 col-xs-6 mnfm">
            <form action="{{ sc_route('postLogin') }}" method="post" class="box">
                {!! csrf_field() !!}
                <div class="form-group{{ $errors->has('login_email') ? ' has-error' : '' }}">
                    <label for="email" class="control-label">{{ trans('account.email') }}</label>
                    <input class="is_required validate account_input form-control {{ ($errors->has('email'))?"input-error":"" }}"
                        type="text" name="email" value="{{ old('email') }}">
                    @if ($errors->has('email'))
                    <span class="help-block">
                        {{ $errors->first('email') }}
                    </span>
                    @endif
                </div>
                <div class="form-group{{ $errors->has('password') ? ' has-error' : '' }}">
                    <label for="password" class="control-label">{{ trans('account.password') }}</label>
                    <input class="is_required validate account_input form-control {{ ($errors->has('password'))?"input-error":"" }}"
                        type="password" name="password" value="">
                    @if ($errors->has('password'))
                    <span class="help-block">
                        {{ $errors->first('password') }}
                    </span>
                    @endif
            
                </div>
                <p class="lost_password form-group">
                    <a class="btn btn-link" href="{{ sc_route('forgot') }}">
                        {{ trans('account.password_forgot') }}
                    </a>
                    <br>
                    <a class="btn btn-link" href="{{ sc_route('register') }}">
                        {{ trans('account.title_register') }}
                    </a>
                </p>
                <button type="submit" name="SubmitLogin" class="button button-lg button-secondary">{{ trans('account.login') }}</button>
            </form>
            </div>
            
              <div class="col-md-3 col-sm-3">
             
              </div>
            
            
       
            
     
    </div>
</div>
</section>
<!--/form-->
@endsection

{{-- breadcrumb --}}
@section('breadcrumb')
<section class="breadcrumbs-custom">
    <div class="breadcrumbs-custom-footer">
        <div class="container">
          <ul class="breadcrumbs-custom-path">
            <li><a href="{{ sc_route('home') }}">{{ trans('front.home') }}</a></li>
            <li class="active">{{ $title ?? '' }}</li>
          </ul>
        </div>
    </div>
</section>
@endsection
{{-- //breadcrumb --}}
