/* General Reset for Plugin Elements */
#helpdesk-chatbot * {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
}

/* Floating Chat Button */
#helpdesk-chatbot #chat-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0D2252;
    color: white;
    padding: 15px;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    z-index: 9999;
}

#helpdesk-chatbot #chat-btn:hover {
    background-color: #44b7aa;
}

/* Popup Window */
#helpdesk-chatbot #chat-popup {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 350px;
    max-height: 500px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    z-index: 9999;
    animation: fadeIn 0.3s ease-in-out;
}

#helpdesk-chatbot #chat-header {
    background-color: #44b7aa;
    color: white;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#helpdesk-chatbot #chat-header button {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
}

#helpdesk-chatbot #chat-box {
    padding: 10px;
    max-height: 400px;
    overflow-y: auto;
}

#helpdesk-chatbot #user-input {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

#helpdesk-chatbot button {
   /* padding: 10px !important;*/
    background-color: #0D2252;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin: 5px !important;
	height:40px !important;
}

#helpdesk-chatbot button:hover {
    background-color: #44b7aa;
}

#helpdesk-chatbot #chatbot-message p {
    margin: 0;
}

/* Animations */
@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}
/* By default, hide the word 'Helpdesk' */
#chat-btn::after {
    content: "Helpdesk"; /* Default content (visible only on large screens) */
    display: none; /* Hide it by default */
}

/* Show the word 'Helpdesk' only on larger screens (min-width: 992px) */
@media (min-width: 992px) {
    #chat-btn::after {
        display: inline; /* Show the word 'Helpdesk' on larger screens */
    }
}
