<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login - Aplikasi Start App Jasa Servis AC</title>
    <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            background-color: #e9ecef;
            font-family: Arial, sans-serif;
        }
        .container {
            margin-top: 80px;
        }
        .form-container {
            background-color: #fff;
            padding: 30px;
            border-radius: 15px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        }
        .btn-custom {
            background-color: #007bff;
            color: white;
            font-size: 16px;
            font-weight: bold;
        }
        .btn-custom:hover {
            background-color: #0056b3;
        }
        .form-title {
            font-size: 28px;
            font-weight: bold;
            color: #343a40;
            text-align: center;
            margin-bottom: 20px;
        }
        footer {
            margin-top: 50px;
            color: #6c757d;
        }
    </style>
</head>
<body>

    <div class="container">
        <h2 class="form-title">Login</h2>
        <div class="row justify-content-center">
            <div class="col-md-6">
                <div class="form-container">
                    <form action="proses_login.php" method="POST">
                        <div class="form-group">
                            <label for="email">Email</label>
                            <input type="email" class="form-control" id="email" name="email" placeholder="Masukkan email Anda" required>
                        </div>
                        <div class="form-group">
                            <label for="password">Kata Sandi</label>
                            <input type="password" class="form-control" id="password" name="password" placeholder="Masukkan kata sandi" required>
                        </div>
                        <div class="form-group">
                            <label for="role">Pilih Peran</label>
                            <select class="form-control" id="role" name="role" required>
                                <option value="teknisi">Teknisi</option>
                                <option value="pelanggan">Pelanggan</option>
                            </select>
                        </div>
                        <button type="submit" class="btn btn-custom btn-block">Masuk</button>
                    </form>
                </div>
            </div>
        </div>
    </div>

    <footer class="text-center">
        <p>&copy; 2024 Aplikasi Start App Jasa Servis AC di Kabupaten Pidie. All rights reserved.</p>
    </footer>

    <script src="https://code.jquery.com/jquery-3.5.1.slim.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.9.2/dist/umd/popper.min.js"></script>
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js"></script>
</body>
</html>