<x-filament-panels::page>
    <div class="space-y-6">
        {{-- Welcome Message --}}
        <div class="bg-gradient-to-r from-emerald-500 to-teal-600 rounded-xl text-white">
            <h2 class="text-2xl font-bold">
                @php
                    $hour = now()->hour;
                    $greeting = match(true) {
                        $hour < 12 => 'Selamat Pagi',
                        $hour < 15 => 'Selamat Siang',
                        $hour < 18 => 'Selamat Sore',
                        default => 'Selamat Malam',
                    };
                @endphp
                {{ $greeting }}, {{ auth()->user()->name }}!
            </h2>
            <p class="mt-2 text-emerald-100">
                {{ now()->translatedFormat('l, d F Y') }}
            </p>
        </div>
    </div>
</x-filament-panels::page>
