<?php

global $SEOAIC;

defined('ABSPATH') || exit;

?>
<div id="dashboard-captured-leads" class="seoaic-modal">
    <div class="seoaic-modal-background seoaic-modal-close"></div>
    <div class="seoaic-popup seoaic-w-50-important">
        <div class="seoaic-popup__header">
            <span class="seoaic-modal-close">
                <svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
                    <path d="M1 1L15 15M15 1L1 15" stroke="#F1EBF7" stroke-width="2"/>
                </svg>
            </span>
            <h3 class="modal-title" data-title="<?php esc_html_e('Captured Leads', 'seoaic');?>"></h3>
        </div>
        <div class="seoaic-popup__content">
            <div class="d-flex justify-end mb-10">
                <button id="seoaic_leads_export_csv" class="seoaic-gradient-btn">Export CSV</button>
            </div>
            <?php $SEOAIC->leadsAddon->makeLeadsTableHTML();?>
        </div>
        <div class="seoaic-popup__footer">
            <button type="button" class="seoaic-popup__btn seoaic-modal-close"><?php esc_html_e('Close', 'seoaic');?></button>
        </div>
    </div>
</div>
