<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>@lang('emails.cancelled_admin_subject', ['event' => $formResponse->form->title])</title>

<style>
    body {
        font-family: Arial, sans-serif;
        line-height: 1.6;
        color: #333;
    }
    .container {
        max-width: 600px;
        margin: 0 auto;
        padding: 20px;
    }
    .details {
        margin: 20px 0;
    }
    .details-row {
        display: flex;
        padding: 6px 0;
    }
    .details-label {
        font-weight: bold;
    }
</style>

</head>

<body>
    <div class="container">
        <p>{!! trans('emails.cancelled_admin_intro', ['event' => '<strong>' . e($formResponse->form->title) . '</strong>']) !!}</p>

        <div class="details">
            <div class="details-row">
                <span class="details-label">@lang('emails.cancelled_admin_id'):&nbsp;</span>
                <span>{{ $formResponse->id }}</span>
            </div>
            @if($formResponse->cancelled_at)
            <div class="details-row">
                <span class="details-label">@lang('emails.label_date'):&nbsp;</span>
                <span>{{ $formResponse->cancelled_at->setTimezone('Europe/Brussels')->format('d/m/Y H:i:s') }}</span>
            </div>
            @endif
        </div>

        <p>
            <a href="{{ url('/admin/form-responses/view/' . $formResponse->id) }}">{{ url('/admin/form-responses/view/' . $formResponse->id) }}</a>
        </p>
    </div>
</body>
</html>
