<?xml version="1.0" encoding="utf-8"?>
<templates xml:space="preserve">

    <t t-name="fusion_poynt.PoyntPollAction">
        <div class="o_action p-4">
            <div class="alert alert-info d-flex align-items-center gap-3 mb-4">
                <span class="spinner-border spinner-border-sm" role="status"/>
                <div>
                    <strong>Waiting for terminal response...</strong>
                    <div class="text-muted small mt-1">
                        Auto-checking every 5 seconds
                        (<t t-esc="state.seconds"/>s elapsed)
                    </div>
                </div>
            </div>
            <div class="d-flex gap-2">
                <button class="btn btn-primary" t-on-click="onManualCheck">
                    Check Now
                </button>
                <button class="btn btn-secondary" t-on-click="onCancel">
                    Cancel Payment
                </button>
            </div>
        </div>
    </t>

</templates>
