{% extends "allauth/layouts/entrance.html" %}
{% load i18n %}

{% block title %}{% trans "Sign Up Closed" %}{% endblock %}

{% block body_inner %}
<div class="bg-white max-w-md w-full sm:border sm:border-slate-200 sm:rounded-xl sm:shadow-2xs overflow-hidden">
  <div class="p-8 text-center">
    <span class="inline-flex items-center gap-2 rounded-full border border-blue-200 px-3 py-1 text-xs font-semibold text-blue-700">
      {% trans "Registration paused" %}
    </span>

    <h1 class="mt-4 text-2xl font-bold text-gray-900">
      {% trans "Sign ups are currently closed" %}
    </h1>

    <p class="mt-3 text-sm text-gray-600">
      {% blocktrans %}We're not accepting new accounts right now. If you already have access, you can still sign in.{% endblocktrans %}
    </p>

    <div class="mt-6">
      <a href="{% url 'account_login' %}"
         class="w-full inline-flex justify-center items-center rounded-lg bg-blue-600 px-4 py-3 text-sm font-medium text-white shadow-sm hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-2">
        {% trans "Sign in" %}
      </a>
    </div>

    {% if settings.PUBLIC_CONTACT_EMAIL %}
      <p class="mt-4 text-xs text-gray-500">
        {% blocktrans %}Need access? Contact us at{% endblocktrans %}
        <a href="mailto:{{ settings.PUBLIC_CONTACT_EMAIL }}" class="text-blue-600 hover:underline">{{ settings.PUBLIC_CONTACT_EMAIL }}</a>.
      </p>
    {% endif %}
  </div>
</div>
{% endblock %}
