@props([ 'label', 'name', 'type' => 'text', 'placeholder' => '', 'value' => null, 'suffix' => null, ])
merge([ 'class' => 'h-12 w-full rounded-[6px] border-0 bg-[#dfe4eb] px-4 text-[16px] font-medium text-[#1f252c] caret-[#1f252c] placeholder:text-[#7b8493] focus:bg-white focus:outline-none focus:ring-4 focus:ring-[#1152e8]/20 ' . ($suffix ? 'pr-12' : '') . ($errors->has($name) ? ' ring-2 ring-[#c91e1e]/35' : ''), ]) }} > @if ($suffix) {{ $suffix }} @endif
@error($name)

{{ $message }}

@enderror