<!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Portal de Factura Electrónica - Error</title>
  <script src="https://cdn.tailwindcss.com"></script>
  <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;600&display=swap" rel="stylesheet">

  <meta property="og:locale" content="es_SV" />
	<meta property="og:type" content="application" />
	<meta property="og:title" content="Factura Electrónica" />
	<meta property="og:description" content="Consulta tu factura electrónica" />
	<meta property="og:image" content="<?= $logo?>" />
  <meta property="og:site_name" content="Equipos y Servicios Tecnológicos" />

  <style>
    body { font-family: 'Inter', sans-serif; }
  </style>
</head>
<body class="bg-gradient-to-br from-gray-100 to-gray-200 min-h-screen flex flex-col items-center p-4">
  <!-- Header -->
  <header class="w-full max-w-4xl bg-white shadow-md rounded-2xl p-6 mb-8 flex flex-col sm:flex-row items-center justify-between">
    <div class="flex items-center gap-4">
      <img src="<?= $logo?>" alt="Logo Empresa" class="h-20">
      <h1 class="text-2xl font-bold text-gray-800"></h1>
    </div>
    <p class="text-sm text-gray-500 mt-4 sm:mt-0 text-center">
      <strong>Portal de factura electrónica</strong><br>
      <span >Accede a tus comprobantes fácilmente</span>
    </p>
    
  </header>

  <!-- Error Card -->
  <section class="w-full max-w-2xl bg-white rounded-2xl shadow-md p-6 flex flex-col items-center text-center">
    <div class="text-red-600 text-5xl mb-4">⚠️</div>
    <h2 class="text-2xl font-semibold text-gray-700 mb-2">Factura no disponible</h2>
    <p class="text-gray-600 mb-4">
      <?= $errMsg;?>
    </p>
  </section>

  <!-- Footer -->
  <!-- Footer -->
  <footer class="text-sm text-gray-500 mt-4 text-center">
    <a target="_blank" href="http://equis.com.sv">
      <img src="https://ronda-equissys.sfo3.cdn.digitaloceanspaces.com/miracle/assets/equis_logo-nbg-noname.png" alt="" width="100" class="mx-auto">
    </a>
    &copy; <?= date('Y');?> <a target="_blank" href="http://equis.com.sv">Equipos y Servicios Tecnol&oacute;gicos</a>. Todos los derechos reservados.
  </footer>
</body>
</html>
