/* Responsive iframe styling */
.iframe-container {
    position: relative;
    width: 100%;
    max-width: 800px;
    /* You can change this to your preferred width */
    height: 500px;
    /* Height of the iframe, you can adjust */
    border: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

@media (max-width: 600px) {
    .iframe-container {
        height: 400px;
        /* Adjust height for small screens */
    }
}

#chatbot-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: white;
    color: #fff;
    border: none;
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    z-index: 2000;
}

#chatbot-button img {
    width: 75px;
    height: 75px;
}

#chatbot-panel {
    position: fixed;
    bottom: 80px;
    /* your preference */
    right: 20px;
    /* your preference */
    width: 750px;
    height: 600px;
    background-color: #f1f1f1;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);

    /* Hide initially but allow animation */
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.2s ease, opacity 0.1s ease;
    pointer-events: none;
    z-index: 1000;
}

#chatbot-panel iframe {
    width: 100%;
    height: 100%;
}

/* When panel is active */
#chatbot-panel.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}