<?php $locale = current_locale(); ?>
<section class="auth-shell">
    <div class="card auth-card">
        <p class="eyebrow"><?= e(trans('common.administrator', [], $locale)) ?></p>
        <h1><?= e(trans('admin.login_heading', [], $locale)) ?></h1>

        <form method="post" action="<?= e(base_url('/admin/login')) ?>" class="stack-form">
            <input type="hidden" name="_csrf" value="<?= e(csrf_token()) ?>">

            <label>
                <span><?= e(trans('participant.email', [], $locale)) ?></span>
                <input type="email" name="email" required>
            </label>

            <label>
                <span><?= e(trans('common.password', [], $locale)) ?></span>
                <input type="password" name="password" required>
            </label>

            <button class="primary-button auth-action-button" type="submit"><?= e(trans('common.sign_in', [], $locale)) ?></button>
            <a class="ghost-button auth-action-button" href="<?= e(base_url('/')) ?>">Back to Participant Page</a>
        </form>
    </div>
</section>