<div>
    <div class="mb-3 d-flex align-items-center gap-2">
        <a href="{{ route('dsars.view', $this->dsar) }}" class="btn btn-sm btn-outline-secondary">
            <i class="mdi mdi-arrow-left me-1"></i>Back to list
        </a>
        <span class="text-muted small">{{ $this->attachment->filename }}</span>
    </div>

    <livewire:dsar.evidence-viewer
        :attachment="$this->attachment"
        :dsar-id="$this->dsar->id"
        :key="'viewer-' . $this->attachment->id"
    />
</div>
