                            <div class="card h-100">
                                <div class="card-body shadow">
                                    
                                    <div class="user-avatar-section pb-3">
                                        <div class="d-flex align-items-center flex-column">
                                            <?php if(Auth::user()->image != null): ?>
                                            <img class="img-fluid rounded mt-3 mb-2" src="<?php echo e(asset('uploads/user_img/'. Auth::user()->image )); ?>" height="110" width="110" alt="User avatar" />
                                            <?php else: ?>
                                            <img class="rounded" src="<?php echo e(asset('backend/app-assets/images/avatars/11.png')); ?>" alt="avatar" height="110" width="110">
                                            <?php endif; ?>
                                            
                                            <div class="user-info text-center mt-3">
                                                <h4 class="mb-0"><?php echo e(Auth::guard()->user()->name); ?></h4>
                                                <span class="badge bg-secondary text-light"><?php echo e(Auth::guard()->user()->role); ?></span>
                                            </div>
                                        </div>
                                    </div>
                                    

                                    <h4 class="fw-bolder border-bottom pb-3 mb-2">
                                        <a href="#" class="btn btn-primary custom-profile-security" data-bs-toggle="modal"
                                        data-bs-target="#updateSecurity">Security</a>
                                    </h4>
                                    <div class="info-container">
                                        <ul class="list-unstyled">
                                            <li class="mb-2">
                                                <span class="fw-bolder me-25">Name:</span>
                                                <span><?php echo e(Auth::guard()->user()->name); ?></span>
                                            </li>
                                            
                                            <li class="mb-2">
                                                <span class="fw-bolder me-25">Email:</span>
                                                <span><?php echo e(Auth::user()->email); ?></span>
                                            </li>

                                            <li class="mb-2">
                                                <span class="fw-bolder me-25">Mobile:</span>
                                                <span><?php echo e(Auth::user()->mobile); ?></span>
                                            </li>

                                        </ul>
                                    </div>
                                </div>
                            </div>

                            
                            <div class="modal fade" id="updateSecurity" tabindex="-1" data-bs-backdrop='static'>
                                <div class="modal-dialog modal-dialog-centered max-width-900px">
                                    <div class="modal-content">
                                        <div class="modal-header">
                                            <h1 class="modal-title fs-5" id="oneInputModalLabel">Password Update</h1>
                                            <button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
                                        </div>
                                        <form action="<?php echo e(route('admin.security.update')); ?>" method="post">
                                            <?php echo csrf_field(); ?>
                                            <div class="modal-body">
                                                <div class="row">
                                        
                                                    <div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 mb-1">
                                                        <div class="form-group">
                                                            <label for="old_password">Old Password <span class=" text-danger">(required)</span></label>
                                                            <input type="password" name="old_password" class="form-control" placeholder="Old Password" required>
                                                        </div>
                                        
                                                        <?php $__errorArgs = ['old_password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                        <span class=text-danger><?php echo e($message); ?></span>
                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                    </div>
                                        
                                                    <div class="col-12 col-sm-12 col-md-6 col-lg-6 col-xl-6 mb-1">
                                                        <div class="form-group">
                                                            <label for="new_password">New Password <span class=" text-danger">(required)</span></label>
                                                            <input type="password" name="new_password" class="form-control" placeholder="New Password" required>
                                                        </div>
                                        
                                                        <?php $__errorArgs = ['new_password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                        <span class=text-danger><?php echo e($message); ?></span>
                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                    </div>
                                        
                                                    <div class="col-12 col-sm-12 col-md-12 col-lg-12 col-xl-12 mb-1 mt-3">
                                                        <div class="form-group">
                                                            <label for="confirm_password">Confirm Password <span class=" text-danger">(required)</span></label>
                                                            <input type="password" name="confirm_password" class="form-control" placeholder="Confirm Password"
                                                                required>
                                                        </div>
                                        
                                                        <?php $__errorArgs = ['confirm_password'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                                                        <span class=text-danger><?php echo e($message); ?></span>
                                                        <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?>
                                                    </div>
                                        
                                                </div>
                                            </div>

                                            <div class="modal-footer">
                                                <button type="submit" class="btn btn-success">Update</button>
                                                <button type="button" class="btn btn-danger" data-bs-dismiss="modal">Cancel</button>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div><?php /**PATH E:\Project\Personal-Project\Office-Project\update\skin-care\resources\views/admin/profile/sidebar.blade.php ENDPATH**/ ?>