        .chatbot-toggle-btn {
            position: fixed;
            bottom: 20px;
            right: 20px;
            background-color: #4285f4;
            color: #fff;
            border: none;
            padding: 15px;
            border-radius: 50%;
            font-size: 20px;
            cursor: pointer;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            z-index: 9999;
        }

        .chatbot-toggle-btn:hover {
            background-color: #5062d6;
        }

        /* Chatbot Container */
        .chatbot-container {
            display: flex;
            position: fixed;
            bottom: 80px;
            right: 20px;
            width: 360px;
            background-color: #ffffff;
            border-radius: 25px;
            box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
            flex-direction: column;
            overflow: hidden;
            z-index: 9998;
            opacity: 0;
            transform: scale(0.5);
            transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
            pointer-events: none;
        }

        .chatbot-container.active {
            opacity: 1;
            transform: translateY(0);
            pointer-events: auto;
        }

        /* Chatbot Header */
        .chatbot-header {
            background: #4285f4;
            color: #ffffff;
            padding: 16px;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .chatbot-header-left {
            display: flex;
            align-items: center;
            gap: 12px;
        }

        .chatbot-header-avatar {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            background-color: #ffffff;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .chatbot-header-avatar img {
            width: 30px;
            height: 30px;
        }

        .chatbot-header-info h3 {
            margin: 0;
            font-size: 1.2rem;
            font-weight: 600;
        }

        .chatbot-header-info p {
            margin: 0;
            font-size: 0.8rem;
            opacity: 0.9;
        }

        .chatbot-header-button-div {
            display: flex;
            gap: 8px;
            /* Space between header buttons */
        }

        .chatbot-header-button {
            background: none;
            border: none;
            color: #ffffff;
            font-size: 1.6rem;
            cursor: pointer;
            transition: transform 0.2s;
        }

        .chatbot-header-button:hover {
            transform: scale(1.1);
        }

        /* Chatbot Body */
        .chatbot-body {
            flex: 1;
            background-color: #ffffff;
            padding: 16px;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            border-top-right-radius: 20px;
            border-top-left-radius: 20px;
            height: 400px;
            scrollbar-width: thin;
            scrollbar-color: #c0bebe #f1f1f1;
        }

        .blue-back {
            background-color: #4285f4;
            padding: 6px;
        }

        .chatbot-suggestions {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin-bottom: 12px;
        }

        .chatbot-suggestions button {
            background-color: #f0f0ff;
            border: none;
            border-radius: 20px;
            padding: 6px 14px;
            cursor: pointer;
            color: #5a5a5a;
            font-size: 0.85rem;
            transition: background 0.2s;
        }

        .chatbot-suggestions button:hover {
            background-color: #e1e1ff;
        }

        /* Chat message bubbles with bullet markers */
        .chatbot-message-bot,
        .chatbot-message-user {
            max-width: 70%;
            margin-bottom: 12px;
            padding: 12px 12px 12px 28px;
            /* extra left padding for bullet */
            border-radius: 14px;
            line-height: 1.4;
            font-size: 0.9rem;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            word-wrap: break-word;
            overflow-wrap: break-word;
            position: relative;
        }

        /* Bot message bullet: green */
        .chatbot-message-bot::before {
            content: '●';
            color: green;
            position: absolute;
            left: 10px;
            font-size: 14px;
        }

        /* User message bullet: orange */
        .chatbot-message-user::before {
            content: '●';
            color: orange;
            position: absolute;
            left: 10px;
            font-size: 14px;
        }

        .chatbot-message-bot {
            background-color: #ffffff;
            color: #333333;
            align-self: flex-start;
            border-top-left-radius: 0;
        }

        .chatbot-message-user {
            background-color: #eff2fe;
            color: #333333;
            align-self: flex-end;
            border-top-right-radius: 0;
        }

        .chatbot-choices {
            display: flex;
            flex-direction: column;
            margin-top: 8px;
            gap: 8px;
        }

        .chatbot-choices button {
            background-color: #f8f8ff;
            border: 1px solid #d3d3f9;
            border-radius: 6px;
            padding: 6px 10px;
            text-align: left;
            cursor: pointer;
            font-size: 0.85rem;
            transition: background 0.2s;
        }

        .chatbot-choices button:hover {
            background-color: #ede7fe;
        }

        /* Chatbot Footer */
        .chatbot-footer {
            border-top: 1px solid #eee;
            padding: 10px;
            display: flex;
            align-items: center;
            gap: 8px;
            background-color: #ffffff;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }

        .chatbot-input {
            flex: 1;
            border: none;
            outline: none;
            font-size: 0.9rem;
        }

        .chatbot-footer button {
            background: none;
            border: none;
            cursor: pointer;
            font-size: 1.2rem;
            color: #888;
            transition: color 0.2s;
        }

        .chatbot-footer button:hover {
            color: #555;
        }

        .send-btn {
            color: #7347f5;
            font-size: 1.3rem;
        }
        /* Thinking bubble for bot */
.chatbot-message-bot.thinking {
    background-color: #ffffff;
    color: #333;
    align-self: flex-start;
    border-top-left-radius: 0;
    display: flex;
    gap: 6px;
    padding: 12px;
    padding-left: 20px;
    position: relative;
}


/* Dots */
.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: blue !important;
    animation: blink 1.4s infinite both;
}

.dot:nth-child(2) {
    background-color: red !important;
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    background-color: blue !important;
    animation-delay: 0.4s;
}

.chatbot-message-bot.thinking::before {
    content: '';
}

/* Blinking animation */
@keyframes blink {
    0%, 80%, 100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}