<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Airunner - <?= $pageTitle ?? 'Dashboard' ?></title>
    <link rel="stylesheet" href="/lead-management/public/assets/css/app.css">
</head>

<body>
    <div class="app-container">
        <?php
        // Show sidebar for dashboard pages
        if (!isset($hideSidebar) || !$hideSidebar) {
            include __DIR__ . '/sidebar.php';
        }
        ?>

        <main class="main-content">
            <?php include __DIR__ . '/header.php'; ?>

            <div class="content-wrapper">
                <?= $content ?? '' ?>
            </div>
        </main>
    </div>
    <script type="module" src="/lead-management/public/assets/js/main.js"></script>

    <script src="/lead-management/public/assets/js/app.js"></script>
</body>

</html>