@php $dark = ($theme ?? 'light') === 'dark'; $labelClass = $dark ? 'ti-label' : 'mb-1.5 block text-xs font-semibold text-foreground'; $inputClass = $dark ? 'ti-input ti-input-pw' : 'h-11 w-full rounded-xl border border-input bg-white px-3.5 pr-11 text-[16px] outline-none transition focus:border-ring focus:ring-4 focus:ring-ring/20 sm:text-sm'; $admin = (bool) auth()->user()?->isAdmin(); @endphp