<?php
// Página de Depósito Exitoso (Big4pay)
if (session_status() === PHP_SESSION_NONE) { session_start(); }
if (!defined('BASE_PATH')) { define('BASE_PATH', dirname(dirname(__DIR__))); }
require_once BASE_PATH . '/modules/shared/helpers.php';
?><!DOCTYPE html>
<html lang="es">
<head>
  <meta charset="utf-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1" />
  <title>Depósito Exitoso</title>
  <style>
    body { font-family: Arial, sans-serif; background:#f7fafc; color:#1a202c; margin:0; }
    .box { max-width: 560px; margin: 80px auto; background:#fff; border:1px solid #e2e8f0; border-radius:8px; padding:24px; text-align:center; }
    h1 { font-size: 22px; margin: 0 0 8px; }
    p { font-size: 16px; margin: 0 0 16px; }
    a { color:#2b6cb0; text-decoration:none; }
    .btn { display:inline-block; padding:10px 16px; border-radius:6px; background:#2b6cb0; color:#fff; }
  </style>
  </head>
<body>
  <div class="box">
    <h1>Depósito exitoso</h1>
    <p>Tu pago fue procesado correctamente.</p>
    <p><a class="btn" href="<?php echo module_url('client_portal/dashboard.php'); ?>">Volver al CRM</a></p>
  </div>
</body>
</html>