<style>
    .badge {
        --vz-badge-font-size: 0.75rem;
    }
.card {
    border-color: #ee5a7b !important;
    margin-bottom: 1.5rem;
    box-shadow: 0px 0px 3px 3px #009688;
}
.card-header {
    border-bottom: 1px solid var(--vz-border-color);
    background: linear-gradient(to bottom, #E91E63 32%, #FF5722 100%);

}
.form-control{
    border-radius: 0;
}
.form-select{
    border-radius: 0;
}
.btn.active, .btn.show, .btn:active, .btn:first-child:active, .btn:focus, .btn:hover, :not(.btn-check)+.btn:active {
    border-color: transparent;
    background-color: #4CAF50;
    color: white;
}
</style>
<header id="page-topbar">
    <div class="layout-width">
        <div class="navbar-header">
            <div class="d-flex">
                <!-- LOGO -->
                <div class="navbar-brand-box horizontal-logo">
                    <a href="<?php echo e(URL::asset('admin/dashboard')); ?>" class="logo logo-dark">
                        <span class="logo-sm">
                            <img src="<?php echo e(env('APP_URL')); ?>/company_logo/<?php echo e($company->company_icon); ?>" alt="" height="22">
                        </span>
                        <span class="logo-lg">
                            <img src="<?php echo e(env('APP_URL')); ?>/company_logo/<?php echo e($company->company_logo); ?>" alt="" style="height: 40px;">
                        </span>
                    </a>

                    <a href="<?php echo e(URL::asset('admin/dashboard')); ?>" class="logo logo-light">
                        <span class="logo-sm">
                            <img src="<?php echo e(env('APP_URL')); ?>/company_logo/<?php echo e($company->company_icon); ?>" alt="" height="22">
                        </span>
                        <span class="logo-lg">
                            <img src="<?php echo e(env('APP_URL')); ?>/company_logo/<?php echo e($company->company_logo); ?>" alt="" style="height: 40px;">
                        </span>
                    </a>
                </div>

                <button type="button" class="btn btn-sm px-3 fs-16 header-item vertical-menu-btn topnav-hamburger"
                    id="topnav-hamburger-icon">
                    <span class="hamburger-icon">
                        <span></span>
                        <span></span>
                        <span></span>
                    </span>
                </button>

                <!-- App Search-->
                <form class="app-search d-none d-md-block">
                    <div class="position-relative">
                        <button type="button" class="btn btn-se btn-success rounded-pill LoadWallet"><i
                                class="mdi mdi-wallet label-icon align-middle rounded-pill fs-16 me-2"></i> ₹
                                <?php echo e(round(DB::table('users')->where('id',Session::get('user_id'))->first()->wallet_balance,2)); ?></button>
                    </div>

                </form>
            </div>
            
            

            <div class="d-flex align-items-center">

                <div class="ms-1 header-item d-none d-sm-flex"  onclick="window.open('<?php echo e(URL::asset('admin/admin-reports/recharge-live-reports')); ?>')">
                    <button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle">
                        <i class='bx bxs-analyse text-secondary fs-22'></i>
                    </button>
                </div>
            
                <div class="ms-1 header-item d-none d-sm-flex" onclick="location.href='<?php echo e(URL::asset('admin/user-reports/recharge-report?complaint=1')); ?>'">
                    <button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle">
                        <i class='bx bx-support text-primary fs-22'></i>
                        <span class="position-absolute topbar-badge cartitem-badge fs-10 translate-middle badge rounded-pill bg-primary" id="TopBarComplaintCount">
                        </span>
                    </button>
                </div>
                <div class="ms-1 header-item d-none d-sm-flex" onclick="location.href='<?php echo e(URL::asset('admin/user-reports/recharge-report?status=Pending')); ?>'">
                <button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle">
                        <i class='bx bxs-time-five text-warning fs-22'></i>
                        <span class="position-absolute topbar-badge cartitem-badge fs-10 translate-middle badge rounded-pill bg-warning" id="TopBarPendingCount">
                        </span>
                    </button>
                </div>
                
                <div class="ms-1 header-item d-none d-sm-flex">
                    <button type="button" class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle"
                        data-toggle="fullscreen">
                        <i class='bx bx-fullscreen fs-22'></i>
                    </button>
                </div>
                

                <div class="ms-1 header-item d-none d-sm-flex">
                    <button type="button"
                        class="btn btn-icon btn-topbar btn-ghost-secondary rounded-circle light-dark-mode">
                        <i class='bx bx-moon fs-22'></i>
                    </button>
                </div>

                <div class="dropdown ms-sm-3 header-item topbar-user">
                    <button type="button" class="btn" id="page-header-user-dropdown" data-bs-toggle="dropdown"
                        aria-haspopup="true" aria-expanded="false">
                        <span class="d-flex align-items-center">
                            <img class="rounded-circle header-profile-user"
                                src="<?php echo e(env('APP_URL')); ?>/company_logo/<?php echo e($company->company_icon); ?>"  alt="Header Avatar">
                            <span class="text-start ms-xl-2">
                                <span class="d-none d-xl-inline-block ms-1 fw-medium user-name-text"></span>
                                <span class="d-none d-xl-block ms-1 fs-12 text-muted user-name-sub-text"></span>
                            </span>
                        </span>
                    </button>
                    <div class="dropdown-menu dropdown-menu-end">
                        <!-- item-->
                        <h6 class="dropdown-header" id="nav_first_name">Welcome Admin!</h6>
                        <a class="dropdown-item" href="<?php echo e(route('myProfile')); ?>"><i
                                class="mdi mdi-account-circle text-muted fs-16 align-middle me-1"></i> <span
                                class="align-middle">Profile</span></a>
                        <!-- <a class="dropdown-item" href="#"><i
                                class="mdi mdi-percent text-muted fs-16 align-middle me-1"></i> <span
                                class="align-middle">My Commission</span></a> -->
                       
                        <a class="dropdown-item" id="helpSupport"><i
                                class="mdi mdi-lifebuoy text-muted fs-16 align-middle me-1"></i> <span
                                class="align-middle">Help/Support</span></a>
                                
                        <div class="dropdown-divider"></div>
                                <a class="dropdown-item" href="<?php echo e(route('myProfile')); ?>"><span
                                class="badge bg-soft-success text-success mt-1 float-end">New</span><i
                                class="mdi mdi-cog-outline text-muted fs-16 align-middle me-1"></i> <span
                                class="align-middle">Settings</span></a>
                                
                                 <div class="dropdown-divider"></div>
                                <a class="dropdown-item" href="https://cpshoster.com/"><span
                                class="badge bg-soft-success text-success mt-1 float-end">Best</span>
                                <i class='bx bxs-server bx-spin' style='color:#f70606' ></i> 
                                <span class="align-middle">Hosting</span></a>
                                
                                <div class="dropdown-divider"></div>
                                <a class="dropdown-item" href="https://wa.link/b8nu7v"><span
                                class="badge bg-soft-success text-success mt-1 float-end">Chat</span>
                                <i class='bx bxs-message-rounded-dots bx-burst' style='color:#1c8c08' ></i> 
                                <span class="align-middle">Developer</span></a>
                                
                        <!-- <a class="dropdown-item" href="#"><span
                                class="badge bg-soft-success text-success mt-1 float-end">New</span><i
                                class="mdi mdi-cog-outline text-muted fs-16 align-middle me-1"></i> <span
                                class="align-middle">Settings</span></a> -->
                        <a class="dropdown-item " href="<?php echo e(route('adminLogout')); ?>"><i
                                class="bx bx-power-off font-size-16 align-middle me-1"></i> <span
                                key="t-logout">Logout</span></a>
                    </div>
                </div>
            </div>
        </div>
    </div>
</header>
<!-- Load Wallet Modals -->
<div id="LoadWalletModal" class="modal" tabindex="-1" aria-labelledby="LoadWalletModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="LoadWalletModalLabel">Load Wallet Details</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"> </button>
            </div>
            <div class="modal-body">
                <form action="#" method="POST" id="admin_load_wallet_form" enctype="multipart/form-data">
                    <?php echo csrf_field(); ?>
                    <div class="mb-3">
                        <label for="amount" class="col-form-label">Amount:</label>
                        <input type="number" class="form-control" name="amount" id="amount" required="required">
                    </div>
                    <div class="mb-3">
                        <label for="remark" class="col-form-label">Remark:</label>
                        <textarea class="form-control" name="remark" id="remark" required="required"></textarea>
                    </div>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-light" data-bs-dismiss="modal">Close</button>
                <button type="submit" class="btn btn-primary" id="admin_load_wallet_btn">Save Changes</button>
            </div>
            </form>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->

<!-- Help & Support Modals -->
<div id="helpSupportModal" class="modal" tabindex="-1" aria-labelledby="helpSupportModalLabel" aria-hidden="true" style="display: none;">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <h5 class="modal-title" id="helpSupportModalLabel">Help & Support Details</h5>
                <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"> </button>
            </div>
            <div class="modal-body">
                <!-- Vertical alignment (align-items-center) -->
                <div class="row align-items-center" style="padding: 20px;">
                    <div class="col-sm-4">
                        
                    </div>
                    <div class="col-sm-8">
                        <img src="<?php echo e(env('APP_URL')); ?>/company_logo/<?php echo e($company->company_logo); ?>" alt="Logo" id="sh_comapany_logo" style="height: 90px;">
                    </div>
                    
                </div>
                <div class="row align-items-center" style="padding: 20px;">
                    <div class="col-sm-6">
                        <h6>Support No. :</h6>
                    </div>
                    <div class="col-sm-6">
                        <h6 id="sh_support_number" ><?php echo e($company->support_number); ?></h6>
                    </div>
                </div>
                <div class="row align-items-center" style="padding: 20px;">
                    <div class="col-sm-6">
                        <h6>Alternet Support No. : </h6>
                    </div>
                    <div class="col-sm-6">
                        <h6 id="sh_support_number_2" ><?php echo e($company->support_number_2); ?></h6>
                    </div>
                </div>
                <div class="row align-items-center" style="padding: 20px;">
                    <div class="col-sm-6">
                        <h6>Support Email :</h6>
                    </div>
                    <div class="col-sm-6">
                        <h6 id="sh_support_email" ><?php echo e($company->support_email); ?></h6>
                    </div>
                </div>
                <div class="row align-items-center" style="padding: 20px;">
                    <div class="col-sm-6">
                        <h6>Company Address :</h6>
                    </div>
                    <div class="col-sm-6">
                        <h6 id="sh_company_address" ><?php echo e($company->company_address); ?></h6>
                    </div>
                </div>
            </div>
        </div><!-- /.modal-content -->
    </div><!-- /.modal-dialog -->
</div><!-- /.modal -->
<?php /**PATH /home/felxiweb/admin.felxiweb.com/resources/views/layouts/topbar.blade.php ENDPATH**/ ?>