<!DOCTYPE html>
<html lang="en">

    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <style>
            body {
                font-family: Arial, sans-serif;
                margin: 0;
                padding: 0;
                background-color: #f5f5f5;
            }

            .container {
                max-width: 600px;
                margin: 20px auto;
                background-color: #ffffff;
                border: 1px solid #dddddd;
                border-radius: 8px;
                box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
                overflow: hidden;
            }

            .header {
                background-color: #003366;
                color: #ffffff;
                padding: 20px;
                text-align: center;
            }

            .header img {
                max-width: 300px;
                margin-bottom: 10px;
            }

            .header h1 {
                margin: 0;
                font-size: 24px;
            }

            .content {
                padding: 20px;
            }

            .content dl {
                margin: 0 0 20px;
            }

            .content dt {
                font-weight: bold;
                color: #333333;
                margin-bottom: 5px;
            }

            .content dd {
                margin: 0 0 15px 15px;
                color: #333333;
                line-height: 1.6;
            }

            .content p {
                color: #333333;
                line-height: 1.6;
            }

            .footer {
                background-color: #f5f5f5;
                color: #333333;
                padding: 10px;
                text-align: center;
                font-size: 0.9em;
                border-top: 1px solid #dddddd;
            }
        </style>
    </head>

    <body>
        <div class="container">
            <div class="header">
                <img src="<?php echo e(asset(env('APP_LOGO'))); ?>" alt="Logo">
            </div>
            <div class="content">
                <p>Dear <?php echo e($user->first_name); ?> <?php echo e($user->last_name); ?>,</p>
                <p>Your card has been <?php echo e($action); ?>. Below are the details:</p>
                <dl>
                    <dt>Reference ID</dt>
                    <dd><?php echo e($card->reference_id); ?></dd>
                    <dt>Type</dt>
                    <dd><?php echo e($card->type->label()); ?></dd>
                    <dt>Card Number</dt>
                    <dd>**** **** **** <?php echo e(substr($card->card_number, -4)); ?></dd>
                    <dt>Status</dt>
                    <dd><?php echo e($card->status->label()); ?></dd>
                    <?php if($card->issued_at): ?>
                        <dt>Issued At</dt>
                        <dd><?php echo e($card->issued_at->format('d M Y')); ?></dd>
                    <?php endif; ?>
                </dl>
                <p>Thank you for using <?php echo e(env('APP_NAME')); ?>!</p>
            </div>
            <div class="footer">
                <p>&copy; <?php echo e(date('Y')); ?> <?php echo e(env('APP_NAME')); ?>. All rights reserved.</p>
            </div>
        </div>
    </body>

</html>
<?php /**PATH C:\xampp\htdocs\projects\online-banking-v6.0\resources\views/mail/card_notification.blade.php ENDPATH**/ ?>