@extends('layouts.app')

@section('content')
<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <div class="d-flex justify-content-between align-items-center mb-4">
                <h1><i class="fas fa-chart-line"></i> Risorse Economiche</h1>
                <a href="{{ route('admin.risorse-economiche.create') }}" class="btn btn-primary">
                    <i class="fas fa-plus"></i> Nuova Risorsa
                </a>
            </div>

            {{-- Dashboard Risorse --}}
            <div class="row mb-4">
                <div class="col-md-3">
                    <div class="card text-center">
                        <div class="card-body">
                            <h5 class="card-title">Budget Totale</h5>
                            <h3 class="text-success">€ 150.000</h3>
                        </div>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="card text-center">
                        <div class="card-body">
                            <h5 class="card-title">Utilizzato</h5>
                            <h3 class="text-warning">€ 89.500</h3>
                        </div>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="card text-center">
                        <div class="card-body">
                            <h5 class="card-title">Disponibile</h5>
                            <h3 class="text-primary">€ 60.500</h3>
                        </div>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="card text-center">
                        <div class="card-body">
                            <h5 class="card-title">Investimenti</h5>
                            <h3 class="text-info">€ 25.000</h3>
                        </div>
                    </div>
                </div>
            </div>

            <div class="card">
                <div class="card-header">
                    <h5>Gestione Risorse Economiche</h5>
                </div>
                <div class="card-body">
                    <p>Funzionalità in fase di implementazione...</p>
                </div>
            </div>
        </div>
    </div>
</div>
@endsection
