

<?php $__env->startSection('content'); ?>
    <div class="stats-grid">
        <div class="stat-card primary">
            <span class="stat-pill stat-pill--light">+12.5%</span>
            <div class="stat-card-header">
                <span class="stat-icon">
                    <i class="ti ti-wallet"></i>
                </span>
            </div>
            <div class="stat-card-body">
                <div class="value"><?php echo e($currency); ?><?php echo e(number_format($walletBalance, 2)); ?></div>
                <div class="label">Wallet Balance</div>
            </div>
        </div>

        <div class="stat-card">
            <span class="stat-pill">+8.2%</span>
            <div class="stat-card-header">
                <span class="stat-icon">
                    <i class="ti ti-device-mobile"></i>
                </span>
            </div>
            <div class="stat-card-body">
                <div class="value"><?php echo e($numbersPurchased); ?></div>
                <div class="label">Numbers Purchased</div>
            </div>
        </div>

        <div class="stat-card">
            <span class="stat-pill">+23.1%</span>
            <div class="stat-card-header">
                <span class="stat-icon">
                    <i class="ti ti-message-circle"></i>
                </span>
            </div>
            <div class="stat-card-body">
                <div class="value"><?php echo e($smsServerStatus); ?></div>
                <div class="label">SMS Server Status</div>
            </div>
        </div>

        <div class="stat-card">
            <span class="stat-pill">+5.4%</span>
            <div class="stat-card-header">
                <span class="stat-icon">
                    <i class="ti ti-wave-sine"></i>
                </span>
            </div>
            <div class="stat-card-body">
                <div class="value"><?php echo e($currency); ?><?php echo e(number_format($totalFunded, 2)); ?></div>
                <div class="label">Total Amount Funded</div>
            </div>
        </div>
    </div>

    <div class="card mp-20">
        <h2 class="title">Quick Actions</h2>

        <div class="actions-grid">
            <a href="<?php echo e(route('user.server.index')); ?>" class="action-card">
                <span class="action-icon">
                    <i class="ti ti-phone-call"></i>
                </span>
                <div class="action-title">Buy Numbers</div>
                <div class="action-desc">Get virtual numbers</div>
            </a>
            <a href="<?php echo e(route('user.payment.index')); ?>" class="action-card">
                <span class="action-icon">
                    <i class="ti ti-wallet"></i>
                </span>
                <div class="action-title">Fund Wallet</div>
                <div class="action-desc">Add funds instantly</div>
            </a>
            <a href="<?php echo e(route('user.log.numbers')); ?>" class="action-card">
                <span class="action-icon">
                    <i class="ti ti-chart-line"></i>
                </span>
                <div class="action-title">Number Log</div>
                <div class="action-desc">View your codes</div>
            </a>
            <a href="#" class="action-card">
                <span class="action-icon">
                    <i class="ti ti-headset"></i>
                </span>
                <div class="action-title">Support</div>
                <div class="action-desc">24/7 assistance</div>
            </a>
        </div>
    </div>

    <div class="card mp-20">
        <h2 class="title">Top Services</h2>
        <div class="service-list">
            <?php $__empty_1 = true; $__currentLoopData = $topServices; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $service): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); $__empty_1 = false; ?>
                <div class="service-card">
                    <div class="service-left">
                        <span class="service-icon">
                            <i class="<?php echo e($service['icon']); ?>"></i>
                        </span>
                        <div class="service-info">
                            <div class="service-name"><?php echo e($service['name']); ?></div>
                            <div class="service-detail"><?php echo e($service['detail']); ?></div>
                        </div>
                    </div>
                    <a href="<?php echo e(route('user.server.index')); ?>" class="btn-buy">Buy</a>
                </div>
            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); if ($__empty_1): ?>
                <div class="service-card">
                    <div class="service-left">
                        <div class="service-info">
                            <div class="service-name">No top services configured</div>
                            <div class="service-detail">Ask admin to add top services</div>
                        </div>
                    </div>
                </div>
            <?php endif; ?>
        </div>
    </div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('frontend.layout.dash', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\Users\HP\Desktop\nbverify\mine\resources\views/frontend/user/dashboard.blade.php ENDPATH**/ ?>