<?php
header('Content-Type: application/json; charset=utf-8');
mb_internal_encoding('UTF-8');

session_start();
unset($_SESSION['demo_user']);
unset($_SESSION['demo_username']);
unset($_SESSION['demo_role']);
unset($_SESSION['demo_ship_id']);

echo json_encode(['success' => true, 'message' => 'Sesión demo cerrada']);
exit;

