<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>School</title>
    <link rel="stylesheet" href="/css/styles.css"> <!-- Adjust the path accordingly -->
    <link href="<?= base_url('assets/images/favicon.ico') ?>" rel="icon">
</head>

<body>
    <div class="container">
        <div class="left-side">
            Al Rahma Sunday School
            <!-- Add the logo image below the text -->
            <img src="<?= base_url('assets/images/logo.png') ?>" alt="School Logo" class="logo"> <!-- Adjust the path accordingly -->
        </div>
        <div class="right-side">
            <div class="login-container">
                <h2>Login to your account</h2>
                <div class="social-login">
                    <a href="#" class="facebook">f</a>
                    <a href="#" class="google">G+</a>
                    <a href="#" class="linkedin">in</a>
                </div>
                <p>____________________ OR ____________________</p>
                <form method="post" action="/user/login">
                    <?= csrf_field(); ?>
                    <div class="form-group">
                        <label for="email">Email:</label>
                        <input type="email" id="email" name="email" required>
                    </div>
                    <div class="form-group">
                        <label for="password">Password:</label>
                        <input type="password" id="password" name="password" required>
                    </div>
                    <div class="form-actions">
                        <button type="submit">Login</button>
                        <div class="form-links">
                            <a href="/register">Register</a>
                            <a href="/forgot_password">Forgot Password</a>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</body>

</html>