{% extends "ui/templates/base/layout.html" %}
{% block content %}
<div class="max-w-3xl space-y-6"><h1 class="text-2xl font-semibold">New Platform Plan</h1><form method="post" class="space-y-4 rounded-2xl border bg-white p-5 shadow-soft"><input type="hidden" name="csrf_token" value="{{ csrf_token }}" />
<div class="grid gap-4 md:grid-cols-2"><label class="text-sm">Plan Code<input name="code" required class="mt-1 w-full rounded-xl border px-3 py-2" /></label><label class="text-sm">Plan Name<input name="name" required class="mt-1 w-full rounded-xl border px-3 py-2" /></label><label class="text-sm">Target Account<select name="target_account_type" class="mt-1 w-full rounded-xl border px-3 py-2">{% for x in account_types %}<option value="{{ x }}">{{ x }}</option>{% endfor %}</select></label><label class="text-sm">Billing Cycle<select name="billing_cycle" class="mt-1 w-full rounded-xl border px-3 py-2">{% for x in billing_cycles %}<option value="{{ x }}">{{ x }}</option>{% endfor %}</select></label><label class="text-sm">Base Amount<input name="base_amount" value="0" class="mt-1 w-full rounded-xl border px-3 py-2" /></label><label class="text-sm">GST Rate<input name="gst_rate" value="18" class="mt-1 w-full rounded-xl border px-3 py-2" /></label></div><label class="block text-sm">Description<textarea name="description" class="mt-1 w-full rounded-xl border px-3 py-2"></textarea></label><label class="block text-sm">Features / Limits (one per line)<textarea name="feature_text" rows="5" class="mt-1 w-full rounded-xl border px-3 py-2"></textarea></label><button class="rounded-xl bg-brand-600 px-4 py-2 text-sm font-semibold text-white">Save Plan</button></form></div>
{% endblock %}
