<?php
// includes/403.php
require_once __DIR__ . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR . 'config' . DIRECTORY_SEPARATOR . 'app.php';
?><!DOCTYPE html>
<html lang="es"><head>
<meta charset="UTF-8"/><meta name="viewport" content="width=device-width,initial-scale=1.0"/>
<title>403 — Acceso Denegado · SIGVP</title>
<link href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" rel="stylesheet"/>
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;700&display=swap" rel="stylesheet"/>
<style>
  body{background:#0d1117;color:#e6edf3;font-family:'Sora',sans-serif;display:flex;align-items:center;justify-content:center;min-height:100vh;margin:0;}
  .box{text-align:center;max-width:420px;padding:32px;}
  .code{font-size:80px;font-weight:700;color:#ff9d93;line-height:1;}
  .msg{color:#8b949e;font-size:14px;margin:12px 0 24px;}
  .btn-back{background:#2ea8ff;border:none;color:#fff;border-radius:8px;padding:10px 24px;font-weight:700;text-decoration:none;font-size:14px;}
</style>
</head><body>
<div class="box">
  <div class="code">403</div>
  <h4 style="margin:12px 0 4px;">Acceso Denegado</h4>
  <p class="msg">No tienes permiso para acceder a esta sección.<br>Contacta al administrador si crees que es un error.</p>
  <a href="<?= BASE_URL ?>/auth/login.php" class="btn-back">← Volver al inicio</a>
</div>
</body></html>
