<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Forgot Password - Immia Finance</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">
</head>
<body class="bg-gray-50 min-h-screen flex items-center justify-center">
    <div class="max-w-md w-full mx-4 py-10">
        
        <div class="bg-white rounded-2xl shadow-lg p-8">
            
            <div class="text-center mb-8">
                <div class="flex items-center justify-center space-x-3 mb-4">
                    <div class="w-12 h-12 bg-blue-600 rounded-lg flex items-center justify-center">
                        <i class="fas fa-hand-holding-usd text-white text-xl"></i>
                    </div>
                    <div>
                        <h1 class="text-2xl font-bold text-gray-900">IMMIA FINANCE</h1>
                        <p class="text-blue-600 text-sm font-semibold uppercase tracking-wider">Step 1 of 3</p>
                    </div>
                </div>
                <h2 class="text-3xl font-bold text-gray-900">Forgot Password?</h2>
                <p class="text-gray-600 mt-2">Enter your details to receive a reset OTP</p>
            </div>

            <?php if($errors->any()): ?>
                <div class="bg-red-50 border border-red-200 text-red-700 px-4 py-3 rounded-lg mb-6 text-sm">
                    <i class="fas fa-exclamation-circle mr-1"></i> <?php echo e($errors->first()); ?>

                </div>
            <?php endif; ?>

            <?php if(session('success')): ?>
                <div class="bg-green-50 border border-green-200 text-green-700 px-4 py-3 rounded-lg mb-6 text-sm">
                    <i class="fas fa-check-circle mr-1"></i> <?php echo e(session('success')); ?>

                </div>
            <?php endif; ?>

            <form method="POST" action="<?php echo e(route('customer.password.otp')); ?>">
                <?php echo csrf_field(); ?>
                
                <div class="mb-6">
                    <label for="identifier" class="block text-sm font-medium text-gray-700 mb-2">
                        Email Address or Phone Number *
                    </label>
                    <input 
                        type="text" 
                        id="identifier" 
                        name="identifier" 
                        value="<?php echo e(old('identifier')); ?>"
                        required 
                        autofocus
                        class="w-full px-4 py-3 border border-gray-300 rounded-lg focus:ring-2 focus:ring-blue-500 focus:border-blue-500 transition-colors"
                        placeholder="e.g. 097... or name@mail.com"
                    >
                    <p class="text-xs text-gray-400 mt-2">We will send a 6-digit code to your registered contacts.</p>
                </div>

                <button type="submit" class="w-full bg-blue-600 hover:bg-blue-700 text-white py-3 px-6 rounded-lg font-semibold transition-all shadow-md flex items-center justify-center">
                    <i class="fas fa-paper-plane mr-2"></i> Send Reset OTP
                </button>

                <div class="text-center mt-6">
                    <a href="<?php echo e(route('customer.login')); ?>" class="text-sm text-blue-600 hover:text-blue-700 font-semibold transition-colors">
                        <i class="fas fa-arrow-left mr-1"></i> Back to Login
                    </a>
                </div>
            </form>
        </div>

        <div class="mt-6 text-center">
            <p class="text-xs text-gray-400 flex items-center justify-center">
                <i class="fas fa-shield-alt mr-1 text-blue-400"></i>
                Secure Identity Verification System
            </p>
        </div>
    </div>
</body>
</html><?php /**PATH /home/topacvbu/public_html/zedbankos.cloud/customer-portal/resources/views/auth/forgot-password.blade.php ENDPATH**/ ?>