@php

    $carpeta = Str::slug(config('app.name'), '');

@endphp

<!DOCTYPE html>
<html>

<head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />

    <!-- Fuentes -->
    <link href="https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700&display=swap" rel="stylesheet">

    <style type="text/css">
        body,
        table,
        td,
        a {
            -webkit-text-size-adjust: 100%;
            -ms-text-size-adjust: 100%;
        }
        
        table,
        td {
            mso-table-lspace: 0pt;
            mso-table-rspace: 0pt;
        }
        
        img {
            -ms-interpolation-mode: bicubic;
        }
        /* RESET STYLES */
        
        img {
            border: 0;
            height: auto;
            line-height: 100%;
            outline: none;
            text-decoration: none;
        }
        
        table {
            border-collapse: collapse !important;
        }
        
        body {
            height: 100% !important;
            margin: 0 !important;
            padding: 0 !important;
            width: 100% !important;
        }
        /* iOS BLUE LINKS */
        
        a[x-apple-data-detectors] {
            color: inherit !important;
            text-decoration: none !important;
            font-size: inherit !important;
            font-family: inherit !important;
            font-weight: inherit !important;
            line-height: inherit !important;
        }
        /* MOBILE STYLES */
        
        @media screen and (max-width:600px) {
            h1 {
                font-size: 32px !important;
                line-height: 32px !important;
            }
        }
        /* ANDROID CENTER FIX */
        
        div[style*="margin: 16px 0;"] {
            margin: 0 !important;
        }
    </style>
</head>

<body style="background-color: #ffffff; margin: 0 !important; padding: 0 !important;">
    <!-- HIDDEN PREHEADER TEXT -->
    <div style="display: none; font-size: 1px; color: #fefefe; line-height: 1px; font-family: Nunito; max-height: 0px; max-width: 0px; opacity: 0; overflow: hidden;">
        {{ $datosCorreo['nombreUsuario'] }}
    </div>
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
        <!-- LOGO -->
        <tr>
            <td bgcolor="#75ba1b" align="center">
                <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">
                    <tr>
                        <td align="center" valign="top" style="padding: 40px 10px 40px 10px;"> </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor="#75ba1b" align="center" style="padding: 0px 10px 0px 10px;">
                <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">
                    <tr>
                        <td bgcolor="#f2f7ff" align="center" valign="top" style="padding: 40px 20px 20px 20px; border-radius: 4px 4px 0px 0px; color: #111111; font-family: Nunito; font-size: 48px; font-weight: 400; letter-spacing: 4px; line-height: 48px;">
                            <img src="https://www.daite.com.do/archivos/imagenes/{{ $carpeta }}/logotipo.png" width="50%" height="auto" style="display: block; border: 0px; padding-bottom: 20px" />
                            <h1 style="font-size: 26px; font-weight: 400; margin: 1;">¡Transferencia realizada con éxito!
                            </h1>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td bgcolor="#ffffff" align="center" style="padding: 0px 10px 0px 10px;">
                <table border="0" cellpadding="0" cellspacing="0" width="100%" style="max-width: 600px;">
                    <tr>
                        <td bgcolor="#f2f7ff" align="left" style="padding: 20px 30px 40px 30px; color: #666666; font-family: Nunito; font-size: 18px; font-weight: 400; line-height: 25px;">
                            <p style="margin: 0;">
                              Cuenta Origen: #{{ $datosCorreo['cuentaOrigen'] }}
                              <br />
                              <br />
                              Cuenta Destino: #{{ $datosCorreo['cuentaDestino'] }}
                              <br />
                              <br />
                              Monto: RD${{ number_format($datosCorreo['monto'], 2, '.', ',') }}
                            </p>
                        </td>
                    </tr>
                    <tr>
                        <td bgcolor="#f2f7ff" align="left" style="padding: 0px 30px 0px 30px; color: #666666; font-family: Nunito; font-size: 18px; font-weight: 400; line-height: 25px;">
                            <p style="margin: 0;">Concepto:</p>
                        </td>
                    </tr>
                    <!-- COPY -->
                    <tr>
                        <td bgcolor="#f2f7ff" align="left" style="padding: 20px 30px 20px 30px; color: #666666; font-family: Nunito; font-size: 18px; font-weight: 400; line-height: 25px;">
                            <p style="margin: 0;" style="color: #75ba1b;">{{ $datosCorreo['concepto'] }}</p>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>
</body>

</html>