<?php
$pageTitle = $pageTitle ?? 'Notifier';
$currentPage = basename($_SERVER['PHP_SELF'], '.php');
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title><?= htmlspecialchars($pageTitle) ?> - Notifier</title>
    <?php if (function_exists('renderAppConfig')) renderAppConfig(); ?>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css">
    <script>
        tailwind.config = {
            theme: {
                extend: {
                    fontFamily: { sans: ['Inter', 'system-ui', 'sans-serif'] }
                }
            }
        }
    </script>
    <style>
        * { letter-spacing: -0.01em; }
        body { font-size: 13px; }
        .card { transition: all 0.15s ease; }
        .card:hover { transform: translateY(-2px); box-shadow: 0 8px 25px -5px rgba(0,0,0,0.1); }
        .nav-link { transition: all 0.15s ease; }
        .btn { transition: all 0.15s ease; }
        .btn:active { transform: scale(0.98); }
        input:focus, select:focus, textarea:focus { outline: none; box-shadow: 0 0 0 2px rgba(99,102,241,0.2); }
    </style>
</head>
<body class="bg-slate-50 text-slate-900 min-h-screen h-full">
