<?php
include('includes/config.php');


?>

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

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?php echo $ahkweb['name']; ?> | Forgot Password</title>

    <link rel="stylesheet"
        href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700&display=fallback">

    <link rel="stylesheet" href="./crs/plugins/fontawesome-free/css/all.min.css">
    <link rel="stylesheet" href="./crs/plugins/icheck-bootstrap/icheck-bootstrap.min.css">
    <link rel="stylesheet" href="./crs/dist/css/adminlte.min.css">

    <style>
        body.login-page {
            background: linear-gradient(135deg, #0f172a, #1e293b);
            min-height: 100vh;
        }

        .login-box {
            width: 420px;
        }

        .login-logo a {
            color: #fff;
            font-size: 32px;
            font-weight: 700;
            text-decoration: none;
        }

        .card {
            border: none;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 15px 40px rgba(0, 0, 0, .25);
        }

        .login-card-body {
            padding: 35px;
        }

        .login-box-msg {
            font-size: 15px;
            color: #6b7280;
            margin-bottom: 25px;
            line-height: 1.6;
        }

        .form-control {
            height: 50px;
            border-radius: 8px;
        }

        .input-group-text {
            border-radius: 0 8px 8px 0;
        }

        .btn-primary {
            height: 48px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 15px;
            transition: .3s;
        }

        .btn-primary:hover {
            transform: translateY(-2px);
        }

        .back-login {
            text-align: center;
            margin-top: 20px;
        }

        .back-login a {
            text-decoration: none;
            font-weight: 600;
            color: #007bff;
        }

        .icon-box {
            text-align: center;
            margin-bottom: 20px;
        }

        .icon-box i {
            font-size: 55px;
            color: #007bff;
        }

        @media(max-width:500px) {
            .login-box {
                width: 95%;
            }

            .login-card-body {
                padding: 25px;
            }
        }
    </style>
</head>

<body class="hold-transition login-page">

    <div class="login-box">

        <div class="login-logo">
            <a href="index.php">
                <b>Forgot Password</b>
            </a>
        </div>

        <div class="card">

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

                <div class="icon-box">
                    <i class="fas fa-key"></i>
                </div>

                <p class="login-box-msg">
                    Enter your registered Email, Mobile Number or User ID.
                    We will send a One-Time Password (OTP) to verify your account.
                </p>

                <form action="recover-password" method="POST">

                    <input type="hidden"
                        name="fsecret"
                        value="ahkwebsolutions_reset">

                    <div class="input-group mb-4">

                        <input type="text"
                            name="username"
                            class="form-control"
                            placeholder="Email, Mobile or User ID"
                            required>

                        <div class="input-group-append">
                            <div class="input-group-text">
                                <span class="fas fa-user-circle"></span>
                            </div>
                        </div>

                    </div>

                    <button type="submit"
                        class="btn btn-primary btn-block">
                        <i class="fas fa-paper-plane mr-2"></i>
                        Request OTP
                    </button>

                </form>

                <div class="back-login">
                    <a href="general-public">
                        <i class="fas fa-arrow-left"></i>
                        Back to Login
                    </a>
                </div>

            </div>

        </div>

    </div>

    <script src="./crs/plugins/jquery/jquery.min.js"></script>
    <script src="./crs/plugins/bootstrap/js/bootstrap.bundle.min.js"></script>
    <script src="./crs/dist/js/adminlte.min.js"></script>

</body>

</html>

