<?php $__env->startSection('title', 'Lupa Password - ' . ($siteName ?? 'Bursa Kerja')); ?>

<?php $__env->startSection('content'); ?>
<div class="min-h-[70vh] flex items-center justify-center py-12">
    <div class="max-w-md w-full mx-auto px-4">
        <div class="bg-white rounded-2xl border border-gray-100 p-8 shadow-sm animate-slide-up">
            <div class="text-center mb-8">
                <div class="w-16 h-16 bg-yellow-100 rounded-full flex items-center justify-center mx-auto mb-4">
                    <svg class="w-8 h-8 text-yellow-600" fill="none" stroke="currentColor" stroke-width="2" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" d="M8.228 9c.549-1.165 2.03-2 3.772-2 2.21 0 4 1.343 4 3 0 1.4-1.278 2.575-3.006 2.907-.542.104-.994.54-.994 1.093m0 3h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"/>
                    </svg>
                </div>
                <h2 class="text-2xl font-bold text-gray-800">Lupa Password?</h2>
                <p class="text-gray-500 text-sm mt-1">Masukkan email Anda dan kami akan mengirimkan link untuk mereset password</p>
            </div>

            <?php if(session('success')): ?>
            <div class="bg-green-50 border border-green-200 rounded-lg p-4 mb-6">
                <div class="flex items-start">
                    <svg class="w-5 h-5 text-green-500 mt-0.5 mr-2 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24">
                        <path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 12l2 2 4-4m6 2a9 9 0 11-18 0 9 9 0 0118 0z"/>
                    </svg>
                    <p class="text-green-700 text-sm"><?php echo e(session('success')); ?></p>
                </div>
            </div>
            <?php endif; ?>

            <?php if($errors->any()): ?>
            <div class="bg-red-50 border border-red-200 rounded-lg p-4 mb-6">
                <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                <p class="text-red-600 text-sm"><?php echo e($error); ?></p>
                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
            </div>
            <?php endif; ?>

            <form action="<?php echo e(route('password.forgot')); ?>" method="POST">
                <?php echo csrf_field(); ?>
                <div>
                    <label class="block text-sm font-medium text-gray-700 mb-1">Alamat Email</label>
                    <input type="email" name="email" value="<?php echo e(old('email')); ?>" required autofocus
                        class="w-full border border-gray-200 rounded-lg px-4 py-3 focus:ring-2 focus:ring-indigo-500 focus:border-transparent outline-none"
                        placeholder="contoh@email.com">
                </div>

                <button type="submit"
                    class="w-full mt-6 bg-indigo-600 text-white py-3 rounded-lg font-semibold hover:outline hover:outline-2 hover:outline-indigo-800">
                    Kirim Link Reset Password
                </button>

                <a href="<?php echo e(route('login')); ?>" class="block text-center mt-4 text-gray-500 hover:text-indigo-600 text-sm font-medium">
                    ← Kembali ke Login
                </a>
            </form>
        </div>
    </div>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /var/www/bursakerja/resources/views/auth/forgot-password.blade.php ENDPATH**/ ?>