<table class="action" align="center" width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin: 40px auto; text-align: center;">
<tr>
<td align="center" style="text-align: center;">
<table width="100%" border="0" cellpadding="0" cellspacing="0" role="presentation" style="text-align: center;">
<tr>
<td align="center" style="text-align: center;">
<table border="0" cellpadding="0" cellspacing="0" role="presentation" style="display: inline-table; margin: 0 auto;">
<tr>
<td style="border-radius: 6px; background-color: {{ $color === 'success' ? '#48bb78' : ($color === 'error' ? '#e53e3e' : theme_color('brand')) }}; text-align: center;">
<a href="{{ $url }}" class="button button-{{ $color ?? 'primary' }}" target="_blank" rel="noopener" style="display: inline-block; padding: 12px 24px; font-family: {{ theme_font('font_family_body') }}; font-size: 14px; font-weight: bold; color: #ffffff; text-decoration: none; border-radius: 6px; text-align: center;">{{ $slot }}</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
