<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>@yield('title', 'BKKBN Kecamatan Kanigoro')</title>
    <script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
    <link rel="stylesheet"
        href="https://fonts.googleapis.com/css2?family=Material+Symbols+Rounded:opsz,wght,FILL,GRAD@48,400,1,0" />

    @vite(['resources/css/app.css', 'resources/css/chatbot.css', 'resources/js/app.js', 'resources/js/chatbot.js'])
</head>

<body class="bg-gray-200 font-sans">

    <main>

    </main>

    <div class="chatbot-toggler-wrapper">
        <div class="toggler-tooltip">
            Tanya Asisten Virtual
        </div>
        <button class="chatbot-toggler">
            <span class="chat-icon material-symbols-rounded">chat_bubble</span>
        </button>
    </div>

    <div class="chatbot-container">
        <div class="chatbot-header">
            <h2>Asisten Virtual BKKBN</h2>
            <span class="close-btn material-symbols-rounded">close</span>
        </div>
        <ul class="chatbox">
            <li class="chat incoming">
                <span class="material-symbols-rounded">smart_toy</span>
                <p>Halo! 👋<br>Saya adalah asisten virtual BKKBN. Ada yang bisa saya bantu terkait program keluarga
                    berencana atau pencegahan stunting?</p>
            </li>
        </ul>
        <div class="chat-input">
            <textarea placeholder="Ketik pesan..." required></textarea>
            <span id="send-btn" class="material-symbols-rounded">send</span>
        </div>
    </div>

</body>

</html>
