<?php defined('ABSPATH') || exit; ?>
<div class="wrap">
    <div class="hpixl-securicheck-banner-container hpixl-securicheck-promo-banner"
        data-nonce="<?php echo esc_attr(wp_create_nonce('securicheck_hide_banner')); ?>">
        <div class="hpixl-securicheck-banner-content">
            <div class="hpixl-securicheck-banner-logo">
                <!-- Remplacez par le chemin de votre logo -->
                <img src="<?php echo HPIXL_SECURICHECK_PLUGIN_URL . 'images/securicheck.png'; ?>" alt="Securicheck">
            </div>
            <div class="hpixl-securicheck-banner-text">
                <p class="hpixl-securicheck-banner-title">🎉 <?php echo esc_html($config['titre']); ?></p>
                <p class="hpixl-securicheck-banner-offer">Jusqu'à <span class="hpixl-securicheck-highlight"><?php echo esc_html($config['promotion']); ?></span> sur toutes les licences Securicheck pro !</p>
                <p class="hpixl-securicheck-banner-benefit">Avec le code promo <span class="hpixl-securicheck-highlight"><?php echo esc_html($config['code_promotion']); ?></span></p>
                <p class="hpixl-securicheck-banner-benefit"><?php echo esc_html($config['message']); ?></p>
            </div>
            <div class="hpixl-securicheck-banner-cta">
                <button>
                    <a class="hpixl-securicheck-banner-link" target="_blank" href="<?php echo esc_url($config['cta_url']); ?>">
                        <?php echo esc_html($config['cta_label']); ?>
                    </a>
                </button>
            </div>
        </div>
        <p class="hpixl-securicheck-banner-conditions">Offre valable jusqu'au <?php echo esc_html($config['date_fin']); ?>. Voir conditions.</p>
        <button type="button"
            class="hpixl-securicheck-promo-dismiss dashicons dashicons-dismiss">
            <span class="screen-reader-text">Fermer</span>
        </button>
    </div>
</div>