<!DOCTYPE html>
<html lang="es">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Dashboard Caja</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css" rel="stylesheet">
</head>

<body class="bg-gray-100 flex items-center justify-center min-h-screen">
    <div class="bg-white p-8 rounded-lg shadow-2xl w-full max-w-4xl">
        <h2 class="text-3xl font-bold text-gray-800 mb-6 text-center">Gestion de Cajas</h2>
        <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-6 mb-8">
            <a href="pagos.php"
                class="bg-blue-600 text-white p-6 rounded-lg hover:bg-blue-700 transition duration-300 transform hover:scale-105 text-center">
                <i class="fas fa-money-bill-wave text-4xl mb-4"></i>
                <h3 class="text-xl font-semibold">Pagos</h3>
                <p class="text-sm">Gestionar pagos</p>
            </a>
            <a href="ingresos.php"
                class="bg-green-600 text-white p-6 rounded-lg hover:bg-green-700 transition duration-300 transform hover:scale-105 text-center">
                <i class="fas fa-arrow-down text-4xl mb-4"></i>
                <h3 class="text-xl font-semibold">Ingresos</h3>
                <p class="text-sm">Gestionar ingresos</p>
            </a>
            <a href="egresos.php"
                class="bg-red-600 text-white p-6 rounded-lg hover:bg-red-700 transition duration-300 transform hover:scale-105 text-center">
                <i class="fas fa-arrow-up text-4xl mb-4"></i>
                <h3 class="text-xl font-semibold">Egresos</h3>
                <p class="text-sm">Gestionar egresos</p>
            </a>
            <a href="reporte.php"
                class="bg-purple-600 text-white p-6 rounded-lg hover:bg-purple-700 transition duration-300 transform hover:scale-105 text-center">
                <i class="fas fa-file-alt text-4xl mb-4"></i>
                <h3 class="text-xl font-semibold">Reporte</h3>
                <p class="text-sm">Generar reportes</p>
            </a>
        </div>
        <!-- Botón para volver a la página principal -->
        <div class="text-center">
            <a href="../../index.php"
                class="bg-gray-600 text-white py-2 px-4 rounded-lg hover:bg-gray-700 transition duration-300 inline-flex items-center">
                <i class="fas fa-arrow-left mr-2"></i>
                Volver a la Página Principal
            </a>
        </div>
    </div>
</body>

</html>