@extends('layouts.base')
@section('content')
    <div class="fluid-container h-100">
        <div class="row h-100">
            <div class="col-3 d-none d-lg-inline h-100 padding-50 bg-info" style="background: url('https://cdn.dribbble.com/users/1731254/screenshots/11649852/media/5551243bcbf041d5aa0b30abb6168215.png'); background-size: cover; background-position: center">
                <div class="row hide">
                    <div class="col">
                        <div class="row m-b-50">
                            <div class="col-5 col-md-3">
                                <img class="w-100" src="{{asset('images/cief-logo-white.png')}}" alt="">
                            </div>
                        </div>
                        <div class="row m-b-20">
                            <div class="col">
                                <h3 class="text-white ">Spend less time managing your delivery and more time optimizing your operations.</h3>
                            </div>
                        </div>
                        <div class="row m-b-20">
                            <div class="col">
                                <h4 class="text-white ">You know how to run your operations, let us help you streamline your delivery management.</h4>
                            </div>
                        </div>
                        <div class="row ">
                            <div class="col">
                                <h4 class="text-white">Sign-up today and get access to:</h4>
                                <h5 class="text-white m-l-20"><i class="fa fa-circle-o m-r-10"></i>An intuitive and easy to use order process</h5>
                                <h5 class="text-white m-l-20"><i class="fa fa-circle-o m-r-10"></i>Service customization to keep you in control</h5>
                                <h5 class="text-white m-l-20"><i class="fa fa-circle-o m-r-10"></i>Follow-up action to keep you on track</h5>
                                <h5 class="text-white m-l-20"><i class="fa fa-circle-o m-r-10"></i>Personalized customer support</h5>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
            <div class="col bg-white no-padding h-100">
                <div class="row h-100 align-items-center justify-content-center">
                    <div class="col h-100">
                        <div class="page-container">
                            <div class="page-content-wrapper p-t-50 p-b-50 h-100">
                                <div class="row no-margin align-items-center justify-content-center h-100">
                                    <div class="col">
                                        <div class="content p-t-0 overflow-hidden">
                                            <div class="row h-100 no-margin align-items-center justify-content-center">
                                                <div class="col col-md-10">
                                                    <div class="row" v-show="!$store.getters.isShowing('registrationForm')">
                                                        <div class="col">
                                                            <div class="row" v-show="!$store.getters.isShowing('forgetPassword')">
                                                                <div class="col">
                                                                    <loading-component style="height: 350px;" key="1" color="primary" v-show="$store.getters.isLoading('loginSection')"></loading-component>
                                                                    <div class="row" v-show="!$store.getters.isLoading('loginSection')">
                                                                        <div class="col">
                                                                            <div class="row m-b-15">
                                                                                <div class="col">
                                                                                    <div class="inline v-align-middle">
                                                                                        <div class="font-heading fs-20 all-caps no-margin lh-28 bold">Sign In</div>
                                                                                        <p class="no-margin fs-11 light">To keep using the service please sign in with your personal info</p>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="row">
                                                                                <div class="col">
                                                                                    <delivery-login-form-component section="loginSection"></delivery-login-form-component>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                            <div class="row" v-show="$store.getters.isShowing('forgetPassword')">
                                                                <div class="col">
                                                                    <loading-component style="height: 350px;" key="1" color="primary" v-show="$store.getters.isLoading('forgetPasswordSection')"></loading-component>
                                                                    <div class="row" v-show="!$store.getters.isLoading('forgetPasswordSection')">
                                                                        <div class="col">
                                                                            <div class="row m-b-15" v-show="!$store.getters.isShowing('forgetPasswordSuccess')">
                                                                                <div class="col">
                                                                                    <div class="inline v-align-middle">
                                                                                        <div class="font-heading fs-20 all-caps no-margin lh-28 bold">Forget Password</div>
                                                                                        <p class="no-margin fs-11 light">Enter your registered email below to receive the password reset instruction</p>
                                                                                    </div>
                                                                                </div>
                                                                            </div>
                                                                            <div class="row">
                                                                                <div class="col">
                                                                                    <forget-password-form-component section="forgetPasswordSection"></forget-password-form-component>
                                                                                </div>
                                                                            </div>
                                                                        </div>
                                                                    </div>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                    <div class="row" v-show="$store.getters.isShowing('registrationForm')">
                                                        <div class="col">
                                                            <loading-component style="height: 350px;" key="1" color="primary" v-show="$store.getters.isLoading('loginSection')"></loading-component>
                                                            <div class="row justify-content-center" v-show="!$store.getters.isLoading('loginSection')">
                                                                <div class="col">
                                                                    <new-registration-form-component section="loginSection"></new-registration-form-component>
                                                                </div>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
@endsection