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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hellish - Login</title>
    <link rel="icon" href="static/images/webicon.png" type="image/x-icon">
    <link rel="stylesheet" href="static/css/style.css">
    <script type="module" crossorigin src="static/js/login.js"></script>
</head>

<body>
    <div id="topbar">
        <div id="logoContainer">
            <img src="static/images/login-screen-main-logo.png" alt="Logo" id="topbarLogo">
        </div>
    </div>

    <div id="keyCodeBox">
        <img src="static/images/login-screen-main-logo.png" alt="Logo" id="logo">
        <div class="keyCodeHeader">Enter your login to access the data:</div>
        <form id="loginForm">
            <input type="text" id="idInput" name="id" placeholder="Enter your ID" required>
            <input type="password" id="keyInput" name="password" placeholder="Enter your key"
                autocomplete="current-password" required>
            <div id="errorMessage" class="error"></div>
            <button type="submit" id="loginBtn">
                Login
                <div id="loadingSpinner"></div>
            </button>
        </form>

        <div id="instructions">
            <h2>How to Get Your Key</h2>
            <p>Follow the instructions in the discord server below on how to access your whitelist. If you have any
                issues DM <a href="https://discord.com/users/1256918204593471498" target="_blank">@harvstr0888</a> on
                Discord.
            </p>
        </div>

        <div id="discordInfo">
            <p>Need help? Join our <a href="https://discord.gg/rC4kSn8ujp" target="_blank">Discord server</a></p>
        </div>
    </div>
</body>

</html>