<?php $attributes ??= new \Illuminate\View\ComponentAttributeBag;

$__newAttributes = [];
$__propNames = \Illuminate\View\ComponentAttributeBag::extractPropNames(([
    'subject' => 'Notification',
    'headerTitle' => config('app.name'),
    'headerUrl' => '#',
    'transaction' => null,
    'transactionMessage' => '',
    'url' => '#',
    'privacyPolicyUrl' => '#',
    'termsOfServiceUrl' => '#',
    'unsubscribeUrl' => '#',
]));

foreach ($attributes->all() as $__key => $__value) {
    if (in_array($__key, $__propNames)) {
        $$__key = $$__key ?? $__value;
    } else {
        $__newAttributes[$__key] = $__value;
    }
}

$attributes = new \Illuminate\View\ComponentAttributeBag($__newAttributes);

unset($__propNames);
unset($__newAttributes);

foreach (array_filter(([
    'subject' => 'Notification',
    'headerTitle' => config('app.name'),
    'headerUrl' => '#',
    'transaction' => null,
    'transactionMessage' => '',
    'url' => '#',
    'privacyPolicyUrl' => '#',
    'termsOfServiceUrl' => '#',
    'unsubscribeUrl' => '#',
]), 'is_string', ARRAY_FILTER_USE_KEY) as $__key => $__value) {
    $$__key = $$__key ?? $__value;
}

$__defined_vars = get_defined_vars();

foreach ($attributes->all() as $__key => $__value) {
    if (array_key_exists($__key, $__defined_vars)) unset($$__key);
}

unset($__defined_vars, $__key, $__value); ?>
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?php echo e($subject); ?></title>
    <style>
        body {
            margin: 0;
            padding: 0;
            background-color: #f5f7fa;
            font-family: Arial, sans-serif;
            -webkit-text-size-adjust: none;
        }

        a {
            text-decoration: none;
            transition: all 0.3s ease;
        }

        @media(prefers-color-scheme: dark) {
            body {
                background-color: #0a0a0a;
                color: #ffffff;
            }

            table {
                background-color: #121212 !important;
            }
        }
    </style>
</head>

<body>
    <table role="presentation" width="100%" cellpadding="0" cellspacing="0" style="padding:40px 0;">
        <tr>
            <td align="center">
                <table role="presentation" width="600" cellpadding="0" cellspacing="0"
                    style="width:100%; max-width:600px; background-color:#ffffff; border-radius:12px; box-shadow:0 6px 20px rgba(0,0,0,0.08); overflow:hidden;">

                    <!-- Header -->
                    <tr>
                        <td align="center" style="background-color:#002b5c; padding:24px 0;">
                            <a href="<?php echo e($headerUrl ?? '#'); ?>" style="text-decoration:none;">
                                <h1
                                    style="margin:0; font-weight:800; font-size:22px; color:#ffffff; letter-spacing:1px;">
                                    <?php echo e(strtoupper($headerTitle ?? config('app.name'))); ?>

                                </h1>
                            </a>
                        </td>
                    </tr>

                    <!-- Main Content -->
                    <tr>
                        <td style="padding:40px; color:#333333;"><?php echo $slot; ?>

                        </td>
                    </tr>

                    <!-- Footer -->
                    <tr>
                        <td align="center" style="padding: 20px 40px 40px 40px; font-size: 12px; color: #999;">
                            <p style="margin:0;">&copy;
                                <?php echo e(date('Y')); ?>

                                <?php echo e(config('app.name')); ?>

                                . All rights reserved.
                            </p>

                            <p style="margin: 5px 0 10px 0;"> <a href="<?php echo e($privacyPolicyUrl ?? '#'); ?>"
                                    style="color:#999; text-decoration: underline;">Privacy Policy</a>
                                |
                                <a href="<?php echo e($termsOfServiceUrl ?? '#'); ?>"
                                    style="color:#999; text-decoration: underline;">Terms of
                                    Service</a>
                                |
                                <a href="<?php echo e($unsubscribeUrl ?? '#'); ?>"
                                    style="color:#999; text-decoration: underline;">Unsubscribe</a>
                            </p>
                        </td>
                    </tr>

                </table>
            </td>
        </tr>
    </table>
</body>

</html>
<?php /**PATH /Users/macuser/Herd/Novabank/resources/views/components/emails/layout.blade.php ENDPATH**/ ?>