<?php 
include(__DIR__ . '/../config/config.php'); 
?>

<div class="d-flex">

    <!-- SIDEBAR -->
    <div style="width:250px; height:100vh; background:#1e3c72; color:white; padding:20px; position:fixed;">
        
        <h4 class="mb-4">🚀 Super Admin</h4>

        <!-- DASHBOARD -->
        <a href="<?= BASE_URL ?>dashboard.php" class="d-block text-white mb-3">
            🏠 Dashboard
        </a>

        <hr style="border-color:rgba(255,255,255,0.2);">

        <!-- LOCATION MANAGEMENT -->
        <small class="text-light">Location Management</small>

        <a href="<?= BASE_URL ?>districts/index.php" class="d-block text-white mt-2 mb-2">
            📍 Districts
        </a>

        <a href="<?= BASE_URL ?>blocks/index.php" class="d-block text-white mb-2">
            🏢 Blocks
        </a>

        <a href="<?= BASE_URL ?>villages/index.php" class="d-block text-white mb-3">
            🏡 Villages
        </a>

        <hr style="border-color:rgba(255,255,255,0.2);">

        <!-- USER MANAGEMENT -->
        <small class="text-light">User Management</small>

        <a href="<?= BASE_URL ?>village-admin/index.php" class="d-block text-white mt-2 mb-2">
            👨‍💼 Village Admin
        </a>
        <a href="<?= BASE_URL ?>sub-admin/index.php" class="d-block text-white mb-2">
    👤 Sub Admin
</a>

        <!-- FUTURE READY -->
        <!--
        <a href="<?= BASE_URL ?>sub-admin/index.php" class="d-block text-white mb-2">
            👤 Sub Admin
        </a>
        -->

        <hr style="border-color:rgba(255,255,255,0.2);">
        
        <a href="<?= BASE_URL ?>suspicious/index.php" class="d-block text-white mb-2">
    🚨 Suspicious Approvals
</a>

        <!-- LOGOUT -->
        <a href="<?= BASE_URL ?>auth/logout.php" class="d-block text-danger mt-3">
            🚪 Logout
        </a>

    </div>

    <!-- CONTENT AREA -->
    <div style="margin-left:260px; width:100%;" class="p-4">