@extends('emails.master')

@section('title', 'Welcome to Tutera')

@section('content')

    <h2 style="color:#0b3a6f; margin-top:0;">
        Hello {{ $user->first_name . ' ' . $user->last_name }},
    </h2>

    <p style="font-size:15px; color:#555; line-height:1.6;">
        Welcome to <strong>Tutera</strong>! We're excited to have you join our tutor community. 🎉
    </p>

    <p style="font-size:15px; color:#555; line-height:1.6;">
        Tutera helps you connect with students and grow your teaching opportunities. Your account is currently under review. Once approved, you will be able to start receiving booking requests.
    </p>

    <table width="100%" cellpadding="0" cellspacing="0" style="border-collapse:collapse; margin-top:20px; font-size:14px;">
        <tbody>

            <tr>
                <td style="padding:10px; border:1px solid #eee; background:#f9f9f9; width:40%;">
                    <strong>Email</strong>
                </td>
                <td style="padding:10px; border:1px solid #eee;">
                    {{ $user->email }}
                </td>
            </tr>

            <tr>
                <td style="padding:10px; border:1px solid #eee; background:#f9f9f9; width:40%;">
                    <strong>Username</strong>
                </td>
                <td style="padding:10px; border:1px solid #eee;">
                    {{ $user->username }}
                </td>
            </tr>

            <tr>
                <td style="padding:10px; border:1px solid #eee; background:#f9f9f9;">
                    <strong>Account Created</strong>
                </td>
                <td style="padding:10px; border:1px solid #eee;">
                    {{ \Carbon\Carbon::now()->format('d M Y, h:i A') }}
                </td>
            </tr>

        </tbody>
    </table>

    <p style="margin-top:20px; font-size:14px; color:#555;">
        In the meantime, you can prepare your profile by adding your subjects, availability, and teaching details to attract more students once your account is approved.
    </p>

    <p style="font-size:14px;">
        If you have any questions, feel free to reach out. We're here to support you!
    </p>

    <p style="font-size:14px;">
        Thanks,<br>
        <strong>Tutera Team</strong>
    </p>

@endsection