<?php include 'layouts/session.php'; ?>
<?php include 'layouts/head-main.php'; ?>

<head>

    <title>Profile</title>
    <?php include 'layouts/title-meta.php'; ?>
    <link href="assets/libs/sweetalert2/sweetalert2.min.css" rel="stylesheet" type="text/css" />
    <?php include 'layouts/head-css.php'; ?>

</head>

<?php include 'layouts/body.php'; ?>

<!-- Begin page -->
<div id="layout-wrapper">

    <?php include 'layouts/menu.php'; ?>

    <!-- ============================================================== -->
    <!-- Start right Content here -->
    <!-- ============================================================== -->
    <div class="main-content">

        <div class="page-content">
            <div class="container-fluid">

                <!-- start page title -->
                <div class="row">
                    <div class="col-12">
                        <div class="page-title-box d-sm-flex align-items-center justify-content-between">
                            <h4 class="mb-sm-0">Profile</h4>
                            <div class="page-title-right">
                                <ol class="breadcrumb m-0">
                                    <li class="breadcrumb-item"><a href="javascript: void(0);">Profile</a></li>
                                    <li class="breadcrumb-item active">Configuration</li>
                                </ol>
                            </div>

                        </div>
                    </div>
                </div>
                <!-- end page title -->

                <div class="row">

                    <div class="col-12">

                        <div class="card" style="height: 300px">

                            <div class="card-body">

                                <div class="row">

                                    <div class="col-6">


                                        <div type="button"
                                             class="d-flex flex-row border border-1 rounded-3 p-3 align-items-center mt-4"
                                             data-bs-toggle="offcanvas" data-bs-target="#offCanvasPassword"
                                             aria-controls="offcanvasRight">

                                            <div class="avatar-md">
                                                <div class="avatar-title bg-white rounded">
                                                    <img src="assets/images/custom/ic_password.png"
                                                         id="product-img"
                                                         class="avatar-md h-auto">
                                                </div>
                                            </div>

                                            <div class="d-flex flex-column ps-3 w-75">
                                                <p class="fs-6 fw-semibold mb-1">Account Credentials</p>
                                                <p class="fs-6 fw-light mb-0" style="font-size: small !important ">
                                                    You can update your <span class="fw-medium">password</span>
                                                    credentials , so that you would manage your account security
                                                </p>
                                            </div>

                                            <div class="ms-5"><i class="ri-arrow-right-s-line ri-xl"></i></div>


                                        </div>

                                    </div>

                                    <div class="col-6">




                                    </div>

                                </div>

                                <!-- password offcanvas -->
                                <div class="offcanvas offcanvas-end" tabindex="-1" id="offCanvasPassword"
                                     aria-labelledby="offcanvasRightLabel">

                                    <div class="offcanvas-header border-bottom">
                                        <h5 class="offcanvas-title" id="offcanvasRightLabel">Configure Password</h5>
                                        <button type="button" class="btn-close text-reset" data-bs-dismiss="offcanvas"
                                                aria-label="Close" id="btn-close-password"></button>
                                    </div>

                                    <div class="offcanvas-body p-0 overflow-hidden">
                                        <div data-simplebar style="height: calc(100vh - 112px);">
                                            <div class="d-flex flex-column p-3">

                                                <label class="form-label" for="input-password">Old Password</label>
                                                <input class="form-control" type="password" id="input-old-password"
                                                       placeholder="Old Password">

                                                <label class="form-label mt-3" for="input-password">Password</label>
                                                <input class="form-control" type="password" id="input-password"
                                                       placeholder="Password">

                                                <label class="form-label mt-3" for="input-update-password">Update
                                                    Password</label>
                                                <input class="form-control" type="password" id="input-update-password"
                                                       placeholder="Update Password">


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

                                    <div class="offcanvas-foorter border-top p-3 text-center">
                                        <button class="btn btn-success w-50 align-self-center"
                                                type="submit" id="btn-update-password">Update
                                        </button>
                                    </div>


                                </div>

                            </div>

                        </div>

                    </div>

                </div>

            </div>
            <!-- container-fluid -->
        </div>
        <!-- End Page-content -->

        <?php include 'layouts/footer.php'; ?>

    </div>
    <!-- end main content-->

</div>
<!-- END layout-wrapper -->


<?php include 'layouts/customizer.php'; ?>

<?php include 'layouts/vendor-scripts.php'; ?>

<?php include 'layouts/utility-scripts.php'; ?>

<?php include 'layouts/realtime-db-scripts.php'; ?>

<script src="assets/libs/moment/moment.js"></script>
<script src="assets/libs/sweetalert2/sweetalert2.min.js"></script>

<script src="assets/js/pages/profile.init.js"></script>

<!-- App js -->
<script src="assets/js/app.js"></script>

</body>

</html>