<div class="row g-4">
    <div class="col-lg-8">
        <h6 class="mb-2">{{ __('recruitment.vacancies.fields.description') }}</h6>
        <div class="text-muted" style="white-space: pre-wrap;">{{ $vacancy->description ?: '—' }}</div>
    </div>
    <div class="col-lg-4">
        <dl class="row mb-0 small">
            <dt class="col-5 text-muted">{{ __('recruitment.vacancies.fields.status') }}</dt>
            <dd class="col-7">{{ __('recruitment.vacancies.status.'.$vacancy->status) }}</dd>
            <dt class="col-5 text-muted">{{ __('recruitment.vacancies.fields.department') }}</dt>
            <dd class="col-7">{{ $vacancy->department?->name ?? '—' }}</dd>
            <dt class="col-5 text-muted">{{ __('recruitment.vacancies.fields.position') }}</dt>
            <dd class="col-7">{{ $vacancy->position?->title ?? '—' }}</dd>
            <dt class="col-5 text-muted">{{ __('recruitment.vacancies.fields.openings') }}</dt>
            <dd class="col-7">{{ $vacancy->openings }}</dd>
            <dt class="col-5 text-muted">{{ __('recruitment.vacancies.metrics.filled') }}</dt>
            <dd class="col-7">{{ $vacancy->filled_positions }}</dd>
            <dt class="col-5 text-muted">{{ __('recruitment.vacancies.fields.closes_at') }}</dt>
            <dd class="col-7">{{ $vacancy->closes_at?->format('Y-m-d') ?? '—' }}</dd>
            <dt class="col-5 text-muted">{{ __('recruitment.career_portal.fields.portal') }}</dt>
            <dd class="col-7">
                {{ $vacancy->show_on_portal ? __('recruitment.career_portal.on_portal') : __('recruitment.career_portal.off_portal') }}
            </dd>
        </dl>
    </div>
</div>
