    /* Chatbot Styles */
    .chatbot-widget {
        position: fixed;
        bottom: 24px;
        right: 24px;
        z-index: 9999;
        font-family: 'Montserrat', sans-serif;
        display: flex;
        flex-direction: column;
        align-items: flex-end;
    }

    /* Toggle Button */
    .chatbot-toggle {
        width: 70px;
        height: 70px;
        border-radius: 50%;
        background-color: #619CA3;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
        overflow: visible;
    }

    .chatbot-toggle:hover {
        background-color: #4d8289;
        transform: scale(1.1);
    }

    .chatbot-toggle.open {
        background-color: #6B7280;
    }

    .chatbot-toggle.open:hover {
        background-color: #4B5563;
        transform: scale(1);
    }

    .chatbot-icon {
        width: 50px;
        height: 50px;
        color: white;
    }

    .chatbot-close-icon {
        width: 28px;
        height: 28px;
        color: white;
    }

    /* Chat Window */
    .chatbot-window {
        width: 350px;
        height: 500px;
        background-color: white;
        border-radius: 16px;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border: 1px solid #F3F4F6;
        display: flex;
        flex-direction: column;
        margin-bottom: 16px;
        overflow: hidden;
        transition: all 0.2s ease-in-out;
        opacity: 0;
        transform: translateY(20px);
        pointer-events: none;
        position: absolute;
        bottom: 80px;
        right: 0;
    }

    .chatbot-window.visible {
        opacity: 1;
        transform: translateY(0);
        pointer-events: all;
    }

    @media (min-width: 640px) {
        .chatbot-window {
            width: 400px;
        }
    }

    /* Header */
    .chatbot-header {
        background-color: #619CA3;
        padding: 16px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        color: white;
    }

    .header-info {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .header-title h3 {
        font-weight: 600;
        font-size: 16px;
        margin: 0;
        line-height: 1.2;
    }

    .header-title p {
        font-size: 12px;
        color: #EFF6FF;
        margin: 0;
    }

    .header-actions button {
        background: transparent;
        border: none;
        color: white;
        cursor: pointer;
        padding: 4px;
        border-radius: 9999px;
        transition: background-color 0.2s;
        font-size: 12px;
    }

    .header-actions button:hover {
        background-color: rgba(255, 255, 255, 0.2);
    }

    /* Messages Area */
    .chatbot-messages {
        flex: 1;
        overflow-y: auto;
        overflow-x: hidden;
        /* Fix unwanted horizontal scroll */
        padding: 16px;
        background-color: #F9FAFB;
        display: flex;
        flex-direction: column;
        gap: 16px;
    }

    .message {
        display: flex;
        width: 100%;
    }

    .message.user {
        justify-content: flex-end;
    }

    .message.assistant {
        justify-content: flex-start;
    }

    .message-bubble {
        max-width: 80%;
        padding: 12px;
        border-radius: 16px;
        font-size: 14px;
        line-height: 1.5;
    }

    .message.user .message-bubble {
        background-color: #619CA3;
        color: white;
        border-bottom-right-radius: 0;
    }

    .message.assistant .message-bubble {
        background-color: white;
        color: #1F2937;
        border: 1px solid #E5E7EB;
        border-bottom-left-radius: 0;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }

    .message-bubble p {
        margin-bottom: 8px;
    }

    .message-bubble p:last-child {
        margin-bottom: 0;
    }

    .message-bubble ul {
        padding-left: 16px;
        margin-bottom: 8px;
        list-style-type: disc;
    }

    /* Input Area */
    .chatbot-input-area {
        padding: 16px;
        background-color: white;
        border-top: 1px solid #F3F4F6;
    }

    .input-form {
        display: flex;
        gap: 8px;
    }

    .chat-input {
        flex: 1;
        padding: 8px 12px;
        border: 1px solid #E5E7EB;
        border-radius: 8px;
        font-size: 14px;
        outline: none;
        transition: border-color 0.2s;
    }

    .chat-input:focus {
        border-color: #619CA3;
        box-shadow: 0 0 0 2px rgba(97, 156, 163, 0.2);
    }

    .send-btn {
        background-color: #619CA3;
        color: white;
        border: none;
        padding: 8px;
        border-radius: 8px;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        transition: background-color 0.2s;
    }

    .send-btn:hover {
        background-color: #4d8289;
    }

    .send-btn:disabled {
        opacity: 0.5;
        cursor: not-allowed;
    }

    /* Loading Indicator */
    .typing-indicator {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 12px;
        background-color: white;
        border: 1px solid #E5E7EB;
        border-radius: 16px;
        border-bottom-left-radius: 0;
        width: fit-content;
    }

    .typing-dot {
        width: 4px;
        height: 4px;
        background-color: #619CA3;
        border-radius: 50%;
        animation: typing 1.4s infinite ease-in-out both;
    }

    .typing-dot:nth-child(1) {
        animation-delay: -0.32s;
    }

    .typing-dot:nth-child(2) {
        animation-delay: -0.16s;
    }

    @keyframes typing {

        0%,
        80%,
        100% {
            transform: scale(0);
        }

        40% {
            transform: scale(1);
        }
    }

    /* Empty State */
    .empty-state {
        text-align: center;
        color: #6B7280;
        margin-top: 32px;
    }

    .empty-state svg {
        margin: 0 auto 16px;
        color: #619CA3;
    }

    .quick-actions {
        display: flex;
        flex-direction: column;
        gap: 8px;
        margin-top: 24px;
        padding: 0 8px;
    }

    .quick-btn {
        text-align: left;
        font-size: 14px;
        background-color: white;
        border: 1px solid #E5E7EB;
        /* Default border color */
        color: #374151;
        padding: 12px;
        border-radius: 12px;
        cursor: pointer;
        transition: all 0.2s;
        box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    }

    .quick-btn:hover {
        border-color: #619CA3;
        background-color: rgba(97, 156, 163, 0.05);
    }

    /* Bubble Prompt */
    .chatbot-bubble {
        position: absolute;
        bottom: 80px;
        right: 0;
        background-color: white;
        padding: 16px;
        border-radius: 16px;
        border-bottom-right-radius: 0;
        box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        border: 1px solid #F3F4F6;
        font-size: 14px;
        color: #1F2937;
        white-space: nowrap;
        animation: fadeIn 0.3s ease-out;
    }

    @keyframes fadeIn {
        from {
            opacity: 0;
            transform: translateY(10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hidden {
        display: none !important;
    }

    .visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    /* Chatbot mobile responsive */
    @media (max-width: 768px) {
        .chatbot-widget {
            bottom: 16px;
            right: 16px;
        }

        .chatbot-toggle {
            width: 50px;
            height: 50px;
        }

        .chatbot-icon {
            width: 32px;
            height: 32px;
        }

        .chatbot-bubble {
            padding: 10px 14px;
            font-size: 13px;
            bottom: 58px;
        }

        .chatbot-window {
            bottom: 60px;
            width: calc(100vw - 32px);
            height: 70vh;
            right: 0;
        }
    }