{{-- Input Component - LucentUI Theme Migrated from AdminLTE to Tailwind Usage: --}} @props([ 'type' => 'text', 'name' => null, 'label' => null, 'placeholder' => null, 'icon' => null, 'iconRight' => null, 'error' => null, 'hint' => null, 'disabled' => false, 'readonly' => false, 'required' => false, 'size' => 'md', ]) @php $sizeClasses = [ 'sm' => 'h-8 text-xs', 'md' => 'h-10', 'lg' => 'h-12 text-base', ]; $sizeClass = $sizeClasses[$size] ?? $sizeClasses['md']; $inputClasses = 'w-full px-4 py-2 text-sm text-primary dark:text-gray-100 bg-background dark:bg-gray-900 border border-neutral dark:border-gray-600 rounded-lg placeholder:text-secondary/50 dark:placeholder:text-gray-500 focus:border-primary focus:outline-none focus:ring-2 focus:ring-primary/25 transition-all duration-150 disabled:opacity-50 disabled:cursor-not-allowed'; $errorClasses = $error ? 'border-error focus:border-error focus:ring-error/25' : ''; @endphp