/* /wp-content/uploads/chatbot/chatbot.css */
#chat-button {
    position: fixed;
    bottom: 50px;
    right: 50px;
    z-index: 1000;
    cursor: pointer;
}

#chat-button img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

#chat-button span {
    font-size: 45px;
}

#chat-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
}

#chat-modal {
    display: none;
    position: fixed;
    bottom: 150px;
    right: 50px;
    width: 400px;
    max-height: 550px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 999;
    padding: 20px;
    font-family: Arial, sans-serif;
    overflow-y: auto;
}

/* Mobile responsiveness */
@media screen and (max-width: 600px) {
    #chat-button {
        bottom: 20px;
        right: 20px;
    }

    #chat-button img {
        width: 40px;
        height: 40px;
    }

    #chat-button span {
        font-size: 30px;
    }

    #chat-modal {
        width: 90vw;
        max-width: 350px;
        bottom: 10px;
        right: 10px;
        max-height: 80vh;
        padding: 15px;
    }

    #chat-modal .logo {
        width: 60px;
        height: 60px;
    }

    #modal-title {
        font-size: 18px;
    }

    #chat-box {
        max-height: 50vh;
    }
}

#chat-modal .logo {
    display: block;
    margin: 0 auto 10px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
}

#modal-title {
    text-align: center;
    margin: 0 0 15px;
    font-size: 22px;
    color: #333;
}

#lang-select, #category-select, #question-select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#chat-box {
    max-height: 350px;
    overflow-y: auto;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 10px;
    background: #f9f9f9;
}

#user-input {
    width: calc(100% - 70px);
    padding: 8px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

button {
    padding: 8px 15px;
    background: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 20px;
    cursor: pointer;
}