/* [21 Okt 2026] Dipindah dari templates/base.html agar di-cache browser/app (30 hari; ganti ?v= di template saat mengubah). EDIT DI FILE INI. */
        .floating-icon {
            position: fixed;
            bottom: 20px;
            right: 20px;
            width: 50px;
            height: 50px;
            background-color: #0d6efd;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: white;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            z-index: 1050;
        }

        .floating-icon:hover {
            background-color: #0b5ed7;
        }

        /* Floating icon khusus untuk chat atau log */
        .floating-icon-log {
            position: fixed;
            bottom: 90px;
            right: 20px;
            width: 50px;
            height: 50px;
            background-color: #ffc107;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            color: black;
            cursor: pointer;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
            z-index: 1050;
        }

        /* Perkecil ukuran teks pada modal chat title */
        .chatModalLabel {
            font-size: 8px;
            /* Atur ukuran teks sesuai kebutuhan */
        }

        .floating-panel-header {
            padding: 8px;
            background-color: #0d6efd;
            color: white;
            cursor: move;
        }

        .floating-panel-body {
            padding: 8px;
            max-height: 400px;
            overflow-y: auto;
        }

        /* Added CSS for floating panels */
        .floating-panel {
            position: fixed;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 80%;
            max-width: 800px;
            background-color: white;
            border-radius: 8px;
            box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
            z-index: 1040;
            display: none;
        }

        /* === PERBAIKAN CSS UNTUK RESPONSIVE MOBILE === */
        @media (max-width: 767px) {
            .floating-panel {
                width: 95%;
                /* Buat panel lebih lebar di layar kecil */
                top: 20px;
                /* Posisikan dekat bagian atas layar */
                left: 2.5%;
                /* Atur posisi kiri untuk membuatnya di tengah */
                transform: none;
                /* Hapus transform agar properti top dan left bekerja */
                max-height: 70vh;
                /* Batasi tinggi maksimum agar tidak keluar layar */
            }

            .floating-panel-body {
                /* Sesuaikan tinggi body panel agar scroll bekerja dengan baik */
                max-height: calc(70vh - 50px);
            }
        }

        /* Fix dropdown menu */
        .dropdown-menu {
            min-width: 200px;
        }

        .dropdown-item {
            padding: 0.5rem 1rem;
        }

        /* Generic Toast Styles */
        .toast-container {
            z-index: 1060;
        }
        .toast {
            opacity: 0;
            transition: opacity 0.3s ease-in-out;
        }
        .toast.show {
            opacity: 1;
        }
    
