<div class="mb-8">
    <div class="flex items-center gap-3 mb-6 pb-4 border-b border-slate-100">
        <div class="p-2 bg-indigo-50 rounded-lg text-indigo-600">
            <svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M7 20l4-16m2 16l4-16M6 9h14M4 15h14"></path></svg>
        </div>
        <div>
            <h3 class="text-xl font-bold text-slate-800">إعدادات الترقيم والرموز (Prefixes)</h3>
            <p class="text-slate-500 text-sm mt-1">هذه الرموز سيتم دمجها برقم تسلسلي تلقائي عند إضافة كيان جديد (مثال: TRX-0001).</p>
        </div>
    </div>

    <!-- Live Preview -->
    <div class="mb-8 p-6 bg-slate-50 border border-slate-200 rounded-2xl">
        <h4 class="text-xs font-bold text-slate-400 uppercase mb-4 tracking-wider">معاينة حية (Live Preview)</h4>
        <div class="grid grid-cols-2 md:grid-cols-4 gap-4">
            <div class="bg-white p-4 rounded-xl shadow-sm border border-slate-100 text-center">
                <span class="block text-xs font-bold text-slate-400 mb-2">دفتر جديد</span>
                <span class="font-bold text-indigo-700 text-lg">{{ $form['prefix_ledger'] }}0001</span>
            </div>
            <div class="bg-white p-4 rounded-xl shadow-sm border border-slate-100 text-center">
                <span class="block text-xs font-bold text-slate-400 mb-2">صفحة جديدة</span>
                <span class="font-bold text-indigo-700 text-lg">{{ $form['prefix_page'] }}0001</span>
            </div>
            <div class="bg-white p-4 rounded-xl shadow-sm border border-slate-100 text-center">
                <span class="block text-xs font-bold text-slate-400 mb-2">حساب جديد</span>
                <span class="font-bold text-indigo-700 text-lg">{{ $form['prefix_account'] }}101</span>
            </div>
            <div class="bg-white p-4 rounded-xl shadow-sm border border-slate-100 text-center">
                <span class="block text-xs font-bold text-slate-400 mb-2">عملية جديدة</span>
                <span class="font-bold text-indigo-700 text-lg">{{ $form['prefix_transaction'] }}0001</span>
            </div>
        </div>
    </div>

    <div class="grid grid-cols-1 md:grid-cols-2 gap-y-8 gap-x-10">
        <div>
            <label class="block text-sm font-bold text-slate-700 mb-2">بادئة الدفاتر (Ledger Prefix)</label>
            <input type="text" wire:model.live="form.prefix_ledger" class="w-full border-slate-200 rounded-xl shadow-sm focus:ring-indigo-500 focus:border-indigo-500 text-sm p-3">
        </div>
        <div>
            <label class="block text-sm font-bold text-slate-700 mb-2">بادئة الصفحات (Page Prefix)</label>
            <input type="text" wire:model.live="form.prefix_page" class="w-full border-slate-200 rounded-xl shadow-sm focus:ring-indigo-500 focus:border-indigo-500 text-sm p-3">
        </div>
        <div>
            <label class="block text-sm font-bold text-slate-700 mb-2">بادئة الحسابات (Account Prefix)</label>
            <input type="text" wire:model.live="form.prefix_account" class="w-full border-slate-200 rounded-xl shadow-sm focus:ring-indigo-500 focus:border-indigo-500 text-sm p-3">
        </div>
        <div>
            <label class="block text-sm font-bold text-slate-700 mb-2">بادئة العمليات (Transaction Prefix)</label>
            <input type="text" wire:model.live="form.prefix_transaction" class="w-full border-slate-200 rounded-xl shadow-sm focus:ring-indigo-500 focus:border-indigo-500 text-sm p-3">
        </div>
    </div>
</div>
