@props(['header' => null])

<div {{ $attributes->merge(['class' => 'bg-white rounded-lg shadow-sm border border-gray-200 p-4 dark:bg-gray-800 dark:border-gray-700']) }}>
    @if($header)
        <div class="border-b border-gray-200 dark:border-gray-700 pb-3 mb-4">
            {{ $header }}
        </div>
    @endif
    
    {{ $slot }}
</div>