<x-emails.layout>

    @php

        if($body->type === 'loans'){

        }elseif($body->type === 'cards'){

        }

    @endphp

    <table style="width:100%;max-width:620px;margin:0 auto;background-color:#ffffff;">
        <tbody>
            <tr>
                <td style="text-align:center;padding: 50px 30px;">
                    @if($body->status == 'pending')
                        <img style="width:88px; margin-bottom:24px;" src="{{ asset('assets/images/email/kyc-progress.png') }}" alt="In Process">
                        <h2 style="font-size: 18px; color: #37dda2; font-weight: 400; margin-bottom: 8px;">Your KYC Application Is Now Under Review.</h2>
                        <p>We are still working on your identity verification. Once our team verifies your indentity, you will be whitelisted and notified by email.</p>
                    @elseif($body->status == 'approved')
                        <img style="width:88px; margin-bottom:24px;" src="{{ asset('assets/images/email/kyc-success.png') }}" alt="Verified">
                        <h2 style="font-size: 18px; color: #1ee0ac; font-weight: 400; margin-bottom: 8px;">Your Identity is Verified.</h2>
                        <p>Dear <b>{{ $body->name }}</b>, One fo our team members verified your indentity. You are now whitelisted for all kinds of transactions on {{ config('settings.site_name') }}.</p>
                    @else
                        <img style="width:88px; margin-bottom:24px;" src="{{ asset('assets/images/email/kyc-pending.png') }}" alt="Missing">
                        <h2 style="font-size: 18px; color: #f4bd0e; font-weight: 400; margin-bottom: 8px;">We found some information missing in you kyc application.</h2>
                        <p>Dear <b>{{ $body->name }}</b>, during our verification process, we found out that some information are missing. It would great if you resubmit the Kyc form again with all required information. If you face problem in submission please contact us with our best ever excelent support team.</p>
                    @endif
                    <p style="margin-bottom: 15px;">Hope you'll enjoy the experience, we're here if you have any questions, drop us a mail at <a style="color: #6576ff; text-decoration:none;" href="mailto:{{ config('settings.site_email') }}">{{ config('settings.site_email') }}</a> anytime. </p>
                </td>
            </tr>
        </tbody>
    </table>

</x-emails.layout>
