<?php $__env->startSection('title', 'Overview'); ?>
<?php $__env->startSection('page_title', 'Performance Overview'); ?>

<?php $__env->startSection('content'); ?>
<div class="max-w-7xl mx-auto space-y-8">
    <!-- Stats Grid -->
    <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6">
        <!-- Today's Sales -->
        <div class="bg-white p-6 rounded-sm border border-zinc-200 shadow-sm group hover:border-indigo-500 transition-all">
            <div class="flex items-center justify-between mb-4">
                <div class="p-2 bg-indigo-50 text-indigo-600 rounded-sm">
                    <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8c-1.657 0-3 .895-3 2s1.343 2 3 2 3 .895 3 2-1.343 2-3 2m0-8c1.11 0 2.08.402 2.599 1M12 8V7m0 1v8m0 0v1m0-1c-1.11 0-2.08-.402-2.599-1M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
                </div>
                <span class="text-[9px] font-black text-green-500 uppercase tracking-widest">+12% vs yest.</span>
            </div>
            <p class="text-[10px] font-black text-zinc-400 uppercase tracking-widest mb-1">Today's Sales</p>
            <h3 class="text-2xl font-black text-zinc-900 tracking-tighter">₹<?php echo e(number_format($stats['today_sales'], 2)); ?></h3>
        </div>

        <!-- Active Orders -->
        <div class="bg-white p-6 rounded-sm border border-zinc-200 shadow-sm group hover:border-indigo-500 transition-all">
            <div class="flex items-center justify-between mb-4">
                <div class="p-2 bg-amber-50 text-amber-600 rounded-sm">
                    <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4l3 3m6-3a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
                </div>
                <div class="flex -space-x-2">
                    <?php for($i=0; $i<3; $i++): ?>
                        <div class="w-6 h-6 rounded-full bg-zinc-200 border-2 border-white"></div>
                    <?php endfor; ?>
                </div>
            </div>
            <p class="text-[10px] font-black text-zinc-400 uppercase tracking-widest mb-1">Active Orders</p>
            <h3 class="text-2xl font-black text-zinc-900 tracking-tighter"><?php echo e($stats['active_orders']); ?> <span class="text-xs text-zinc-400 font-bold uppercase ml-1">KOTs Running</span></h3>
        </div>

        <!-- Total Orders -->
        <div class="bg-white p-6 rounded-sm border border-zinc-200 shadow-sm group hover:border-indigo-500 transition-all">
            <div class="flex items-center justify-between mb-4">
                <div class="p-2 bg-indigo-50 text-indigo-600 rounded-sm">
                    <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M16 11V7a4 4 0 00-8 0v4M5 9h14l1 12H4L5 9z"></path></svg>
                </div>
            </div>
            <p class="text-[10px] font-black text-zinc-400 uppercase tracking-widest mb-1">Total Orders (Today)</p>
            <h3 class="text-2xl font-black text-zinc-900 tracking-tighter"><?php echo e($stats['total_orders_today']); ?></h3>
        </div>

        <!-- Occupied Tables -->
        <div class="bg-white p-6 rounded-sm border border-zinc-200 shadow-sm group hover:border-indigo-500 transition-all">
            <div class="flex items-center justify-between mb-4">
                <div class="p-2 bg-rose-50 text-rose-600 rounded-sm">
                    <svg class="w-5 h-5" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 21V5a2 2 0 00-2-2H7a2 2 0 00-2 2v16m14 0h2m-2 0h-5m-9 0H3m2 0h5M9 7h1m-1 4h1m4-4h1m-1 4h1m-5 10v-5a1 1 0 011-1h2a1 1 0 011 1v5m-4 0h4"></path></svg>
                </div>
            </div>
            <p class="text-[10px] font-black text-zinc-400 uppercase tracking-widest mb-1">Occupied Tables</p>
            <h3 class="text-2xl font-black text-zinc-900 tracking-tighter"><?php echo e($stats['occupied_tables']); ?></h3>
        </div>
    </div>

    <!-- Quick Actions & Charts (Placeholders) -->
    <div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
        <div class="lg:col-span-2 space-y-6">
            <div class="bg-white p-8 rounded-sm border border-zinc-200 shadow-sm h-80 flex flex-col justify-center items-center text-center">
                <div class="w-16 h-16 bg-zinc-50 rounded-full flex items-center justify-center mb-4 border border-zinc-100">
                    <svg class="w-8 h-8 text-zinc-300" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z"></path></svg>
                </div>
                <h4 class="text-xs font-black uppercase tracking-widest text-zinc-900 mb-2">Sales Analytics Coming Soon</h4>
                <p class="text-[10px] text-zinc-400 font-bold uppercase tracking-widest">Real-time hourly sales tracking will be available here.</p>
            </div>
        </div>

        <div class="space-y-6">
            <div class="bg-zinc-950 p-8 rounded-sm shadow-2xl text-white relative overflow-hidden">
                <div class="absolute -right-8 -bottom-8 w-32 h-32 bg-indigo-600 rounded-full blur-3xl opacity-20"></div>
                <h4 class="text-xs font-black uppercase tracking-widest mb-6">Launch POS Terminal</h4>
                <p class="text-[10px] text-zinc-400 font-bold uppercase tracking-widest mb-8 leading-relaxed">Access the high-performance terminal for faster billing and KOT management.</p>
                <a href="<?php echo e(route('biller.pos')); ?>" class="inline-flex items-center justify-center w-full py-4 bg-indigo-600 hover:bg-indigo-700 text-white text-[11px] font-black uppercase tracking-widest rounded-sm transition-all shadow-xl shadow-indigo-900/40 group">
                    <span>Open Terminal</span>
                    <svg class="w-4 h-4 ml-2 transform group-hover:translate-x-1 transition-transform" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M14 5l7 7m0 0l-7 7m7-7H3"></path></svg>
                </a>
            </div>

            <div class="bg-white p-6 rounded-sm border border-zinc-200 shadow-sm">
                <h4 class="text-[10px] font-black uppercase tracking-widest text-zinc-500 mb-4">Support & Help</h4>
                <div class="space-y-3">
                    <button class="w-full flex items-center justify-between p-3 bg-zinc-50 rounded-sm text-[10px] font-black uppercase tracking-widest text-zinc-700 hover:bg-zinc-100 transition-colors">
                        <span>User Manual</span>
                        <svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7m0 0l-7 7m7-7H3"></path></svg>
                    </button>
                    <button class="w-full flex items-center justify-between p-3 bg-zinc-50 rounded-sm text-[10px] font-black uppercase tracking-widest text-zinc-700 hover:bg-zinc-100 transition-colors">
                        <span>Report Issue</span>
                        <svg class="w-3 h-3" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7m0 0l-7 7m7-7H3"></path></svg>
                    </button>
                </div>
            </div>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.biller', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /Users/sbs/Downloads/Archive 13/resources/views/biller/dashboard.blade.php ENDPATH**/ ?>