<?php $lang = session('locale', 'en'); ?>
<!DOCTYPE html>
<html lang="<?php echo e($lang); ?>">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo e($lang == 'bn' ? 'পাসওয়ার্ড পুনরুদ্ধার' : 'Forgot Password'); ?> - <?php echo e(\App\Models\Setting::val('site_name', 'Portal')); ?></title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <script>
        tailwind.config = { darkMode: 'class' }
        if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
            document.documentElement.classList.add('dark')
        } else { document.documentElement.classList.remove('dark') }
    </script>
</head>
<body class="bg-slate-50 dark:bg-[#020617] min-h-screen flex items-center justify-center p-6">
    <div class="w-full max-w-md bg-white dark:bg-[#0f172a] border border-slate-200 dark:border-[#1e293b] rounded-2xl p-8 shadow-xl relative z-10">
        <div class="text-center mb-6">
            <div class="w-12 h-12 mx-auto bg-blue-500/10 text-blue-500 rounded-full flex items-center justify-center text-2xl mb-4"><i class="fas fa-key"></i></div>
            <h2 class="text-2xl font-bold text-slate-800 dark:text-white"><?php echo e($lang == 'bn' ? 'পাসওয়ার্ড ভুলে গেছেন?' : 'Forgot Password?'); ?></h2>
            <p class="text-sm text-slate-500 mt-2"><?php echo e($lang == 'bn' ? 'আপনার ইমেইল দিন, আমরা রিসেট লিংক পাঠিয়ে দেব।' : 'Enter your email and we will send a reset link.'); ?></p>
        </div>

        <?php if(session('status')): ?>
            <div class="bg-emerald-100 dark:bg-emerald-500/10 text-emerald-600 dark:text-emerald-400 p-3 rounded-lg mb-4 text-sm"><i class="fas fa-check-circle"></i> <?php echo e(session('status')); ?></div>
        <?php endif; ?>

        <form action="<?php echo e(route('password.email')); ?>" method="POST">
            <?php echo csrf_field(); ?>
            <div class="mb-5">
                <label class="block text-xs font-bold text-slate-500 uppercase mb-2"><?php echo e($lang == 'bn' ? 'ইমেইল এড্রেস' : 'Email Address'); ?></label>
                <input type="email" name="email" class="w-full bg-slate-50 dark:bg-[#1e293b] border border-slate-200 dark:border-[#334155] text-slate-800 dark:text-white rounded-xl p-3 outline-none focus:border-blue-500" required>
            </div>
            <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 rounded-xl transition-all"><?php echo e($lang == 'bn' ? 'লিংক পাঠান' : 'Send Reset Link'); ?></button>
        </form>
        <div class="mt-6 text-center">
            <a href="<?php echo e(route('login')); ?>" class="text-sm text-slate-500 hover:text-blue-500 font-bold"><i class="fas fa-arrow-left"></i> <?php echo e($lang == 'bn' ? 'লগিনে ফিরে যান' : 'Back to Login'); ?></a>
        </div>
    </div>
</body>
</html>
<?php /**PATH /home/hhhnbari/public_html/resources/views/auth/forgot-password.blade.php ENDPATH**/ ?>