<?php $__env->startSection('content'); ?>

    <body data-theme-color="color-blue">
        <div class="page-wraper">


            <style>
                .header .header-content .mid-content {
                    flex: 1;
                    text-align: left;
                }

                .header {
                    background-color: #ed7016;
                    min-height: 55px;
                    z-index: 2;
                    border-bottom: 0px solid #dddddd;
                }

                #preloader {
                    top: 0;
                }

                i.fa-solid.fa-bell {
                    font-size: 22px;
                    color: white;
                    margin-top: 12px;
                    padding-right: 7px;
                }

                i.fa-solid.fa-globe {
                    font-size: 22px;
                    color: white;
                    margin-top: 12px;
                    padding-right: 7px;
                }

                .header .sticky-header {
                    top: 0px;
                    background: #ed7016;
                }

                .toast.style-1.toast-danger {
                    background-color: #1e1e1e5e;
                    color: #fff;
                    border: 0px white solid;
                    backdrop-filter: blur(5px);
                }

                .toast.style-1 .toast-body {
                    display: flex;
                    align-items: center;
                    padding: 14px;
                }

                .toast.style-1.toast-danger .toast-content strong {
                    color: #fff;
                    font-weight: 600;
                }
            </style>


            <!-- Header -->
            <header class="header">
                <div class="main-bar">
                    <div class="container">
                        <div class="header-content">

                            <div class="mid-content">
                                <h5 class="mb-0">Profile</h5>
                            </div>
                            <!--              <div class="right-content">-->
                            <!--                  <a href="javascript:void(0);" class="menu-toggler">-->
                            <!--	<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">-->
                            <!--		<path opacity="0.4" d="M16.0755 2H19.4615C20.8637 2 22 3.14585 22 4.55996V7.97452C22 9.38864 20.8637 10.5345 19.4615 10.5345H16.0755C14.6732 10.5345 13.537 9.38864 13.537 7.97452V4.55996C13.537 3.14585 14.6732 2 16.0755 2Z" fill="#a19fa8"/>-->
                            <!--		<path fill-rule="evenodd" clip-rule="evenodd" d="M4.53852 2H7.92449C9.32676 2 10.463 3.14585 10.463 4.55996V7.97452C10.463 9.38864 9.32676 10.5345 7.92449 10.5345H4.53852C3.13626 10.5345 2 9.38864 2 7.97452V4.55996C2 3.14585 3.13626 2 4.53852 2ZM4.53852 13.4655H7.92449C9.32676 13.4655 10.463 14.6114 10.463 16.0255V19.44C10.463 20.8532 9.32676 22 7.92449 22H4.53852C3.13626 22 2 20.8532 2 19.44V16.0255C2 14.6114 3.13626 13.4655 4.53852 13.4655ZM19.4615 13.4655H16.0755C14.6732 13.4655 13.537 14.6114 13.537 16.0255V19.44C13.537 20.8532 14.6732 22 16.0755 22H19.4615C20.8637 22 22 20.8532 22 19.44V16.0255C22 14.6114 20.8637 13.4655 19.4615 13.4655Z" fill="#a19fa8"/>-->
                            <!--	</svg>-->
                            <!--</a>-->
                            <!--              </div>-->
                        </div>
                    </div>
                </div>
            </header>





            <!--   <div id="preloader">-->
            <!--	<div class="spinner"></div>-->
            <!--</div>-->
            <meta name="theme-color" content="#ed7016">

            <style>
                body {
                    background: linear-gradient(183deg, #ed7016, #e4803a 34%, #ffd4c0);

                }

                .header {
                    background: url(https://i.postimg.cc/0QWh7nPm/Kubota-Neostar-B2741-S-11zon.webp) !important;
                    min-height: 150px;
                    border-bottom: 0px solid #dddddd;
                    border-bottom-left-radius: 15%;
                    border-bottom-right-radius: 15%;
                    background-size: cover ! important;
                }

                p {
                    margin-top: 0;
                    margin-bottom: 0rem;
                }

                .header .sticky-header {
                    position: fixed;
                    box-shadow: none;
                    background: #ffffff00;
                    transition: all 0.5s;
                    width: 100%;
                }

                .user_main .user_card .item {
                    display: flex;
                    justify-content: space-between;
                }

                .user_main .user_card .item .title {
                    display: inline-block;
                    padding-left: 10px;
                    font-family: sans-serif;
                    font-weight: 400;
                    font-size: 14px;
                    color: #ffffff;
                    line-height: 18px;
                }

                .user_main .user_card .item img {
                    width: 32px;
                    height: 32px;
                }

                .user_main .user_card .item .right_icon {
                    color: #D6D6D6;
                    line-height: 32px;
                    font-weight: bold;
                }

                .logout {
                    padding: 10px;
                    background: #FFFFFF;
                    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.01);
                    border-radius: 10px 10px 10px 10px;
                }

                .logout a {
                    font-family: Arial, Arial;
                    font-weight: 700;
                    font-size: 16px;
                    color: #FF6F47;
                    line-height: 30px;
                }

                .logout img {
                    height: 24px;
                    width: 24px;
                }

                a:hover,
                a:focus,
                a.active {
                    text-decoration: none;
                    outline: none;
                    color: #ffffff;
                }

                .logout a {
                    font-family: 'Poppins';
                    font-weight: 600;
                    font-size: 16px;
                    color: #ffffff;
                    line-height: 30px;
                }

                .content-inner {
                    padding-top: 40px;
                    padding-bottom: 0px;
                }

                .btn {
                    color: white;
                    font-size: 14px;
                    font-weight: 500;
                    padding: 11px;
                }

                .align-items-center {
                    align-items: center !important;
                    margin-top: -15px;
                }

                .fb {
                    padding-bottom: 0px;
                }

                svg {
                    width: 30px;
                    height: 23px;
                    color: white;
                }

                span {
                    position: absolute;

                    top: 26%;
                    color: #fff;
                    font-size: 12px;
                }

                .layui-row {
                    display: flex;
                    justify-content: space-between;
                    margin-top: 12px;
                }

                .container {
                    padding-top: 3px;
                }

                .mb-0 {
                    margin-bottom: 0 !important;
                    text-align: center;
                    color: white;
                    font-size: 21px;
                }

                a:hover,
                a:focus,
                .fa-solid,
                a.active,
                .fa-solid.active {
                    text-decoration: none;
                    outline: none;
                    color: #ffffff;
                }

                .user-wrap {
                    max-width: 384px;
                    height: 188px;
                    background: url() no-repeat;
                    background-size: 100% 100%;
                    border-radius: 8px;
                    margin-top: 16px;
                    padding: 10px;
                    box-sizing: border-box;
                }

                .d-b-c {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }

                .user-finance.d-b-c {
                    width: 100%;
                    height: 109px;
                    background: #fff;
                    border-radius: 8px;
                    margin-top: 10px;
                    flex-wrap: wrap;
                    padding: 5px 10px;
                    box-sizing: border-box;
                }

                .user-info.d-b-c {
                    width: 100%;
                }

                .avatar {
                    width: 72px;
                    height: 72px;
                    border-radius: 50px;
                    background: url(https://i.postimg.cc/26ZF70wB/avatar-of-a-man-portrait-of-a-young-guy-illustration-of-male-character-in-modern-color-style-vector.jpg);
                    background-size: cover;
                    margin-top: -185px;
                }

                .ml20 {
                    margin-left: 10px;
                }

                .flex-1 {
                    flex: 1;
                }

                .grade {
                    width: 82px;
                    height: 21px;
                    margin-left: 10px;
                }

                .mt10 {
                    margin-top: -2px;
                    font-weight: bold;
                    color: #353535;
                }

                .copy {
                    width: 17px;
                    height: 17px;
                    margin-left: 10px;
                }

                .finance-item {
                    width: 45%;
                }

                .f26 {
                    font-size: 14px;
                }

                .gray6 {
                    color: #666;
                }

                .price {
                    color: #87b922;
                    font-weight: bold;
                }

                .d-s-c {
                    display: flex;
                    justify-content: flex-start;
                    align-items: center;
                }
                }

                .d-b-c {
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                }

                .menu-item {
                    width: 180px;
                    height: 65px;
                    background: url(https://i.postimg.cc/02D51Dtd/download-46.png) no-repeat;
                    background-size: 100%;
                    padding: 10px;
                    box-sizing: border-box;
                    font-size: 16px;
                }

                .menu-items {
                    width: 180px;
                    height: 65px;
                    background: url(https://i.postimg.cc/1RLRdJK3/download-47.png) no-repeat;
                    background-size: 100%;
                    padding: 10px;
                    box-sizing: border-box;
                    font-size: 16px;
                }

                .menu.d-b-c {
                    max-width: 382px;
                    height: 65px;
                    margin-top: 16px;
                    column-gap: 5px;
                }

                .user_main .user_list {
                    margin: 0;
                    margin-bottom: 15px;
                    background: ;
                    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.01);
                    border-radius: 7px;
                    border: none;
                }

                .user_main .user_card {
                    margin: 0 15px;
                    padding: 7px 0;
                    border-bottom: .02rem solid hsl(78.17deg 81.4% 57.84%);
                }

                .user_main {
                    padding: 10px;
                    position: unset;
                    border-radius: 23px;
                    margin: -15px;
                    margin-top: 35px;
                }

                .logout {
                    border-radius: 30px !important;
                    padding: 15px;
                    background: #ff6b00 !important;
                    box-shadow: 0px 4px 10px #ff6b0065;

                }

                .user_main .user_card .item .title {
                    display: inline-block;
                    padding-left: 10px;
                    font-family: sans-serif;
                    font-weight: 600;
                    font-size: 14px;
                    color: #ff6b00;
                    line-height: 18px;
                }

                .nav-container {
                    display: flex;
                    align-items: center;
                    border-radius: 10px;
                    position: relative;
                    z-index: 999;
                    justify-content: space-evenly;
                    margin-top: -30px;
                    margin-bottom: 12px;
                }

                .nav-item {
                    color: #00000087;
                    text-decoration: none;
                    text-align: center;
                    margin: 0 12px;
                    margin-top: 5px;
                }

                .nav-item i {
                    display: block;
                    color: #000;
                    font-size: 24px;
                    margin-bottom: 5px;
                }

                .nav-item span {
                    display: block;
                    font-size: 11px;
                    font-weight: 500;
                    margin-top: 50px;
                    margin-bottom: 3px;
                    pointer-events: none;
                    margin-left: 8px;
                }

                .nav-item:hover {
                    color: #6a6a6a;
                    text-decoration: none;
                }

                p.value {
                    font-family: monospace;
                    font-weight: 700;
                    font-size: 19px;
                    color: #ffffff;
                    line-height: 20px;
                    text-align: center;
                }

                p.label {
                    font-family: monospace;
                    font-weight: 700;
                    font-size: 13px;
                    color: #d2d2d2;
                    line-height: 20px;
                    text-align: center;
                }

                .layui-row {
                    display: flex;
                    justify-content: space-between;
                    margin-top: 30px;
                }

                .page-content {
                    margin-top: -35px;
                }
            </style>


            <div class="page-content">

                <div class="content-inner pt-0">
                    <div class="container fb">



                        <div class="user-wrap">

                            <div class="flex-1 ml20">
                                <div class="d-s-c">
                                    <div style="font-weight: bold;color: white;"><?php echo e($user->mobile); ?></div>

                                </div>
                                <div class="d-s-c f26 mt10">
                                    <div style="font-weight: bold;color: white;">ID: <?php echo e($user->ref_code); ?></div>

                                </div>
                            </div>
                            <div class="user-info d-b-c">
                                <div class="avatar">
                                    <div
                                        style="background-image: url(''); background-position: 0% 0%; background-size: 100% 100%; background-repeat: no-repeat;">
                                    </div>
                                </div>

                            </div>

                            <div class="layui-row">
                                <div class="layui-col-xs4">
                                    <div style="text-align: left">
                                        <p class="value"><?php echo e($general->cur_sym); ?><?php echo e(number_format($user->balance + $user->bonus_balance)); ?></p>
                                        <p class="label">Balance</p>
                                    </div>
                                </div>
                                <div class="layui-col-xs4">
                                    <div style="text-align: left">
                                        <p class="value"><?php echo e($general->cur_sym); ?><?php echo e(number_format($user->balance)); ?></p>
                                        <p class="label">Recharge</p>
                                    </div>
                                </div>
                                <div class="layui-col-xs4">
                                    <div style="text-align: left">
                                        <p class="value"><?php echo e($general->cur_sym); ?><?php echo e(number_format($user->bonus_balance)); ?></p>
                                        <p class="label">Withdraw</p>
                                    </div>
                                </div>
                                
                            </div>
                        </div>


                        <div class="nav-container">
                            <a href="<?php echo e(route('user.coupon')); ?>" class="nav-item">
                                <img src="https://i.postimg.cc/NF6pNGB5/event.png" class="my-image">

                                <span>Gift Code</span>
                            </a>
                            <a href="<?php echo e(route('user.investment.log')); ?>" class="nav-item">
                                <img src="https://i.postimg.cc/hhWHyGw1/job.png" class="my-image">
                                <span>My Order</span>
                            </a>
                            <a href="<?php echo e(route('user.deposit')); ?>" class="nav-item">
                                <img src="https://i.postimg.cc/2jhcjGhr/favourite.png" class="my-image">
                                <span>Recharge</span>
                            </a>
                            <a href="<?php echo e(route('user.withdraw')); ?>" class="nav-item">
                                <img src="https://i.postimg.cc/LsWC50x6/phishing.png" class="my-image">
                                <span>Withdraw</span>
                            </a>
                        </div>




                        <div class="user_main" style="background: #ffffffe8">


                            <div class="user_list">
                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.company')); ?>" style="width: 100%">
                                            <img src="https://i.postimg.cc/VL26wByK/smartphone.png"
                                                style="display: inline">
                                            <p class="title">About Company</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>
                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.trx.log')); ?>" style="width: 100%">
                                            <img src="https://i.postimg.cc/8kKcKgZQ/reporting.png"
                                                style="display: inline">
                                            <p class="title">Income Record</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>
                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.withdraw.history')); ?>" style="width: 100%">
                                            <img src="https://i.postimg.cc/P5Zq5pTT/air-cooler.png"
                                                style="display: inline">
                                            <p class="title">Withdraw Record</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>

                                <div class="user_card">
                                    <div class="item">
                                        <a href="<?php echo e(route('user.change.password')); ?>" style="width: 100%">
                                            <img src="https://i.postimg.cc/d3x0LGht/software.png" style="display: inline">
                                            <p class="title">Security Manager</p>
                                        </a>
                                        <p class="right_icon"><i class="fa-solid fa-chevron-right"
                                                style="color: rgb(171, 171, 179);"></i></p>
                                    </div>
                                </div>

                            </div>

                            <div class="logout"
                                style="border-radius: 5px;text-align: center;margin-bottom: 80px;width: 95%;margin-left: 9px;">
                                <a href="<?php echo e(route('user.logout')); ?>"
                                    style="display: block; text-decoration: none; line-height: 20px; font-size: 18px;">

                                    LOGOUT
                                </a>
                            </div>

                        </div>
                    </div>
                </div>
            </div>

            <!-- Menubar -->
            <div class="menubar-area">
                <div class="toolbar-inner menubar-nav">
                    <a href="<?php echo e(route('user.home')); ?>" class="nav-link">
                        <img src="https://img.icons8.com/?size=100&amp;id=qBlNlefkEJPq&amp;format=png&amp;color=817f8c8f"
                            style="width: 40px;">
                        <label style="font-size:12px; font-weight: 600; margin-top:-5px;">Home</label>
                    </a>
                    <a href="<?php echo e(route('user.investment')); ?>" class="nav-link">
                        <img src="https://img.icons8.com/?size=100&amp;id=bcPuF1oeJhXt&amp;format=png&amp;color=817f8c8f"
                            style="width: 40px;">

                        <label style="font-size: 12px; font-weight: 600; margin-top:-5px;">Plans</label>
                    </a>
                    <a href="<?php echo e(route('user.referrals')); ?>" class="nav-link">
                        <img src="https://img.icons8.com/?size=100&amp;id=11220&amp;format=png&amp;color=817f8c8f"
                            style="width: 37px;">
                        <label style="font-size: 12px; font-weight: 600; margin-top:-5px;">Team</label>
                    </a>
                    <a href="<?php echo e(route('user.profile.setting')); ?>" class="nav-link">
                        <img src="https://img.icons8.com/?size=100&amp;id=NjOjDSZRU0Ma&amp;format=png&amp;color=FD7E14"
                            style="width: 40px;">

                        <label style="font-size: 12px; font-weight: 600; margin-top:-5px;color: #ed7016;">Profile</label>
                    </a>
                </div>
            </div>
            <!-- Menubar -->

            <script>
                function uploadProfile() {
                    let input = document.createElement("input");
                    input.accept = ".png,.jpg,.jpeg";
                    input.type = "file";
                    input.onchange = function() {
                        const file = input.files[0];
                        if (file) {
                            const reader = new FileReader();

                            reader.onload = () => {
                                const base64String = reader.result.split(",")[1];
                                document.querySelector("#profileImage").src = "data:image/png;base64," + base64String;
                                $.post("/home/upload_profile_image", {
                                    data: base64String
                                }, (data) => {

                                });
                            };

                            reader.readAsDataURL(file);
                        }
                    }
                    input.click();



                }
            </script>


            <style>
                .menubar-area .toolbar-inner .nav-link.active:after,
                .menubar-area .toolbar-inner .menu-toggler.active:after {
                    content: "";
                    position: absolute;
                    bottom: -11px;
                    height: 5px;
                    background: #340166;
                }

                .menubar-area {
                    position: fixed;
                    bottom: 0;
                    left: 0;
                    width: 100%;
                    background: #fff;
                    padding: 20px;
                    z-index: 999;
                    padding-top: 12px !important;
                    padding-bottom: 10px !important;
                    border-radius: 8px 8px 0px 0px;
                    box-shadow: 0 12px 26px 0 rgba(0, 0, 0, 0.3);
                }

                a:hover,
                a:focus,
                .fa-solid,
                a.active,
                .fa-solid.active {
                    text-decoration: none;
                    outline: none;
                    color: var(--primary-hover);
                }
            </style>




        </div>
        

    </body>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.users', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /Applications/MAMP/htdocs/kubota/core/resources/views/templates/basic/user/profile_setting.blade.php ENDPATH**/ ?>