<?php
defined("ALLOW") or exit('No direct script access allowed');
?>
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="Description" content="Hello i'm rabbit">
    <meta name="Keywords" content="rabbit">
    <meta name="Author" content="rabbit">
    <title>RABBIT</title>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.10.0/css/all.min.css" rel="stylesheet">
    <link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.4.1/font/bootstrap-icons.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Poppins:400,600&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css">
    <link href="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.33.1/sweetalert2.min.css" rel="stylesheet">
    <link href="<?= base_url() ?>RABBIT/Gens/images/favicon.ico" rel="icon">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&display=swap" rel="stylesheet">
    <style>
        body {
            font-family: "Figtree", serif;
        }
    </style>
</head>

<body style="background-color:black;">
    <header class="header text-center">
        <img style="margin-top:50px;" src="<?= base_url()?>RABBIT/Gens/images/logo-r.png" alt="" width="150">
    </header>

    <div class="content">
        <div class="content__inner">
            <div class="container overflow-hidden">
                <div class="multisteps-form">
                    <div class="row mt-2">
                        <div class="col-12 col-lg-6 m-auto">
                            <form method="post" action="process" class="multisteps-form__form">
                                <div class="multisteps-form__panel shadow p-4 rounded js-active" data-animation="slideHorz">
                                    <div class="multisteps-form__content">
                                        <div class="mb-4">
                                            <h3 class="text-center text-white mb-3">HELLO I'M RABBIT</h3>
                                            <div class="form-floating text-center">
                                                <input style="outline:gray; border: 2px solid white; border-radius:20px;" type="password" name="token" class="form-control p-3 bg-dark text-white text-center" autofocus="true" placeholder="LOGIN KEY">
                                            </div>
                                        </div>
                                        <div class="d-grid text-center">
                                            <button style="letter-spacing:3px; padding: 13px; border-radius: 50px; font-weight:bold; border:2px solid white;" type="submit" name="action" class="btn btn-transparent text-white d-block w-100"> SIGN IN</button>
                                        </div>
                                         <div class="text-center mt-4">
                                            <p class="text-white">Powered by <a style="text-decoration: none; font-weight: bold;" class="text-danger" href="#"> Rabbit 🐰</a> <br>
                                            &copy; 2025 - All Right Reserved </p>
                                        </div>
                                    </div>
                            </form>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>


    <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ho+j7jyWK8fNQe+A12Hb8AhRq26LrZ/JpcUGGOn+Y7RsweNrtN/tE3MoK7ZeZDyx" crossorigin="anonymous"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/limonte-sweetalert2/7.33.1/sweetalert2.min.js"></script>
    <script src="<?= base_url() ?>RABBIT/Gens/js/rb.install.script.js"></script>
    <?php if (@$_SESSION['sukses']) { ?>
        <script>
            <?php echo $_SESSION['sukses']; ?>
        </script>
    <?php unset($_SESSION['sukses']);
    } ?>
</body>

</html>