@extends('emails.master')

@section('title', 'Dispute Resolved – Refund Issued')

@section('content')

    <h2 style="color:#0b3a6f; margin-top:0;">
        Hello {{ $student->name }},
    </h2>

    <p style="font-size:15px; color:#555; line-height:1.6;">
        Good news! Your dispute has been <strong>reviewed and resolved in your favor</strong>.
    </p>

    <p style="font-size:15px; color:#555; line-height:1.6;">
        After carefully reviewing the case, we have determined that your claim is valid.
        As a result, your payment has been <strong>refunded</strong>.
    </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>Session ID</strong>
                </td>
                <td style="padding:10px; border:1px solid #eee;">
                    {{ $session->id }}
                </td>
            </tr>

            <tr>
                <td style="padding:10px; border:1px solid #eee; background:#f9f9f9;">
                    <strong>Status</strong>
                </td>
                <td style="padding:10px; border:1px solid #eee;">
                    Refund Approved
                </td>
            </tr>

        </tbody>
    </table>

    <p style="margin-top:20px; font-size:14px; color:#555;">
        The refunded amount will be credited back to your original payment method within a few business days.
    </p>

    <p style="font-size:14px;">
        Thank you for your patience during the review process.
    </p>

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

@endsection