<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title><%= title %> · EP School Management System</title>
  <link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@600;700&family=Inter:wght@400;500;600&display=swap" rel="stylesheet">
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
  <link rel="stylesheet" href="/css/style.css">
</head>
<body>
  <div class="error-shell">
    <i class="fa-solid fa-triangle-exclamation"></i>
    <h2><%= title %></h2>
    <p style="color:var(--muted); max-width:380px; text-align:center;"><%= message %></p>
    <a href="/dashboard" class="btn btn-primary">Back to Dashboard</a>
  </div>
</body>
</html>
