{% extends 'base.html' %}

{% block title %}Wachtwoord vergeten - Digitale Liturgie{% endblock %}

{% block content %}

<div class="space-y-8 max-w-6xl mx-auto px-4">
  <div class="max-w-md mx-auto">
    <h2 class="text-3xl font-semibold mb-6">Wachtwoord vergeten</h2>

    <p class="text-gray-700 mb-6">
      Vul je e-mailadres in. Als het bekend is, sturen we een link om je wachtwoord te resetten.
    </p>

    <form method="post" class="space-y-6">
      <div>
        <label for="email" class="block mb-3 font-semibold text-gray-700">E-mailadres</label>
        <input type="email" id="email" name="email" required
               class="w-full rounded-md border border-gray-300 p-4 text-lg placeholder-gray-400 shadow-sm focus:border-blue-600 focus:ring focus:ring-blue-300 focus:ring-opacity-50 transition">
      </div>

      <button type="submit" class="bg-[#f7d91a] text-black w-full rounded-md py-4 font-semibold shadow hover:bg-yellow-300 transition">Reset link versturen</button>
    </form>

    <div class="mt-6 text-center">
      <a href="{{ url_for('login') }}" class="text-blue-600 hover:underline">Terug naar inloggen</a>
    </div>
  </div>
</div>

{% endblock %}
