@props(['title', 'subtitle' => null])

<div class="d-flex flex-wrap justify-content-between align-items-center mb-4 gap-2">
    <div>
        <h1 class="h4 fw-semibold mb-0">{{ $title }}</h1>
        @if ($subtitle)
            <p class="text-muted small mb-0">{{ $subtitle }}</p>
        @endif
    </div>
    @isset($actions)
        <div class="d-flex gap-2">{{ $actions }}</div>
    @endisset
</div>
