{% extends 'base.html' %}
{% block content %}
<div class="card shadow-sm">
  <div class="card-body py-5 text-center">
    <h1 class="h3 mb-3">Ocurrió un error</h1>
    <p class="text-muted mb-4">{{ message }}</p>
    <a class="btn btn-primary" href="{{ url_for('dashboard' if current_user.is_authenticated else 'index') }}">Volver</a>
  </div>
</div>
{% endblock %}
