<!DOCTYPE html>
<html lang="ro">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title><?= esc($pageTitle ?? 'Dashboard') ?> | Splash Academy</title>
    <?= vite_tags() ?>
</head>
<body class="page-shell">
    <?= view('partials/topbar', ['pageTitle' => $pageTitle ?? 'Dashboard']) ?>

    <main class="mx-auto max-w-7xl px-4 py-6 sm:px-6 lg:px-8 lg:py-8">
        <?= view('partials/flash') ?>
        <?= $this->renderSection('content') ?>
    </main>
</body>
</html>
