<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1, shrink-to-fit=no"
    />
    <meta name="description" content="" />
    <meta name="author" content="" />

    <title>Camera</title>
    <link rel="icon" type="image/x-icon" href="{{asset('assets/img/paja_logo_2.png')}}">
    <!-- Custom fonts for this template-->
    <link
      href="{{ asset('/') }}assets/vendor/fontawesome-free/css/all.min.css"
      rel="stylesheet"
      type="text/css"
    />
    <link
      href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
      rel="stylesheet"
    />

    <!-- Custom styles for this template-->
    <link
      href="{{ asset('/') }}assets/css/sb-admin-2.css?version=1"
      rel="stylesheet"
    />
    <style>
      :root {
            --blue: #275bc4;
            --blue-dark: #204661;
        }

        html {
            height: 100%;
            width: 100%;
        }

        body {
            color: black;
            font-family: "Poppins", sans-serif;
            height: 100% !important;
            width: 100%;
            overflow-x: hidden;
        }

        .text-blue-dark {
            color: var(--blue-dark);
        }

        .form-wrapper {
            position: relative;
        }

            .form-wrapper svg {
                position: absolute;
                bottom: 11px;
                left: 3px;
                color: #67819c;
            }

        .input-group-text {
            background-color: transparent;
            border-right: 0;
            background-color: #f7fbff;
        }

        .input-group .iunput {
            border-left: 0 !important;
        }

        .login-wrapper .custom-header {
            background-color: #fff;
            height: 5rem;
        }

        .btn-custom-success {
            background-color: #3aa779;
            color: #fff;
            height: 3rem;
            border-radius: 0.7rem;
        }

        .form-custom {
            background-color: #f7fbff;
            height: 3rem;
        }

        .img-login {
            /* height: 100%; */
            max-width: 100%;
            position:absolute;
        }

        .card-login {
            padding-top: 4rem;
        }

        .helper {
            display: inline-block;
            height: 100%;
            vertical-align: middle;
        }
      
    </style>
  </head>

  <body>
    <div class="row login-wrapper h-100">
      <div class="col-md-8 col-12 p-0" style="background-color: #fff;">
        <span class="helper"></span>
        <img src="{{asset('assets/img/login-cp.jpg')}}" alt="" class="img-login">
      </div>
      <div class="col-md-4 col-12 pr-4">
        <div class="card rounded-0 h-100 border-0">
          <div class="card-header custom-header">
            <div class="d-flex justify-content-center">
              <img src="{{asset('assets/img/logo_deira.png')}}" style="max-width:200px;" alt="">
            </div>
          </div>
          <div class="card-body px-5 card-login">
            <div class="login-header my-3 mb-4" style="padding-bottom:.5rem;">
              <div class="text-center">
                <!-- LOGO -->
                @if(session('msg'))
                    <div class="alert alert-danger">
                        {{ session('msg') }}
                    </div>
                @endif
            </div>
              <h3 style="color: #204661;">Sign In to your account</h3>
              <p style="color: #2f3e46;">Welcome back! please enter your detail </p>

            </div>
            <form class="user" method="post" action="{{ url('auth') }}">
              @csrf
              <div class="input-group mb-4">
                <div class="input-group-prepend">
                  <span class="input-group-text border-0" id="basic-addon1"><span class="iconify" data-icon="teenyicons:user-outline"></span></span>
                </div>
                <input type="text" name="bussiness_code" class="form-control form-custom border-0" placeholder="Bussiness Code*" aria-label="Bussiness Code" aria-describedby="basic-addon1" style="border-left: 0 !important">
              </div>
              <div class="input-group mb-4">
                <div class="input-group-prepend">
                  <span class="input-group-text border-0" id="basic-addon1"><span class="iconify" data-icon="teenyicons:user-outline"></span></span>
                </div>
                <input type="text" name="username" class="form-control form-custom border-0" placeholder="Username*" aria-label="Username" aria-describedby="basic-addon1" style="border-left: 0 !important">
              </div>
              <div class="input-group mb-4">
                <div class="input-group-prepend">
                  <span class="input-group-text border-0" id="basic-addon1"><span class="iconify" data-icon="mdi:password-outline"></span></span>
                </div>
                <input type="password" name="password" class="form-control form-custom border-0" placeholder="Password*" aria-label="Password" aria-describedby="basic-addon1" style="border-left: 0 !important">
              </div>
              <div class="form-group form-check mb-4 text-blue-dark">
                <!-- <input type="checkbox" class="form-check-input" id="exampleCheck1">
                <label class="form-check-label" for="exampleCheck1">Remember me</label> -->
                &nbsp;
              </div>
            
              <div class="submit-button d"></div>
              <button type="submit" class="w-100 btn btn-custom-success">Log in</button>
            </form>
            <div class="w-100 d-flex justify-content-center">
              <div class="" style="position: absolute; bottom: 10px;">
                <!-- <p>Don't have an account? <a href="">Signup</a> here</p> -->
                <p>&nbsp;</p>
              </div>

            </div>
          </div>
        </div>
      </div>
    </div>
    {{-- <div class="opacity-background">
      <div class="container">
        <!-- Outer Row -->
          <div class="row justify-content-center">
              
              <div class="col-xl-6 col-lg-6">

                  <div class="card o-hidden border-0 shadow-lg my-5">
                      <div class="card-body p-0">
                          <!-- Nested Row within Card Body -->
                          <div class="row">

                              <div class="col-lg">
                                  <div class="p-5">
                                      <div class="text-center">
                                          <!-- LOGO -->
                                          @if(session('msg'))
                                              <div class="alert alert-danger">
                                                  {{ session('msg') }}
                                              </div>
                                          @endif
                                      </div>
                                      <form class="user" method="post" action="{{ url('auth') }}">
                                          @csrf
                                          <div class="form-group">
                                              <input type="text" name="username" class="form-control form-control-user"
                                                  id="exampleInputEmail" aria-describedby="emailHelp"
                                                  placeholder="Enter Username...">
                                          </div>
                                          <div class="form-group">
                                              <input type="password" name="password" class="form-control form-control-user"
                                                  id="exampleInputPassword" placeholder="Password">
                                          </div>                                        
                                          <input type="submit" value="Login" class="btn btn-primary btn-user btn-block"/>
                                      </form>
                                  </div>
                              </div>
                          </div>
                      </div>
                  </div>
              </div>

          </div>
      </div>
    </div> --}}

    <!-- Bootstrap core JavaScript-->
    <script src="{{ asset('/') }}assets/vendor/jquery/jquery.min.js"></script>
    <script src="{{ asset('/') }}assets/js/iconify.min.js"></script>
    <script src="{{ asset('/') }}assets/vendor/bootstrap/js/bootstrap.bundle.min.js"></script>

    <!-- Core plugin JavaScript-->
    <script src="{{ asset('/') }}assets/vendor/jquery-easing/jquery.easing.min.js"></script>

    <!-- Custom scripts for all pages-->
    <script src="{{ asset('/') }}assets/js/sb-admin-2.min.js"></script>
  </body>
</html>
