<?php $__env->startSection('content'); ?>
    <section class="breadcrumb-area">
        <div class="container">
            <div class="breadcrumb-area-content">
                <h3 class="breadcrumb-area-title"><?php echo app('translator')->get('Profile Settings'); ?></h3>
                <p class="breadcrumb-area-desc mt-3">
                    <?php echo app('translator')->get('Update your profile information and manage your account settings.'); ?>
                </p>
            </div>
        </div>
    </section>

    <section class="py-60">
        <div class="container">
            <div class="row justify-content-center gy-4">
                <div class="col-md-4">
                    <div class="card custom--card">
                        <div class="card-header">
                            <h5 class="card-title"><?php echo app('translator')->get('Profile Information'); ?></h5>
                        </div>
                        <div class="card-body p-0">
                            <ul class="list-group list-group-flush">
                                <li class="list-group-item flex-between gap-2">
                                    <p><?php echo app('translator')->get('Firstname'); ?></p>
                                    <p class="fw-medium text--dark"><?php echo e($user->firstname); ?></p>
                                </li>
                                <li class="list-group-item flex-between gap-2">
                                    <p><?php echo app('translator')->get('Lastname'); ?></p>
                                    <p class="fw-medium text--dark"><?php echo e($user->lastname); ?></p>
                                </li>
                                <li class="list-group-item flex-between gap-2">
                                    <p><?php echo app('translator')->get('Email'); ?></p>
                                    <p class="fw-medium text--dark"><?php echo e($user->email); ?></p>
                                </li>
                                <li class="list-group-item flex-between gap-2">
                                    <p><?php echo app('translator')->get('Mobile'); ?></p>
                                    <p class="fw-medium text--dark"><?php echo e($user->mobile); ?></p>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>

                <div class="col-md-8">
                    <div class="card custom--card">
                        <div class="card-header">
                            <h5 class="card-title"><?php echo app('translator')->get('Profile'); ?></h5>
                        </div>
                        <div class="card-body">
                            <form class="register" method="post" enctype="multipart/form-data">
                                <?php echo csrf_field(); ?>
                                <div class="row gy-4">
                                    <div class="col-12">
                                        <div class="image-uploader imageUploader">
                                            <label class="image-uploader-preview">
                                                <img src="<?php echo e(getImage(getFilePath('userProfile') . '/' . ($user->image ?? ''), getFileSize('userProfile'))); ?>" class="imagePreview" alt="Preview" />
                                                <span class="icon">
                                                    <i class="fa-solid fa-plus"></i>
                                                </span>
                                                <input type="file" name="image" class="d-none imageInput" accept=".jpg, .jpeg, .png" />
                                            </label>
                                            <div class="image-uploader-content">
                                                <p class="title"><?php echo app('translator')->get('Image'); ?></p>
                                                <p class="note fs-14"><?php echo app('translator')->get('Supported formats'); ?>: <?php echo app('translator')->get('PNG'); ?>,
                                                    <?php echo app('translator')->get('JPG'); ?>, <?php echo app('translator')->get('JPEG'); ?></p>
                                            </div>
                                        </div>
                                    </div>
                                    <div class="col-12">
                                        <label class="form--label style-two"><?php echo app('translator')->get('First Name'); ?></label>
                                        <input type="text" class="form--control md-style" name="firstname" value="<?php echo e($user->firstname); ?>" required>
                                    </div>
                                    <div class="col-12">
                                        <label class="form--label style-two"><?php echo app('translator')->get('Last Name'); ?></label>
                                        <input type="text" class="form--control md-style" name="lastname" value="<?php echo e($user->lastname); ?>" required>
                                    </div>
                                    <div class="col-12">
                                        <button type="submit" class="btn btn--base btn--md w-100"><?php echo app('translator')->get('Submit'); ?></button>
                                    </div>
                                </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('style'); ?>
    <style>
        .image-uploader-preview img {
            border: 1px solid hsl(var(--border-color) / .5);
        }
    </style>
<?php $__env->stopPush(); ?>

<?php echo $__env->make($activeTemplate . 'layouts.frontend', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\laragon\www\projects\custom_viserdesk\Files\core\resources\views/templates/basic/user/profile_setting.blade.php ENDPATH**/ ?>