<?php $__env->startSection('content'); ?>
<div class="h-full flex items-center justify-center bg-gray-50 pb-20">
    <div class="max-w-md w-full bg-white rounded-2xl shadow-xl overflow-hidden transform transition-all">
        <div class="bg-gradient-to-br from-emerald-500 to-emerald-700 px-6 py-8 text-center text-white">
            <div class="w-20 h-20 bg-white/20 rounded-full flex items-center justify-center mx-auto mb-4 backdrop-blur-sm">
                <svg class="w-10 h-10" 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>
            <h2 class="text-2xl font-bold tracking-wide">Buka Shift Kasir</h2>
            <p class="text-emerald-50 mt-2 text-sm font-medium">Masukkan saldo awal laci uang untuk memulai transaksi hari ini</p>
        </div>
        
        <form action="<?php echo e(route('shift.open')); ?>" method="POST" class="p-8">
            <?php echo csrf_field(); ?>
            
            <?php if($errors->any()): ?>
            <div class="mb-4 p-4 bg-red-50 text-red-600 text-sm rounded-xl font-medium flex items-center gap-2">
                <svg class="w-5 h-5 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"></path></svg>
                <?php echo e($errors->first()); ?>

            </div>
            <?php endif; ?>

            <div class="mb-8">
                <label class="block text-sm font-semibold text-gray-700 mb-2">Modal Awal / Saldo Laci (Rp)</label>
                <div class="relative group">
                    <div class="absolute inset-y-0 left-0 pl-4 flex items-center pointer-events-none">
                        <span class="text-gray-400 font-bold group-focus-within:text-emerald-500 transition-colors">Rp</span>
                    </div>
                    <input type="number" name="starting_cash" class="w-full pl-12 pr-4 py-4 text-2xl font-bold text-gray-800 border-2 border-gray-200 rounded-xl focus:border-emerald-500 focus:ring-4 focus:ring-emerald-500/20 outline-none transition-all shadow-sm" placeholder="0" required autofocus>
                </div>
            </div>
            
            <button type="submit" class="w-full bg-emerald-600 text-white font-bold text-lg py-4 rounded-xl shadow-lg hover:bg-emerald-700 hover:shadow-xl transition-all transform hover:-translate-y-0.5 active:translate-y-0">
                Mulai Bertugas
            </button>
        </form>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.pos', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH D:\PROJECT\xampp\htdocs\apoteks\resources\views/transactions/pos/shift_open.blade.php ENDPATH**/ ?>