<%- include('partials/header') %>
<%- include('partials/nav') %>

<main class="flex-grow flex items-center justify-center px-4 sm:px-6 py-16">
  <div class="max-w-md w-full text-center bg-white p-8 rounded-2xl border border-sky-100 shadow-sm">
    <div class="w-12 h-12 bg-red-50 text-red-500 rounded-full flex items-center justify-center mx-auto mb-4 text-xl">🔒</div>
    <h1 class="text-xl font-bold text-slate-900">Access restricted</h1>
    <p class="mt-2 text-sm text-slate-600">
      Your account doesn't currently have access to the
      <span class="font-semibold capitalize"><%= channel %></span> channel.
    </p>
    <p class="mt-1 text-sm text-slate-500">Ask an admin to enable it for you from the Admin panel.</p>
    <a href="/dashboard" class="mt-6 inline-flex items-center px-4 py-2 text-sm font-semibold text-white bg-brand-500 hover:bg-brand-600 rounded-xl shadow-sm transition">
      ← Back to Dashboard
    </a>
  </div>
</main>

<%- include('partials/footer') %>
