<?php
/**
 * Sandbox Banner Template.
 *
 * @since 1.0.0
 *
 * @var string $original_to The original recipient email address.
 *
 * @package NimblyMail\SMTP
 */

defined( 'ABSPATH' ) || exit;
?>
<div style="background-color: #fffbe6; border: 1px solid #ffe58f; padding: 16px; margin: 0 0 24px 0; font-family: sans-serif; border-radius: 8px; line-height: 1.5;">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <tr>
            <td width="32" style="font-size: 24px; vertical-align: top; padding-top: 2px;">🛡️</td>
            <td style="padding-left: 12px;">
                <strong style="color: #856404; display: block; font-size: 16px; margin-bottom: 4px;"><?php esc_html_e( 'NimblyMail Sandbox', 'nimblymail-smtp' ); ?></strong>
                <span style="color: #856404; font-size: 14px;">
                    <?php esc_html_e( 'This email was intercepted and redirected. Original recipient:', 'nimblymail-smtp' ); ?>
                    <code style="background: rgba(0,0,0,0.05); padding: 2px 4px; border-radius: 3px; font-family: monospace;"><?php echo esc_html( $original_to ); ?></code>
                </span>
            </td>
        </tr>
    </table>
</div>
