<?php
session_start();
require_once(__DIR__ . "/../config/db.php");

if (!isset($_SESSION['institution_id']) || $_SESSION['institution_type'] !== 'school') {
    header("Location: /rs_lab/institution/login.php");
    exit;
}
?>
<!DOCTYPE html>
<html>
<head>
    <title>Learning Style Assessment | RS Learning Lab</title>
    <style>
        body {
            font-family: Arial;
            background: radial-gradient(circle at top, #0f172a, #020617);
            color: #e5e7eb;
            padding: 40px;
        }
        .card {
            max-width: 800px;
            margin: auto;
            background: rgba(15,23,42,0.95);
            padding: 30px;
            border-radius: 16px;
            box-shadow: 0 0 30px rgba(11,140,159,0.2);
        }
        button {
            margin-top: 20px;
            padding: 12px 20px;
            border: none;
            border-radius: 10px;
            background: linear-gradient(135deg,#0b8c9f,#14b8a6);
            color: #fff;
            cursor: pointer;
        }
    </style>
</head>
<body>

<div class="card">
    <h2>🧠 Learning Style Assessment</h2>
    <p>
        Choose how you want to conduct the assessment for students.
        This focuses on learning behaviour, not marks.
    </p>

    <button onclick="location.href='facilitated_mode.php'">
        Facilitated Mode (Teacher-led)
    </button>

    <button onclick="location.href='self_assessment.php'">
        Self Assessment (Student-driven)
    </button>

    <br><br>
    <button onclick="history.back()">⬅ Back to Dashboard</button>
</div>

</body>
</html>
