<div class="row g-3">
    <div class="col-md-6">
        <dl class="row mb-0">
            <dt class="col-sm-5">{{ __('employees.fields.national_id') }}</dt>
            <dd class="col-sm-7">{{ $employee->national_id }}</dd>
            <dt class="col-sm-5">{{ __('employees.fields.passport_number') }}</dt>
            <dd class="col-sm-7">{{ $employee->passport_number ?: '—' }}</dd>
            <dt class="col-sm-5">{{ __('employees.fields.social_insurance_number') }}</dt>
            <dd class="col-sm-7">{{ $employee->social_insurance_number ?: '—' }}</dd>
            <dt class="col-sm-5">{{ __('employees.fields.tax_number') }}</dt>
            <dd class="col-sm-7">{{ $employee->tax_number ?: '—' }}</dd>
            <dt class="col-sm-5">{{ __('employees.fields.fingerprint_id') }}</dt>
            <dd class="col-sm-7">{{ $employee->fingerprint_id ?: '—' }}</dd>
        </dl>
    </div>
    <div class="col-md-6">
        <p class="text-muted small">{{ __('employees.government.expiry_hint') }}</p>
        <ul class="list-unstyled mb-0">
            @forelse ($employee->documents->filter(fn ($d) => $d->type->tracksExpiry()) as $doc)
                <li class="mb-2 d-flex justify-content-between gap-2">
                    <span>{{ __('employees.documents.'.$doc->type->value) }}</span>
                    <span class="{{ $doc->expires_at && $doc->expires_at->isPast() ? 'text-danger' : 'text-muted' }}">
                        {{ $doc->expires_at?->format('Y-m-d') ?: __('employees.documents.no_expiry') }}
                    </span>
                </li>
            @empty
                <li class="text-muted">{{ __('employees.government.no_tracked_docs') }}</li>
            @endforelse
        </ul>
    </div>
</div>
