<?php require_once 'includes/auth.php'; ?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <title>KSP Monitor</title>
    <link rel="stylesheet" href="assets/css/style.css">
    <script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
</head>
<body>
<div class="app-shell">
    <header class="top-header">
        <div class="header-left">
            <img src="logo/logo_circle1.png" alt="Logo" class="top-logo">
            <div>
                <h2>Krushi Sewa Piyasa</h2>
                <small>Monitoring Application</small>
            </div>
        </div>
        <div class="header-right">
            <span><?php echo htmlspecialchars($_SESSION['admin_user']['name']); ?></span>
            <a href="logout.php" class="logout-btn">Logout</a>
        </div>
    </header>
    <main class="content-area">