<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Login - Teratory SaaS</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700&display=swap" rel="stylesheet">
    <style>
        body { font-family: 'Plus Jakarta Sans', sans-serif; }
    </style>
</head>
<body class="bg-[#D1D5DB] min-h-screen flex items-center justify-center p-4">

    <div class="bg-white rounded-[40px] overflow-hidden shadow-2xl flex flex-col md:flex-row max-w-5xl w-full min-h-[600px]">
        
        <div class="md:w-1/2 bg-[#5B8C5A] pt-12 px-8 flex flex-col items-center justify-start text-white relative">
            <div class="relative z-10 text-center mt-4">
                <h1 class="text-5xl font-bold mb-4">Selamat Datang</h1>
                <p class="text-xl opacity-90">Masuk untuk memulai sesi anda</p>
            </div>
            
            <img src="{{ asset('images/login_girl.png') }}" alt="Staff Teratory" class="absolute bottom-0 left-0 w-full h-[70%] object-contain object-bottom pointer-events-none">
        </div>

        <div class="md:w-1/2 bg-[#D1D5DB] p-12 flex flex-col justify-center items-center text-center">
            
            <div class="mb-12">
                <img src="{{ asset('images/logo_teratory.png') }}" alt="Teratory Logo" class="h-16 mb-2 mx-auto">
            </div>

            <h2 class="text-4xl font-bold text-[#4B634B] mb-12">
                Masuk <br> Dengan Bitter ID
            </h2>

            <div class="w-full max-w-sm space-y-4">
                <a href="http://localhost/BITTER_ID/sso_authorize.php?client_id=TERATORY-SAAS&redirect_uri=http://localhost:8000" 
                   class="block w-full bg-[#5B8C5A] text-white text-xl font-semibold py-4 rounded-full hover:bg-[#4B634B] transition-all shadow-lg text-center">
                    Masuk
                </a>

                <a href="http://localhost/BITTER_ID/register" 
                   class="block w-full bg-white text-[#5B8C5A] border-2 border-[#5B8C5A] text-xl font-semibold py-4 rounded-full hover:bg-gray-50 transition-all text-center">
                    Buat Akun Bitter ID
                </a>

                <div class="pt-4">
                    <a href="http://localhost/BITTER_ID/forgot-password" class="text-sm text-[#4B634B] hover:underline">
                        Lupa Password? Masuk Akun Bitter ID
                    </a>
                </div>
            </div>

            <div class="mt-auto pt-12">
                <p class="text-sm text-gray-500">© Bitter Indo Sisnatama - 2026</p>
            </div>

        </div>
    </div>

</body>
</html>