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

<head>

    <title>Login User</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'; ?>

<!-- auth-page wrapper -->
<div class="auth-page-wrapper py-5 d-flex justify-content-center align-items-center min-vh-100">


    <!-- auth-page content -->

    <div class="auth-page-content overflow-hidden pt-lg-5">
        <div class="container">
            <div class="row justify-content-center">

                <div class="col-5">
                    <div class="card pt-5 pb-5 ps-3 pe-3">


                        <div class="card-body">
                            <div>

                                <div id="div-message" class="alert alert-danger" role="alert" style="display: none">

                                </div>
                                <div>


                                    <div class="mb-3">
                                        <label class="form-label"
                                               for="input-personal-email">Email Address</label>
                                        <input type="email" class="form-control"
                                               id="input-personal-email"
                                               placeholder="Enter your email address">
                                        <div class="invalid-feedback"
                                             id="feedback-personal-email">Write your email address
                                        </div>
                                    </div>

                                    <div class="mb-3">

                                       <!-- <div class="float-end">
                                            <a href="forgot.php" class="text-muted">Forgot password?</a>
                                        </div>-->

                                        <label class="form-label"
                                               for="input-password">Password</label>

                                        <input type="password" class="form-control"
                                               id="input-password"
                                               placeholder="Enter password">

                                        <div class="invalid-feedback"
                                             id="feedback-password">Write your password
                                        </div>

                                    </div>


                                </div>

                                <div class="d-flex justify-content-center mt-4">
                                    <button type="button" id="btn-continue" class="btn btn-success btn-label right  w-100">
                                        <i id="myIcon"  class="ri-arrow-right-line label-icon align-middle fs-16 ms-2"></i>Login
                                    </button>
                                </div>

                                <!--<div class="mt-3 text-center">
                                    <p class="mb-0">Don't have an account ? <a href="register.php" class="fw-semibold text-primary text-decoration-underline">Register</a> </p>
                                </div>-->


                            </div>
                        </div>

                        <!-- end card body ri-loader-2-line -->

                    </div>
                    <!-- end card -->
                    <!-- end card -->
                </div>
                <!-- end col -->

            </div>
            <!-- end row -->
        </div>
        <!-- end container -->
    </div>
    <!-- end auth page content -->

    <!-- footer -->
    <footer class="footer start-0">
        <div class="container">
            <div class="row">
                <div class="col-lg-12">
                    <div class="text-center">
                        <p class="mb-0">&copy;
                            <script>
                                document.write(new Date().getFullYear())
                            </script>
                            Areye. Crafted with <i class="mdi mdi-heart text-danger"></i>
                        </p>
                    </div>
                </div>
            </div>
        </div>
    </footer>
    <!-- end Footer -->
</div>
<!-- end auth-page-wrapper -->

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


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

<script src="assets/libs/sweetalert2/sweetalert2.min.js"></script>
<!-- password create init -->
<script src="assets/js/pages/login.init.js"></script>

</body>

</html>