{% extends "base.html" %}
{% block content %}
<div class="text-center py-5">
  <p class="text-uppercase text-muted small mb-2">Security Check Failed</p>
  <h1 class="display-6 mb-3">Session Expired or Invalid</h1>
  <p class="text-muted mb-4">Your session may have expired or the form submission was invalid. Please refresh the page and try again.</p>
  {% if reason %}
  <p class="text-danger small">{{ reason }}</p>
  {% endif %}
  <div class="d-flex flex-wrap justify-content-center gap-3">
    <a class="btn btn-primary" href="{{ url_for(endpoint="ui.buckets_overview") }}">Return to buckets</a>
  </div>
</div>
{% endblock %}
