@page "/login"

<div class="auth-shell">
    <section class="card shadow-sm auth-card">
        <div class="card-body p-4">
            <h1 class="h3 mb-1">Login</h1>
            <p class="text-secondary mb-4">Sign in as admin or maintainer.</p>

            <form method="post" action="/auth/login">
                <input type="hidden" name="returnUrl" value="@ReturnUrl" />

                <div class="mb-3">
                    <label class="form-label" for="username">Username</label>
                    <input id="username" class="form-control" name="username" autocomplete="username" />
                </div>

                <div class="mb-4">
                    <label class="form-label" for="password">Password</label>
                    <input id="password" class="form-control" name="password" type="password" autocomplete="current-password" />
                </div>

                <button type="submit" class="btn btn-primary w-100">
                    Sign in
                </button>
            </form>
        </div>
    </section>
</div>
