<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>microauthd PKCE Demo</title>
    <link rel="stylesheet" href="style.css" />
</head>
<body>
    <div class="container">
        <h1>PKCE Login Demo</h1>

        <label>Username: <input id="username" /></label>
        <label>Password: <input id="password" type="password" /></label>
        <label id="totp-label" style="display:none;">TOTP Code: <input id="totp" /></label>

        <button id="login-btn">Login</button>

        <pr