@extends('layouts.app')

@section('title', 'Operational & SLA Settings')

@section('content')
<div class="max-w-3xl mx-auto space-y-6">
    <div>
        <h1 class="text-xl font-bold text-slate-900 dark:text-white">Operational & Customer Duplicate Rules</h1>
        <p class="text-xs text-slate-500">Configure default branch, customer validation rules, and service SLA priorities.</p>
    </div>

    <!-- Operations Form (Requirements 65-69) -->
    <div class="bg-white dark:bg-slate-800 rounded-3xl p-6 border border-slate-200 dark:border-slate-700/60 shadow-sm space-y-6 text-xs">
        <div class="space-y-4">
            <h3 class="font-bold text-slate-900 dark:text-white uppercase tracking-wider text-xs border-b border-slate-100 dark:border-slate-700 pb-2">Customer Duplicate Check Rules</h3>

            <div class="space-y-2">
                <label class="flex items-center space-x-2 rtl:space-x-reverse cursor-pointer">
                    <input type="checkbox" name="require_customer_mobile" checked class="w-4 h-4 text-sky-600 rounded">
                    <span class="font-semibold text-slate-800 dark:text-slate-200">Require Customer Mobile Phone Number on Application Entry</span>
                </label>
                <label class="flex items-center space-x-2 rtl:space-x-reverse cursor-pointer">
                    <input type="checkbox" name="allow_duplicate_mobile" checked class="w-4 h-4 text-sky-600 rounded">
                    <span class="font-semibold text-slate-800 dark:text-slate-200">Allow Duplicate Mobile Numbers for Family Dependents</span>
                </label>
            </div>
        </div>

        <!-- Application Priorities & SLAs (Requirements 68-69) -->
        <div class="space-y-4 pt-2 border-t border-slate-100 dark:border-slate-700">
            <h3 class="font-bold text-slate-900 dark:text-white uppercase tracking-wider text-xs">Application Priorities & Processing SLAs</h3>

            <div class="grid grid-cols-2 md:grid-cols-4 gap-3 font-bold text-center">
                <div class="p-3 rounded-2xl bg-slate-50 dark:bg-slate-900 border border-slate-200 dark:border-slate-700">
                    <span class="text-slate-700 dark:text-slate-300">Normal</span>
                    <span class="text-[10px] text-slate-400 block font-normal mt-0.5">SLA: 24 Hours</span>
                </div>
                <div class="p-3 rounded-2xl bg-sky-50 dark:bg-sky-950/40 border border-sky-200 dark:border-sky-800 text-sky-700">
                    <span>High</span>
                    <span class="text-[10px] text-sky-500 block font-normal mt-0.5">SLA: 12 Hours</span>
                </div>
                <div class="p-3 rounded-2xl bg-amber-50 dark:bg-amber-950/40 border border-amber-200 dark:border-amber-800 text-amber-700">
                    <span>Urgent</span>
                    <span class="text-[10px] text-amber-500 block font-normal mt-0.5">SLA: 4 Hours</span>
                </div>
                <div class="p-3 rounded-2xl bg-rose-50 dark:bg-rose-950/40 border border-rose-200 dark:border-rose-800 text-rose-700">
                    <span>VIP</span>
                    <span class="text-[10px] text-rose-500 block font-normal mt-0.5">SLA: 1 Hour</span>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
