{% extends 'base.html' %}

{% block content %}
<div class="confirmed">
    <div class="confirmation-card">
        <h2 class="title-org">Payment</h2>
        <p class="info-p">
            Click the button below to pay and access your document.
        </p>
        <form method="post">
            {% csrf_token %}
            <button class="btn-primary-orn" type="submit">Pay</button>
        </form>
    </div>
</div>

<script>
    nav = document.querySelector('nav');
    confirmed = document.querySelector('.confirmed');
    confirmed.style.height = `calc(100vh - ${nav.offsetHeight}px)`;
</script>

{% endblock %}