<div>
    <div class="mb-3 d-flex align-items-center gap-2">
        <a href="{{ url()->previous() }}" class="btn btn-sm btn-outline-secondary">
            <i class="mdi mdi-arrow-left me-1"></i>Back
        </a>
        <span class="text-muted small">{{ $this->document->display_name }}</span>
    </div>

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