
<?php $__env->startSection('title', 'إعادة كلمة السر'); ?>
<?php $__env->startSection('content'); ?>
    <section class="vh-100" style="background-color: #f5f5f5;">
        <div class="container py-5 h-100">
            <div class="row d-flex justify-content-center align-items-center h-100">
                <div class="col col-lg-6 col-md-9">
                    <div class="box p-4 p-md-5 text-right">

                        <div class="text-center mb-4">
                            <img width="180px" src="<?php echo e(website_logo()); ?>" alt="">
                        </div>

                        <h4 class="text-center mb-4">تعيين كلمة مرور جديدة</h4>

                        
                        <?php if($errors->any()): ?>
                            <?php $__currentLoopData = $errors->all(); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $error): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                <div class="alert alert-danger text-center">
                                    <?php echo e($error); ?></div>
                            <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                        <?php endif; ?>

                        
                        <?php if(session('status')): ?>
                            <div class="alert alert-success text-center">
                                <?php echo e(session('status')); ?>

                            </div>
                        <?php endif; ?>

                        <form method="POST" action="<?php echo e(route('password.update')); ?>">
                            <?php echo csrf_field(); ?>
                            <input type="hidden" name="token" value="<?php echo e($token); ?>">

                            <div class="form-group mb-3">
                                <input type="email" name="email" class="form-control text-right"
                                    placeholder="البريد الإلكتروني" value="<?php echo e($email ?? old('email')); ?>" required autofocus>
                            </div>

                            <div class="form-group mb-3">
                                <input type="password" name="password" class="form-control text-right"
                                    placeholder="كلمة السر الجديدة" required>
                            </div>

                            <div class="form-group mb-3">
                                <input type="password" name="password_confirmation" class="form-control text-right"
                                    placeholder="تأكيد كلمة السر" required>
                            </div>

                            <button type="submit" class="btn btn-main btn-block">تحديث كلمة السر</button>
                        </form>

                    </div>
                </div>
            </div>
        </div>
    </section>


<?php $__env->stopSection(); ?>

<?php echo $__env->make('dashboard.layouts.blank', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH C:\xampp\htdocs\internal-real-estate\resources\views/dashboard/auth/reset-password.blade.php ENDPATH**/ ?>