<div class="container min-vh-100 d-flex align-items-center justify-content-center py-5">
    <div class="card auth-card shadow-lg border-0">
        <div class="card-body p-4 p-lg-5">
            <div class="mb-4 text-center">
                <span class="badge text-bg-dark mb-3">Acesso restrito</span>
                <h1 class="h3 fw-bold mb-2">Painel administrativo</h1>
                <p class="text-muted mb-0">Entre com as credenciais do RH.</p>
            </div>
            <?php if (!empty($errors['login'])): ?><div class="alert alert-danger"><?= e($errors['login']) ?></div><?php endif; ?>
            <form method="post" action="<?= e(baseUrl('admin/login')) ?>">
                <?= csrf_field() ?>
                <div class="mb-3">
                    <label class="form-label">E-mail</label>
                    <input type="email" name="email" class="form-control" value="<?= e(old('email')) ?>" required>
                </div>
                <div class="mb-4">
                    <label class="form-label">Senha</label>
                    <input type="password" name="password" class="form-control" required>
                </div>
                <button class="btn btn-dark w-100">Entrar</button>
            </form>
        </div>
    </div>
</div>
