@props([ 'patientId', 'appointmentId' => null, 'size' => 'sm', ]) @php $btnClass = ($size ?? 'sm') === 'md' ? 'inline-flex items-center gap-2 rounded-xl border-2 border-violet-300 bg-violet-50 px-4 py-2.5 text-sm font-semibold text-violet-900 hover:bg-violet-100 shadow-sm transition' : 'inline-flex h-6 w-6 items-center justify-center rounded-md border-2 border-violet-300 bg-violet-50 text-violet-900 hover:bg-violet-100 shadow-sm transition'; $inputId = 'manual-rx-'.($patientId).'-'.($appointmentId ?? 'p'); @endphp