<?php
/**
 * Plan Limit StoreAgent admin notice template (non-dismissable).
 *
 * Shown on StoreAgent admin pages when plan limits are exceeded.
 *
 * @package SAAI
 *
 * @var string $plans_url The URL to the plans page.
 */

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

?>

<div class="notice notice-warning" data-notice-id="saai-plan-limit-sa" style="padding: 16px;">
    <h3 style="margin: 0 0 5px;">
        <?php esc_html_e( 'StoreAgent: Plan Limit Exceeded', 'storeagent-ai-for-woocommerce' ); ?>
    </h3>
    <p style="margin: 0 0 8px;">
        <?php esc_html_e( "You've exceeded the usage limit of your StoreAgent plan and your account has been paused. Please login to your account to upgrade to a higher plan.", 'storeagent-ai-for-woocommerce' ); ?>
    </p>
    <a href="<?php echo esc_url( $plans_url ); ?>" class="button button-primary" target="_blank" rel="noopener noreferrer">
        <?php esc_html_e( 'View Plans', 'storeagent-ai-for-woocommerce' ); ?>
    </a>
</div>
