<?php
// Load security constraints checks
include_once 'config.php';
?>
<div style="background: #1e293b; padding: 12px 20px; display: flex; justify-content: space-between; align-items: center; font-family: Arial, sans-serif; box-shadow: 0 2px 8px rgba(0,0,0,0.15); margin-bottom: 25px; border-radius: 4px;">
<div style="color: #f8fafc; font-weight: bold; font-size: 16px; letter-spacing: 0.5px;">
🌌 Story Universe Demographics Engine
</div>
<div style="display: flex; gap: 15px; align-items:center;">
<?php if (isset($_GET['story_id']) || isset($story_id)):
$sid_nav = $_GET['story_id'] ?? $story_id;
?>
<!-- Dynamic workspace jumping indicators -->
<a href="workspace.php?story_id=<?php echo $sid_nav; ?>" style="color: #cbd5e1; text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 4px;">👤 Character Canvas</a>
<a href="scenes.php?story_id=<?php echo $sid_nav; ?>" style="color: #cbd5e1; text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 4px; background:#0056b3;">🎬 Scenes Timeline</a>
<?php endif; ?>
<a href="index.php" style="color: #cbd5e1; text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 4px;">🚪 Gateway</a>
<?php if (is_admin()): ?>
<a href="modify_db.php" style="color: #cbd5e1; text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 4px; background: #1e3a8a;">🛠️ Dropdown Manager</a>
<a href="setup_db.php" style="color: #cbd5e1; text-decoration: none; font-size: 13px; font-weight: 600; padding: 6px 12px; border-radius: 4px; background: #991b1b;">⚙️ Reset Panel</a>
<?php endif; ?>
</div>
</div>
nav