<div class="ml-[280px] min-h-screen space-y-10">

    <h2 class="text-2xl font-semibold">Add Service Category</h2>

    <div class="bg-white rounded-2xl border p-6 space-y-4">

        <!-- Category Name -->
        <div>
            <label class="text-sm text-gray-500">Category Name</label>
            <input
                type="text"
                wire:model.defer="name"
                placeholder="e.g. Strategy & Consulting"
                class="w-full mt-1 px-4 py-2 border rounded-lg
                       focus:ring-[#f38121] focus:border-[#f38121]"
            >
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['name'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <p class="text-red-500 text-xs mt-1"><?php echo e($message); ?></p>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>

        <!-- ✅ Category Description -->
        <div>
            <label class="text-sm text-gray-500">Description</label>
            <textarea
                wire:model.defer="description"
                rows="3"
                placeholder="Short description about this category"
                class="w-full mt-1 px-4 py-2 border rounded-lg
                       focus:ring-[#f38121] focus:border-[#f38121]"
            ></textarea>
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['description'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <p class="text-red-500 text-xs mt-1"><?php echo e($message); ?></p>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>
        
        <!-- ✅ Video URL -->
        <div>
            <label class="text-sm text-gray-500">Video URL</label>
            <input type="url" wire:model.defer="video_url" placeholder="https://www.youtube.com/watch?v=xxxx"
                class="w-full mt-1 px-4 py-2 border rounded-lg
               focus:ring-[#f38121] focus:border-[#f38121]">
            <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php $__errorArgs = ['video_url'];
$__bag = $errors->getBag($__errorArgs[1] ?? 'default');
if ($__bag->has($__errorArgs[0])) :
if (isset($message)) { $__messageOriginal = $message; }
$message = $__bag->first($__errorArgs[0]); ?>
                <p class="text-red-500 text-xs mt-1"><?php echo e($message); ?></p>
            <?php unset($message);
if (isset($__messageOriginal)) { $message = $__messageOriginal; }
endif;
unset($__errorArgs, $__bag); ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        </div>

        <!-- Actions -->
        <div class="flex justify-end gap-3 pt-2">
            <a href="<?php echo e(route('admin.services')); ?>"
               class="px-5 py-2 border rounded-lg text-gray-600 hover:bg-gray-50">
                Cancel
            </a>

            <button
                wire:click="save"
                class="px-6 py-2 bg-[#f38121] text-white rounded-lg hover:opacity-90">
                Save & Return
            </button>
        </div>

    </div>

</div>
<?php /**PATH /home1/eggfirst/public_html/resources/views/livewire/admin/services/categories.blade.php ENDPATH**/ ?>