<!DOCTYPE html>
<html lang="fr">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?= htmlspecialchars($title ?? 'ADVANCED Payroll') ?></title>
    
    <!-- CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    
    <!-- Bootstrap Icons -->
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
    
    <!-- Votre CSS personnalisé -->
    <link href="/assets/css/app.css" rel="stylesheet">

    <!-- Chart.js (optionnel) -->
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>

</head>
<body>
    <?php include __DIR__.'/../partials/header.php'; ?>
    
    <main class="container-fluid">
        <?php require $contentView; ?>
    </main>

    <?php include __DIR__.'/../partials/footer.php'; ?>

    <!-- JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
    
    <!-- Chart.js (optionnel) -->
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
    
    <!-- Votre JS personnalisé -->
    <script src="/assets/js/app.js"></script>
</body>
</html>