@extends('layouts.salary-app')

@section('title', 'Super Deductions')

@section('content')
<div class="max-w-7xl mx-auto">
    <div class="bg-white rounded-xl shadow-sm border border-slate-200 overflow-hidden">
        <div class="bg-gradient-to-r from-red-600 to-red-700 px-6 py-4">
            <h2 class="text-xl font-bold text-white flex items-center gap-2">
                <i class="fas fa-exclamation-triangle"></i>
                Super Deductions
            </h2>
            <p class="text-red-100 text-sm mt-1">Deductions exceeding KES 45,000 requiring special approval</p>
        </div>
        
        <div class="p-6">
            <div class="bg-amber-50 border-l-4 border-amber-500 p-4 rounded mb-6">
                <div class="flex items-start gap-3">
                    <i class="fas fa-info-circle text-amber-600 text-xl mt-0.5"></i>
                    <div>
                        <p class="font-semibold text-amber-800">Super Deduction Information</p>
                        <p class="text-sm text-amber-700 mt-1">
                            Super deductions are for amounts exceeding the standard limit of KES 45,000. 
                            These deductions require additional approval from HR or Administration.
                        </p>
                        <a href="{{ route('salary.super-deductions.create') }}" class="inline-flex items-center gap-2 mt-3 text-sm bg-red-600 text-white px-4 py-2 rounded-lg hover:bg-red-700">
                            <i class="fas fa-plus-circle"></i> Create Super Deduction
                        </a>
                    </div>
                </div>
            </div>
            
            <div class="text-center py-12 text-slate-400">
                <i class="fas fa-inbox text-4xl mb-3 block"></i>
                <p>No super deductions found</p>
                <a href="{{ route('salary.super-deductions.create') }}" class="text-red-600 hover:underline text-sm mt-2 inline-block">
                    Create your first super deduction
                </a>
            </div>
        </div>
    </div>
</div>
@endsection