<?php

use yii\helpers\Html;

/* @var $this yii\web\View */
/* @var $name string */
/* @var $message string */
/* @var $urgent bool */

$this->title = 'System Notification';
?>

<h2><?= $urgent ? '\ud83d\udea8 Urgent: ' : '' ?>System Notification</h2>

<p>Hello <?= Html::encode($name) ?>,</p>

<p>We have an important update regarding your account:</p>

<div style="background: <?= $urgent ? '#fff3cd' : '#d1ecf1' ?>; padding: 20px; border-radius: 5px; margin: 20px 0; border-left: 4px solid <?= $urgent ? '#ffc107' : '#17a2b8' ?>;">
    <?= Html::encode($message) ?>
</div>

<?php if ($urgent): ?>
<p style="color: #dc3545; font-weight: bold;">This message requires immediate attention. Please review and take necessary action.</p>
<?php endif; ?>

<p>If you have any questions or concerns, please contact our support team immediately.</p>

<p>Thank you for your attention.</p>

<p>Best regards,<br>
The Team</p>
