{% extends 'layout.twig' %}

{% block title %}No access — IRDB{% endblock %}

{% block guest_content %}
<div class="flex min-h-screen items-center justify-center bg-slate-50 px-4 dark:bg-slate-950">
    <div class="w-full max-w-md rounded-2xl border border-slate-200 bg-white p-8 text-center shadow-sm dark:border-slate-800 dark:bg-slate-900">
        <h1 class="text-2xl font-semibold tracking-tight">No access</h1>
        <p class="mt-2 text-sm text-slate-600 dark:text-slate-400">
            Your account signed in successfully, but it isn't mapped to an IRDB role.
            Ask an administrator to add your group to the role mapping table, then try again.
        </p>
        <div class="mt-6 flex justify-center gap-3">
            <a href="/login" class="rounded-md border border-slate-300 bg-white px-4 py-2 text-sm font-medium text-slate-700 hover:bg-slate-50 dark:border-slate-700 dark:bg-slate-900 dark:text-slate-200 dark:hover:bg-slate-800">Back to sign-in</a>
        </div>
    </div>
</div>
{% endblock %}
