<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Smart Teacher Attendance System</title>
    <link rel="stylesheet" href="assets/css/theme.css">
    <link rel="stylesheet" href="assets/css/components.css">
    <link rel="stylesheet" href="assets/css/layout.css">
</head>
<body>
    <div id="toast-container" class="toast-container"></div>
    <div id="app">
        <!-- Navbar -->
        <nav class="navbar">
            <a href="index.php" class="navbar-logo">TeacherTrack</a>
            <div style="display:flex; gap:1rem; align-items:center;">
                <button id="theme-toggle" class="btn btn-outline" style="padding:0.5rem 1rem;">🌙 Theme</button>
                            </div>
        </nav>

        <div id="main-container">
                            <!-- Landing & Login Page -->
                <div style="max-width: 1200px; margin: 0 auto; padding: 4rem 2rem;">
                    <div style="text-align:center; margin-bottom: 3rem;">
                        <h1 style="font-size: 3rem; font-weight: 800; margin-bottom: 1rem;">Smart Teacher Attendance System</h1>
                        <p style="font-size: 1.25rem; color: var(--muted-foreground);">Comprehensive lesson observation and teacher supervision platform</p>
                    </div>
                    <div style="display:grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 2rem; margin-bottom: 4rem;">
                        <div class="card">
                            <h3>Teacher Dashboard</h3>
                            <p>GPS tracking, check-ins, lesson planner, schemes & offline sync.</p>
                        </div>
                        <div class="card">
                            <h3>Supervisor Tools</h3>
                            <p>Scored lesson observations, ratings, and feedback sharing.</p>
                            <a href="supervisor.php" class="btn btn-secondary" style="margin-top:1rem;">Access Supervisor Dashboard</a>
                        </div>
                        <div class="card">
                            <h3>Admin Panel</h3>
                            <p>Advanced reporting, time exclusions, HOD schemes & live analytics.</p>
                        </div>
                    </div>

                    <!-- Login Card -->
                    <div class="card" style="max-width: 500px; margin: 0 auto;">
                        <h2 style="margin-top:0;">E Lesson Monitoring Tool</h2>
                        <p style="color:var(--muted-foreground); margin-bottom: 2rem;">Sign in to access your personalized dashboard</p>
                        <form id="login-form">
                            <div style="margin-bottom: 1.5rem;">
                                <label style="display:block; margin-bottom:0.5rem; font-weight:500;">Email</label>
                                <input type="email" id="login-email" required placeholder="teacher@elesson.com">
                            </div>
                            <div style="margin-bottom: 1.5rem;">
                                <label style="display:block; margin-bottom:0.5rem; font-weight:500;">Password</label>
                                <input type="password" id="login-password" required placeholder="••••••••">
                            </div>
                            <button type="submit" class="btn btn-secondary" style="width:100%; height:48px;">Sign In</button>
                        </form>
                    </div>
                </div>
                    </div>
    </div>

    <script type="module" src="assets/js/app.js"></script>
</body>
</html>
