<x-layout.universal pageTitle="NetGesCon" showBreadcrumb="true" showSidebar="true">
<div class="container-fluid">
    <div class="row">
        <div class="col-12">
            <div class="card">
                <div class="card-header d-flex justify-content-between align-items-center">
                    <h3 class="card-title mb-0">
                        <i class="fa-solid fa-paperclip me-2"></i>
                        Allegati e Documenti
                    </h3>
                    <a href="{{ route('admin.allegati.create') }}" class="btn btn-primary">
                        <i class="fa-solid fa-plus me-1"></i>
                        Nuovo Allegato
                    </a>
                </div>
                <div class="card-body">
                    <div class="alert alert-info">
                        <i class="fa-solid fa-info-circle me-2"></i>
                        <strong>Funzionalità in sviluppo</strong><br>
                        Questa sezione conterrà la gestione completa degli allegati e documenti.
                    </div>
                    
                    <div class="row">
                        <div class="col-md-6">
                            <div class="card border-primary">
                                <div class="card-body">
                                    <h5 class="card-title">
                                        <i class="fa-solid fa-folder-open text-primary me-2"></i>
                                        Documenti Recenti
                                    </h5>
                                    <p class="card-text">Visualizza gli ultimi documenti caricati nel sistema</p>
                                    <a href="#" class="btn btn-primary">Visualizza Recenti</a>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card border-success">
                                <div class="card-body">
                                    <h5 class="card-title">
                                        <i class="fa-solid fa-cloud-upload-alt text-success me-2"></i>
                                        Caricamento Multiplo
                                    </h5>
                                    <p class="card-text">Carica più documenti contemporaneamente</p>
                                    <a href="#" class="btn btn-success">Carica Multipli</a>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="row mt-3">
                        <div class="col-md-6">
                            <div class="card border-info">
                                <div class="card-body">
                                    <h5 class="card-title">
                                        <i class="fa-solid fa-search text-info me-2"></i>
                                        Ricerca Avanzata
                                    </h5>
                                    <p class="card-text">Cerca documenti per tipo, data, contenuto o categoria</p>
                                    <a href="#" class="btn btn-info">Ricerca Documenti</a>
                                </div>
                            </div>
                        </div>
                        <div class="col-md-6">
                            <div class="card border-secondary">
                                <div class="card-body">
                                    <h5 class="card-title">
                                        <i class="fa-solid fa-archive text-secondary me-2"></i>
                                        Archivio Completo
                                    </h5>
                                    <p class="card-text">Consulta l'archivio documentale completo</p>
                                    <a href="#" class="btn btn-secondary">Visualizza Archivio</a>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row mt-4">
                        <div class="col-12">
                            <div class="card border-warning">
                                <div class="card-body">
                                    <h5 class="card-title">
                                        <i class="fa-solid fa-chart-pie text-warning me-2"></i>
                                        Statistiche di Utilizzo
                                    </h5>
                                    <div class="row">
                                        <div class="col-md-3">
                                            <div class="text-center">
                                                <div class="h4 text-primary">0</div>
                                                <small class="text-muted">Documenti Totali</small>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="text-center">
                                                <div class="h4 text-success">0 MB</div>
                                                <small class="text-muted">Spazio Utilizzato</small>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="text-center">
                                                <div class="h4 text-info">0</div>
                                                <small class="text-muted">Caricati Oggi</small>
                                            </div>
                                        </div>
                                        <div class="col-md-3">
                                            <div class="text-center">
                                                <div class="h4 text-warning">PDF</div>
                                                <small class="text-muted">Formato Prevalente</small>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row mt-4">
                        <div class="col-12">
                            <div class="card border-dark">
                                <div class="card-body">
                                    <h5 class="card-title">
                                        <i class="fa-solid fa-layer-group text-dark me-2"></i>
                                        Categorie Documenti
                                    </h5>
                                    <div class="row">
                                        <div class="col-md-2">
                                            <div class="text-center">
                                                <div class="bg-primary text-white rounded-circle d-inline-flex align-items-center justify-content-center mb-2" style="width: 40px; height: 40px;">
                                                    <i class="fa-solid fa-file-contract"></i>
                                                </div>
                                                <h6 class="small">Contratti</h6>
                                            </div>
                                        </div>
                                        <div class="col-md-2">
                                            <div class="text-center">
                                                <div class="bg-success text-white rounded-circle d-inline-flex align-items-center justify-content-center mb-2" style="width: 40px; height: 40px;">
                                                    <i class="fa-solid fa-file-invoice"></i>
                                                </div>
                                                <h6 class="small">Fatture</h6>
                                            </div>
                                        </div>
                                        <div class="col-md-2">
                                            <div class="text-center">
                                                <div class="bg-info text-white rounded-circle d-inline-flex align-items-center justify-content-center mb-2" style="width: 40px; height: 40px;">
                                                    <i class="fa-solid fa-file-alt"></i>
                                                </div>
                                                <h6 class="small">Preventivi</h6>
                                            </div>
                                        </div>
                                        <div class="col-md-2">
                                            <div class="text-center">
                                                <div class="bg-warning text-white rounded-circle d-inline-flex align-items-center justify-content-center mb-2" style="width: 40px; height: 40px;">
                                                    <i class="fa-solid fa-users"></i>
                                                </div>
                                                <h6 class="small">Verbali</h6>
                                            </div>
                                        </div>
                                        <div class="col-md-2">
                                            <div class="text-center">
                                                <div class="bg-danger text-white rounded-circle d-inline-flex align-items-center justify-content-center mb-2" style="width: 40px; height: 40px;">
                                                    <i class="fa-solid fa-envelope"></i>
                                                </div>
                                                <h6 class="small">Comunicazioni</h6>
                                            </div>
                                        </div>
                                        <div class="col-md-2">
                                            <div class="text-center">
                                                <div class="bg-secondary text-white rounded-circle d-inline-flex align-items-center justify-content-center mb-2" style="width: 40px; height: 40px;">
                                                    <i class="fa-solid fa-folder"></i>
                                                </div>
                                                <h6 class="small">Altro</h6>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</x-layout.universal>