<?php $__env->startSection('title', 'Create Subscription Plan'); ?>

<?php $__env->startSection('content'); ?>
<div class="max-w-2xl mx-auto space-y-6">
    <div class="flex items-center justify-between">
        <div>
            <h1 class="text-xl font-bold text-slate-900 dark:text-white">Create New Subscription Plan</h1>
            <p class="text-xs text-slate-500">Define pricing, resource limits, and included features.</p>
        </div>
        <a href="<?php echo e(route('platform.plans')); ?>" class="px-4 py-2 bg-slate-200 dark:bg-slate-700 text-slate-700 dark:text-slate-200 font-semibold text-xs rounded-xl">Cancel</a>
    </div>

    <form action="<?php echo e(route('platform.plans.store')); ?>" method="POST" class="bg-white dark:bg-slate-800 rounded-3xl p-6 border border-slate-200 dark:border-slate-700/60 shadow-sm space-y-4 text-xs">
        <?php echo csrf_field(); ?>

        <div>
            <label class="block font-semibold mb-1">Plan Name *</label>
            <input type="text" name="name" required placeholder="Enterprise Custom Plan" class="w-full px-3 py-2 bg-slate-50 dark:bg-slate-900 border border-slate-300 dark:border-slate-700 rounded-xl">
        </div>

        <div>
            <label class="block font-semibold mb-1">Description</label>
            <textarea name="description" rows="2" placeholder="Tailored enterprise plan with unlimited branches and dedicated PRO queue..." class="w-full p-3 bg-slate-50 dark:bg-slate-900 border border-slate-300 dark:border-slate-700 rounded-xl"></textarea>
        </div>

        <div class="grid grid-cols-2 gap-4">
            <div>
                <label class="block font-semibold mb-1">Monthly Price (AED) *</label>
                <input type="number" name="price_monthly" required step="0.01" value="1299.00" class="w-full px-3 py-2 bg-slate-50 dark:bg-slate-900 border border-slate-300 dark:border-slate-700 rounded-xl">
            </div>
            <div>
                <label class="block font-semibold mb-1">Yearly Price (AED) *</label>
                <input type="number" name="price_yearly" required step="0.01" value="12990.00" class="w-full px-3 py-2 bg-slate-50 dark:bg-slate-900 border border-slate-300 dark:border-slate-700 rounded-xl">
            </div>
        </div>

        <div class="grid grid-cols-2 gap-4">
            <div>
                <label class="block font-semibold mb-1">Max Branches *</label>
                <input type="number" name="max_branches" required value="10" class="w-full px-3 py-2 bg-slate-50 dark:bg-slate-900 border border-slate-300 dark:border-slate-700 rounded-xl">
            </div>
            <div>
                <label class="block font-semibold mb-1">Max Users *</label>
                <input type="number" name="max_users" required value="50" class="w-full px-3 py-2 bg-slate-50 dark:bg-slate-900 border border-slate-300 dark:border-slate-700 rounded-xl">
            </div>
        </div>

        <div class="flex justify-end pt-4">
            <button type="submit" class="px-6 py-2.5 bg-sky-600 hover:bg-sky-700 text-white font-bold rounded-xl shadow-sm">Save Plan</button>
        </div>
    </form>
</div>
<?php $__env->stopSection(); ?>

<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH C:\xampp\htdocs\typingcenter\resources\views\platform\plans\create.blade.php ENDPATH**/ ?>