@extends('emails.master')

@section('title', 'Dispute Outcome – Student Decision')

@section('content')

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

    <p style="font-size:15px; color:#555; line-height:1.6;">
        We would like to inform you that the dispute raised by the student has been <strong>reviewed and resolved in favor of the student</strong>.
    </p>

    <p style="font-size:15px; color:#555; line-height:1.6;">
        After carefully evaluating all the provided information, our team has concluded the case based on our platform policies and the details submitted.
    </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>Student Name</strong>
                </td>
                <td style="padding:10px; border:1px solid #eee;">
                    {{ $student->name }}
                </td>
            </tr>

            <tr>
                <td style="padding:10px; border:1px solid #eee; background:#f9f9f9;">
                    <strong>Booking ID</strong>
                </td>
                <td style="padding:10px; border:1px solid #eee;">
                    {{ $booking->id }}
                </td>
            </tr>

            <tr>
                <td style="padding:10px; border:1px solid #eee; background:#f9f9f9;">
                    <strong>Resolution</strong>
                </td>
                <td style="padding:10px; border:1px solid #eee;">
                    Refund has been issued to the student as per dispute resolution.
                </td>
            </tr>

        </tbody>
    </table>

    <p style="margin-top:20px; font-size:14px; color:#555;">
        We understand that this outcome may be disappointing. We encourage you to review the case details and ensure future sessions align with platform guidelines to avoid similar situations.
    </p>

    <p style="font-size:14px; color:#555;">
        If you have any questions or would like further clarification, please feel free to contact our support team.
    </p>

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

@endsection