{% extends "base.html" %}
{% block title %}{{ t.export_gen_title }} - {{ config.APP_NAME }}{% endblock %}

{% block content %}
<main class="container-page" style="max-width:500px;margin:0 auto;padding:4rem 1rem;text-align:center">
  <div style="font-size:2rem;margin-bottom:1rem;animation:spin 1s linear infinite;display:inline-block">&#9696;</div>
  <h1 style="font-size:1.5rem;margin-bottom:0.5rem">{{ t.export_gen_title }}</h1>
  <p style="color:#64748B;margin-bottom:2rem">{{ t.export_gen_subtitle }}</p>

  <button onclick="window.location.reload()" class="btn-outline">{{ t.export_gen_refresh }}</button>

  <p style="margin-top:2rem">
    <a href="{{ url_for('planner.export') }}" style="color:#1D4ED8;font-size:0.875rem">{{ t.export_gen_all }}</a>
  </p>
</main>
{% endblock %}

{% block scripts %}
<script>setTimeout(function(){ window.location.reload(); }, 5000);</script>
{% endblock %}
