@extends('layouts.app')

@section('title', 'Renewal & Expiry Reminders')

@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">Renewal & Expiry Reminder Rules</h1>
        <p class="text-xs text-slate-500">Configure compliance document reminder intervals and escalation rules.</p>
    </div>

    <!-- Renewal Reminder Cards (Requirements 49-51) -->
    <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-4 text-xs">
        <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 & Employee Document Reminder Rules</h3>

        <div class="space-y-4">
            <div class="p-4 rounded-2xl bg-slate-50 dark:bg-slate-900 border border-slate-200 dark:border-slate-700 space-y-2">
                <h4 class="font-bold text-slate-800 dark:text-slate-200">Scheduled Days Before Expiry</h4>
                <div class="flex items-center space-x-2 rtl:space-x-reverse font-bold text-sky-600">
                    <span class="px-3 py-1 bg-sky-100 dark:bg-sky-950 rounded-lg">90 Days</span>
                    <span class="px-3 py-1 bg-sky-100 dark:bg-sky-950 rounded-lg">60 Days</span>
                    <span class="px-3 py-1 bg-sky-100 dark:bg-sky-950 rounded-lg">30 Days</span>
                    <span class="px-3 py-1 bg-sky-100 dark:bg-sky-950 rounded-lg">15 Days</span>
                    <span class="px-3 py-1 bg-amber-100 dark:bg-amber-950 text-amber-700 rounded-lg">7 Days</span>
                    <span class="px-3 py-1 bg-rose-100 dark:bg-rose-950 text-rose-700 rounded-lg">1 Day</span>
                </div>
            </div>

            <div class="p-4 rounded-2xl bg-slate-50 dark:bg-slate-900 border border-slate-200 dark:border-slate-700 space-y-2">
                <h4 class="font-bold text-slate-800 dark:text-slate-200">Escalation Matrix</h4>
                <div class="space-y-1 text-slate-600 dark:text-slate-400">
                    <p>• <strong>60 Days:</strong> HR / Compliance Officer In-App Notification</p>
                    <p>• <strong>30 Days:</strong> HR + Employee Email / WhatsApp</p>
                    <p>• <strong>7 Days:</strong> Urgent Escalation to Branch Manager</p>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
