<?php
error_reporting(E_ALL);
ini_set('display_errors', 1);
session_start();
?>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Session Completed | RS Learning Lab</title>

    <link rel="stylesheet" href="assets/css/style.css">
    <link rel="stylesheet" href="assets/css/custom.css">

    <style>
        body {
            background-color: #0b0f1a;
            color: #e5e7eb;
            font-family: 'Segoe UI', sans-serif;
            margin: 0;
        }

        .page {
            max-width: 900px;
            margin: 90px auto;
            padding: 20px;
            text-align: center;
        }

        .card {
            background: #111827;
            border-radius: 16px;
            padding: 40px;
            box-shadow: 0 0 35px rgba(0,0,0,0.5);
        }

        h1 {
            margin-bottom: 12px;
        }

        p {
            font-size: 16px;
            opacity: 0.85;
        }

        .summary {
            text-align: left;
            margin-top: 30px;
            background: #020617;
            border-radius: 12px;
            padding: 20px;
        }

        .summary ul {
            margin: 0;
            padding-left: 20px;
        }

        .btn {
            display: inline-block;
            margin-top: 30px;
            padding: 12px 22px;
            background: #0ea5e9;
            color: #fff;
            border-radius: 8px;
            text-decoration: none;
            font-weight: 600;
        }

        .note {
            margin-top: 18px;
            font-size: 13px;
            opacity: 0.7;
        }
    </style>
</head>
<body>

<div class="page">

    <div class="card">
        <h1>✅ Facilitated Session Completed</h1>
        <p>
            The class session setup has been successfully completed.
        </p>

        <div class="summary">
            <h3>What happens next</h3>
            <ul>
                <li>Teacher conducts the assessment in the classroom</li>
                <li>Student responses are collected (manual / OMR)</li>
                <li>Learning styles are analysed</li>
                <li>Learning Passport is generated</li>
            </ul>
        </div>

        <a href="dashboard/index.php" class="btn">
            Return to Dashboard
        </a>

        <div class="note">
            Demo note: In the full version, this step leads to automated
            response processing and learning style reports.
        </div>
    </div>

</div>

</body>
</html>
