<?php
/**
 * Bulk run agent admin notice template.
 *
 * @package SAAI
 */

if ( ! defined( 'ABSPATH' ) ) {
    die( 'You are not allowed to call this page directly.' );
}
?>

<div class="notice notice-info" style="display: flex; align-items: center; gap: 10px; padding: 10px;">
    <img src="<?php echo esc_url( SAAI_PLUGIN_URL . 'static/images/storeagent-icon.png' ); ?>" alt="StoreAgent Icon" style="width: 50px; height: 50px;">
    <div class="saai-bulk-run-agent-admin-notice-content">
        <h3 style="display: flex; align-items: center; gap: 10px; margin: 0 0 5px;">
            <span><?php esc_html_e( 'StoreAgent: Bulk Action Running', 'storeagent-ai-for-woocommerce' ); ?></span>
            <span class="spinner is-active" style="margin: 0;"></span>
        </h3>
        <?php foreach ( $notices as $message ) : ?>
            <p style="margin: 0;"><?php echo wp_kses_post( $message ); ?></p>
        <?php endforeach; ?>
    </div>
</div>
