<!doctype html>
<html lang="en">

<head>

    <meta charset="utf-8" />
    <title>Reset Password | <?= $settings['name'] ?> - <?= $settings['description'] ?></title>
    <meta content="<?= $settings['description'] ?>" name="description" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <meta content="Complete Tasks, Get Rewards" name="description" />
    <meta content="Earnviv" name="author" />
    <!-- App favicon -->
    <link rel="shortcut icon" href="/assets/images/favicon.ico">

    <!-- Bootstrap Css -->
    <link href="/assets/css/bootstrap-dark.min.css?v=4.4.4" id="bootstrap-style" rel="stylesheet" type="text/css" />
	<link href="/assets/css/app-dark.min.css?v=4.4.4" id="bootstrap-style" rel="stylesheet" type="text/css" />    <!-- Icons Css -->
    <link href="/assets/css/icons.min.css?v=4.4.4" rel="stylesheet" type="text/css" />
    <link href="/assets/css/styles.css?v=4.4.4" rel="stylesheet" type="text/css" />
<style>


.circles{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.circles li{
    position: absolute;
    display: block;
    list-style: none;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    animation: animate 25s linear infinite;
    bottom: -150px;
    
}

.circles li:nth-child(1){
    left: 25%;
    width: 80px;
    height: 80px;
    animation-delay: 0s;
}


.circles li:nth-child(2){
    left: 10%;
    width: 20px;
    height: 20px;
    animation-delay: 2s;
    animation-duration: 12s;
}

.circles li:nth-child(3){
    left: 70%;
    width: 20px;
    height: 20px;
    animation-delay: 4s;
}

.circles li:nth-child(4){
    left: 40%;
    width: 60px;
    height: 60px;
    animation-delay: 0s;
    animation-duration: 18s;
}

.circles li:nth-child(5){
    left: 65%;
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.circles li:nth-child(6){
    left: 75%;
    width: 110px;
    height: 110px;
    animation-delay: 3s;
}

.circles li:nth-child(7){
    left: 35%;
    width: 150px;
    height: 150px;
    animation-delay: 7s;
}

.circles li:nth-child(8){
    left: 50%;
    width: 25px;
    height: 25px;
    animation-delay: 15s;
    animation-duration: 45s;
}

.circles li:nth-child(9){
    left: 20%;
    width: 15px;
    height: 15px;
    animation-delay: 2s;
    animation-duration: 35s;
}

.circles li:nth-child(10){
    left: 85%;
    width: 150px;
    height: 150px;
    animation-delay: 0s;
    animation-duration: 11s;
}



@keyframes animate {

    0%{
        transform: translateY(0) rotate(0deg);
        opacity: 1;
        border-radius: 0;
    }

    100%{
        transform: translateY(-1000px) rotate(720deg);
        opacity: 0;
        border-radius: 50%;
    }

}
.btn-primary {
  border-radius: 0.8rem;
  font-weight: 500;
  height: calc(1.8em + 0.94rem + 4px);

}

.bg-light {
    background-color: #0f0f0f!important;
}
.form-control {
    font-weight: 500;
    border-radius: 0.7rem;
    background-color: #0f0f0f;
    border: 1px solid #1e1e1e;
    height: calc(1.8em + 0.94rem + 4px);
    font-size: .9rem;
}
body {
    background-color: #000000;
}
.card {
    background-color: rgb(19 19 19 / 88%);
    border: 0 solid rgb(19 19 19 / 88%);
}
.alert-danger {
    color: #dc4c4c;
    background-color: #3e3d3d8f;
    border-color: #121212;
}

</style>
<style>
    .captchaxx {
    display: none;
}
</style>
</head>

<body>

            <ul class="circles">
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
                    <li></li>
            </ul>
    
    <div class="account-pages my-4 pt-sm-6">
        <div class="container">
            <div class="row justify-content-center">
                <div class="col-md-8 col-lg-6 col-xl-5">
                    <div class="card overflow-hidden" style="border-radius: 1rem;">
                        <div style="background-color: #7024de;
background-image: linear-gradient(161deg, #7024de 0%, #80D0C7 100%);
">
                            <div class="row">
                                <div class="col-7">
                                    <div class="text-white p-4">
                                        <h5 class="text-white">Reset password !</h5>
                                        <p>Re-Password with <?= $settings['name'] ?></p>
                                    </div>
                                </div>
                                <div class="col-5 align-self-end">
                                    <img src="/img/formbanner.png" width="65%"  alt="" class="img-fluid">
                                </div>
                            </div>
                        </div>
                        <div class="card-body pt-0">
                            <div>
                                <a href="login.htm#">
                                    <div class="avatar-md profile-user-wid mb-4">
                                        <span class="avatar-title rounded-circle bg-light">
                                            <img src="/img/security.png" alt="" class="rounded-circle" height="34">
                                        </span>
                                    </div>
                                </a>
                            </div>
                            <div class="p-2">
                                <?php
                                if (isset($_SESSION['message'])) {
                                    echo $_SESSION['message'];
                                }
                                ?>
                                <form class="form-horizontal" action="<?= site_url('auth/forgot_password') ?>" method="POST">

                                    <input type="hidden" name="<?= $csrf_name ?>" value="<?= $csrf_hash ?>">

                                    <div class="form-group">
                                        <label for="email">Email</label>
                                        <input type="email" class="form-control" id="email" name="email" placeholder="Enter email">
                                    </div>

                                    <center>
                                        <?= $captcha_display ?>
                                    </center>

                                    <div class="form-group row mb-0">
                                        <div class="col-12 text-right">
                                            <button class="btn btn-primary w-md waves-effect waves-light" type="submit">Reset</button>
                                        </div>
                                    </div>

                                </form>
                            </div>

                        </div>
                    </div>
                     <div class="mt-5 text-center">

                        <div>
						Already have an account ? <a href="/login" class="font-weight-medium text-primary">Login</a>
                            <small class="mb-2">&copy 2023 <a href="/"><?= $settings['name'] ?></a> |  Server Time: 14:38.</small>
                        </div>
                    </div>

                </div>
            </div>
        </div>
    </div>
    <div>
        <div><a></a></div>
    </div>
    
    <!-- JAVASCRIPT -->
    <script src="/assets/libs/jquery/jquery.min.js"></script>
    <script src="/assets/libs/bootstrap/js/bootstrap.bundle.min.js"></script>
    <script src="/assets/libs/metismenu/metisMenu.min.js"></script>
    <script src="/assets/libs/simplebar/simplebar.min.js"></script>
    <script src="/assets/libs/node-waves/waves.min.js"></script>
    <script src="/assets/js/app.js?v=4.4.4"></script>
    <script src="/assets/js/vie/captcha.js"></script>
    
</body>

</html>