<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <title>Login - SIAS</title>
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body {
            /* Mengatur background image */
            background-image: url('assets/img/gedung.jpg');
            background-size: cover;          /* Memastikan gambar menutupi seluruh layar */
            background-position: center;     /* Memastikan gambar tetap di tengah */
            background-repeat: no-repeat;    /* Mencegah gambar berulang */
            background-attachment: fixed;    /* Agar background tidak bergerak saat scroll */
        }

        /* Memberikan efek redup agar teks lebih mudah dibaca */
        .overlay {
            <style>
    body {
        /* Gradasi biru muda cerah ke putih */
        background: linear-gradient(135deg, #e0eafc 0%, #cfdef3 100%);
        min-height: 100vh;
        margin: 0;
    }
</style>
</head>
<body>
    <div class="overlay d-flex justify-content-center align-items-center">
        <div class="card p-4 shadow" style="width: 100%; max-width: 400px;">
            <h3 class="text-center mb-4">Silahkan Login</h3>
            <form action="login_proses.php" method="POST">
                <div class="mb-3">
                    <label for="username" class="form-label">Username</label>
                    <input type="text" name="username" id="username" class="form-control" placeholder="Masukkan username" required>
                </div>
                <div class="mb-3">
                    <label for="password" class="form-label">Password</label>
                    <input type="password" name="password" id="password" class="form-control" placeholder="Masukkan password" required>
                </div>
                <button type="submit" name="login" class="btn btn-primary w-100">Login</button>
            </form>
        </div>
    </div>
</body>
</html>