<!DOCTYPE html>

<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <title>Dashboard</title>
    <meta content="" name="description">
    <meta content="" name="keywords">

    <!-- Favicons -->
    {{-- <link href="{{ asset('niceAdmin/assets/img/favicon.png') }}" rel="icon"> --}}
    {{-- <link href="{{ asset('niceAdmin/assets/img/apple-touch-icon.png') }}" rel="apple-touch-icon"> --}}

    <link rel="icon" type="image/png" href="{{ asset('storage/company/' . siteinfo()->img_url ?? '') }}">
    {{-- <link rel="icon" type="image/jpeg" href="{{ asset('storage/company/' . siteinfo()->img_url ?? '') }}"> --}}

    <!-- Google Fonts -->
    <link href="https://fonts.gstatic.com" rel="preconnect">
    <link
        href="https://fonts.googleapis.com/css?family=Open+Sans:300,300i,400,400i,600,600i,700,700i|Nunito:300,300i,400,400i,600,600i,700,700i|Poppins:300,300i,400,400i,500,500i,600,600i,700,700i"
        rel="stylesheet">

    <!-- Vendor CSS Files -->
    <link href="{{ asset('niceAdmin/assets/vendor/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/bootstrap-icons/bootstrap-icons.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/boxicons/css/boxicons.min.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/quill/quill.snow.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/quill/quill.bubble.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/remixicon/remixicon.css') }}" rel="stylesheet">
    <link href="{{ asset('niceAdmin/assets/vendor/simple-datatables/style.css') }}" rel="stylesheet">
    <link rel="stylesheet" href="{{ asset('/') }}css/clientbootcss.min.css">

    <link href="{{ asset('niceAdmin/assets/css/style.css') }}" rel="stylesheet">
    <style>
        .btn {
            display: inline-block;
            font-weight: 600;
            text-align: center;
            vertical-align: middle;
            user-select: none;
            border: 1px solid transparent;
            padding: 0.5rem 1rem;
            font-size: 1rem;
            line-height: 1.5;
            border-radius: 0.375rem;
            transition: all 0.2s ease-in-out;
        }

        .btn-primary {
            background-color: #007bff;
            color: white;
            border-color: #007bff;
        }

        .btn-primary:hover {
            background-color: #0056b3;
            border-color: #004085;
        }

        .btn-lg {
            padding: 0.75rem 1.5rem;
            font-size: 1.25rem;
            border-radius: 0.5rem;
        }

        .btn-block {
            display: block;
            width: 100%;
        }

        .center-content {
            display: flex;
            justify-content: center;
            align-items: center;
            height: calc(100vh + 100px);
        }
    </style>
</head>

<body
    style="background-image: url('{{ asset('images/payment_bg.jpg') }}'); background-size: cover; background-position: center; background-repeat: no-repeat; height: 100vh; overflow: hidden;">
    <header id="header" class="header fixed-top d-flex align-items-center"
        style="background-color: transparent !important; box-shadow: none !important;">
        <div class="d-flex align-items-center justify-content-between">
            <a href="#" class="logo d-flex align-items-center">
                <span class="d-none d-lg-block" style="color: #ffffff;">{{ siteinfo()->name }}</span>
            </a>
        </div>

        {{-- <nav class="header-nav ms-auto">
            <ul class="d-flex align-items-center">
                <li class="nav-item dropdown pe-3">
                    <a class="nav-link nav-profile d-flex align-items-center pe-0" href="#"
                        data-bs-toggle="dropdown">
                        <img src="{{ asset('niceAdmin/assets/img/profile-img.jpg') }}" alt="Profile"
                            class="rounded-circle">
                        <span
                            class="d-none d-md-block ps-2" style="color: #ffffff;">{{ $details['userinfo']->clientsinfo->clients_name }}</span>
                    </a>
                </li>
            </ul>
        </nav> --}}
    </header>

    <main id="main" class="main pt-4 center-content" style="margin-left: 0; margin-top: -60px;">
        <div class="container">
            <div class="row">
                <div class="col-md-5 m-auto">
                    <div class="card bg-pattern">
                        <div class="card-body p-4">
                            <div class="text-center w-75 m-auto">
                                <div class="auth-logo">
                                    <a href="#" class="logo-light text-center">
                                        <span class="logo-lg">
                                            <img src="{{ asset('storage/company/' . siteinfo()->img_url ?? '') }}"
                                                alt="" width="120" height="120" style="border-radius: 50%;">
                                        </span>
                                    </a>
                                </div>

                                <p class="text-muted mb-4 mt-3">Enter your ID to renew your account</p>
                            </div>
                            <form action="{{ route('clientPaymentToken') }}" method="POST">
                                @csrf
                                <div class="form-group mb-3">
                                    <label for="cId" class="mb-3"><strong>Search for payment :</strong> </label>
                                    <div class="input-group">
                                        <input type="text" name="client_id" id="cId" class="form-control"
                                            placeholder="Enter your Client CID, UserID, Customer Code" required>
                                    </div>
                                </div>
                                <div class="form-group mb-0 text-center">
                                    <button class="btn btn-primary btn-block" type="submit"> Continue</button>
                                </div>
                            </form>
                            <div class="text-center">
                                <h5 class="mt-3 text-body">Helpline</h5>
                                <a>
                                    <h6 class="mt-0 text-body">{{ siteinfo()->mobile }}</h6>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>


    </main>

    @section('script')
        <script src="https://code.jquery.com/jquery-3.6.0.min.js"
            integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4=" crossorigin="anonymous"></script>
        <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js"
            integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous">
        </script>
        <link rel="stylesheet" href="{{ asset('/') }}css/toastr.min.css">
        <script src="{{ asset('/') }}js/toastr.min.js"></script>
    @endsection


    <!-- ======= Footer ======= -->
    <footer id="" class="footer" style="position: fixed; bottom: 0; width: 100%;">
        <div class="copyright" style="color: #ffffff;">
            &copy; 2020-{{ date('Y') }} <strong><span><a href="https://yetfix.com/"
                        style="color: #6ffff8;">YetFix
                        Limited</a></span></strong>. All Rights Reserved
        </div>
    </footer><!-- End Footer -->

    <a href="#" class="back-to-top d-flex align-items-center justify-content-center"><i
            class="bi bi-arrow-up-short"></i></a>

    <!-- Vendor JS Files -->
    <script src="{{ asset('niceAdmin/assets/vendor/apexcharts/apexcharts.min.js') }}"></script>
    <script src="{{ asset('niceAdmin/assets/vendor/bootstrap/js/bootstrap.bundle.min.js') }}"></script>
    <script src="{{ asset('niceAdmin/assets/vendor/chart.js/chart.min.js') }}"></script>
    <script src="{{ asset('niceAdmin/assets/vendor/echarts/echarts.min.js') }}"></script>
    <script src="{{ asset('niceAdmin/assets/vendor/quill/quill.min.js') }}"></script>
    <script src="{{ asset('niceAdmin/assets/vendor/simple-datatables/simple-datatables.js') }}"></script>
    <script src="{{ asset('niceAdmin/assets/vendor/tinymce/tinymce.min.js') }}"></script>
    <script src="{{ asset('niceAdmin/assets/vendor/php-email-form/validate.js') }}"></script>

    <!-- Template Main JS File -->
    <script src="{{ asset('niceAdmin/assets/js/main.js') }}"></script>
    @yield('script')
    <script src="{{ asset('/') }}js/clientjquery.min.js"></script>
    <script src="{{ asset('/') }}js/clienttoastr.min.js"></script>

    {!! Toastr::message() !!}

</body>

</html>
