<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Welcome to TrueTrucker</title>
</head>
<body style="font-family: Arial, sans-serif; color: #111827; line-height: 1.6; max-width: 600px; margin: 0 auto; padding: 20px;">
    <div style="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); padding: 20px; text-align: center; color: white; border-radius: 8px 8px 0 0;">
        <h1 style="margin: 0; font-size: 28px;">Welcome to TrueTrucker</h1>
    </div>

    <div style="background-color: #f9fafb; padding: 30px; border: 1px solid #e5e7eb; border-radius: 0 0 8px 8px;">
        <p style="margin-top: 0; font-size: 16px;">
            Hi <strong>{{ $name }}</strong>,
        </p>

        <p style="margin: 16px 0; font-size: 14px;">
            Thank you for signing up with TrueTrucker! Your account has been successfully created.
        </p>

        <div style="background-color: #f3f4f6; padding: 16px; border-left: 4px solid #667eea; margin: 20px 0; border-radius: 4px;">
            <p style="margin: 0 0 12px 0; font-size: 14px;">
                <strong>Account Details</strong>
            </p>
            <table style="width: 100%; font-size: 14px;">
                <tr>
                    <td style="padding: 4px 0;"><strong>Email:</strong></td>
                    <td style="padding: 4px 0; color: #667eea;">{{ $email }}</td>
                </tr>
                <tr>
                    <td style="padding: 4px 0;"><strong>Role:</strong></td>
                    <td style="padding: 4px 0; text-transform: capitalize;">{{ $role }}</td>
                </tr>
                <tr>
                    <td style="padding: 4px 0;"><strong>Signup Channel:</strong></td>
                    <td style="padding: 4px 0; text-transform: capitalize;">{{ $channel }}</td>
                </tr>
            </table>
        </div>

        <p style="margin: 16px 0; font-size: 14px;">
            You can now log in to your TrueTrucker account and start managing your operations.
        </p>

        <div style="text-align: center; margin: 24px 0;">
            <a href="{{ route('login') }}" style="display: inline-block; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; padding: 12px 32px; text-decoration: none; border-radius: 6px; font-weight: bold; font-size: 14px;">
                Log In to Your Account
            </a>
        </div>

        <p style="margin: 16px 0; font-size: 14px;">
            If you have any questions or need assistance, please don't hesitate to contact our support team.
        </p>

        <hr style="border: none; border-top: 1px solid #e5e7eb; margin: 24px 0;">

        <p style="margin: 12px 0; font-size: 12px; color: #6b7280;">
            Best regards,<br>
            <strong>The TrueTrucker Team</strong>
        </p>

        <p style="margin: 24px 0 0 0; font-size: 11px; color: #9ca3af; text-align: center;">
            This is an automated message. Please do not reply to this email.
        </p>
    </div>
</body>
</html>
