/* chatbox */
.wp-chatbox-container {
    width: 100%;
}

.wp-chatbox-content {
    width: 70%;
    min-height: 300px;
    padding: 15px;
    margin: 0 auto;
    border: 1px solid lightgray;
    /* background-color: yellow; */
}
.chatbot-intro {
    width: 100%;
    padding: 10px 0;
    font-weight: bold;
    font-size: 18px;
    /* text-align: center; */
    /* background-color: yellow; */
}
.chatbox {
    width: 100%;
    height: 60dvh;
    overflow-y: auto;
    /* background-color: yellow; */
    
}
.wp-question-answer {
    border: none;
}
.wp-user-input-msg {
    width: 100%;
    margin-top: 15px;
    /* background-color: lightcoral; */
}
.userinput {
    width: 80%;
    height: 22px;
    padding: 5px;
    font-size: 15px;
    border-radius: 7px;
    /* background-color: yellow; */
}
.wp-button-send {
    width: 12%;
    padding: 10px 0;
    font-size: 15px;
    border-radius: 7px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    background-color: #029346;
}

.wp-your-msg {
    width: 100%;
    margin: 10px 0px;
    display: flex;
    flex-direction: row-reverse;
    /* background-color: lightgreen; */
}
.your-input-msg {
    float: right;
    width: 60%;
    padding: 8px;
    border-radius: 10px;
    background-color: rgb(158, 236, 158);
}
.wp-bot-message {
    width: 100%;
    display: flex;
    align-items: center;
    margin: 10px 0px;
    /* background-color: yellow; */
}
.bot-logo-nanda {
    width: 3%;
    /* background-color: yellow; */
}
.bot-logo-nanda img{
    padding-top: 3px;
    width: 80%;
}
.bot-message {
    width: 85%;
    padding: 8px;
    border-radius: 10px;
    /* background-color: rgb(243, 238, 238); */
    background-color: #f3f4f6;
}
.bot-message a {
    color: blue;
}

.wp-waiting-bot-reply {
    width: 90%;
    display: flex;
    align-items: center;
    display: none;
    
}
.bot-message-replying {
    width: 30px;
    margin-left: 10px;
    /* background-color: lightcoral; */
}
.bot-message-replying img {
    width: 100%;
}


/* chatbox - chatbot AI */
.wp-chatbot-ai {
    width: 400px;
    height: 90vh;
    position: fixed;
    bottom: 5px;
    right: 5px;
    z-index: 200;
    border-radius: 7px;
    background-color: white;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    display: none;
}
.wp-chatbot-ai-inside {
    width: 100%;
    border-radius: 7px;
}
.chatbot-ai-title {
    width: 100%;
    border-top-left-radius: 7px;
    border-top-right-radius: 7px;
    font-weight: bold;
    font-size: 16px;
    color: white;
    background-color: yellowgreen;
    /* background-color: white; */
}
.chatbot-ai-title-inside {
    /* width: 90%; */
    display: flex;
    justify-content: space-between;
    padding: 10px;
    /* background-color: yellow; */
}
.chatbot-ai-title-text {
    display: flex;
    align-items: center;
}
.chatbot-ai-title-text-logo {
    width: 20px;
    margin-right: 10px;
}
.chatbot-ai-close-icon {
    width: 20px;
    /* background-color: yellow; */
}
.chatbot-ai-close-icon img{
    width: 100%;
    cursor: pointer;
}

.wp-chatbot-content-question {
    width: 95%;
    margin: 0 auto;
    height: 82vh;
    display: flex;
    justify-content: space-around;
    flex-direction: column;
    /* background-color: lightblue; */
}

/* chat content */
.chatbot-ai-content {
    height: 85%;
    overflow-y: auto;
    /* background-color: lightcoral; */
}
.wp-chatbot-content {
    width: 100%;
    /* background-color: yellow; */
}
.wp-chatbot-message {
    width: 100%;
    display: flex;
    align-items: center;
}
.chatbot-logo {
    width: 5%;
}
.chatbot-logo img{
    width: 100%;
}
.chatbot-message {
    width: 85%;
    margin-left: 10px;
    padding: 10px;
    border-radius: 10px;
    background-color: #f3f4f6;
}

/* input message + send */
.wp-userinput-text {
    width: 100%;
    position: relative;
    border-radius: 20px;
    border: 1px solid lightgray;
    /* background-color: green; */
}

.userinput-msg {
    width: 80%;
    margin: 0 auto;
    height: 30px;
    padding: 5px 10px;
    font-size: 15px;
    border-radius: 20px;
    /* border: 1px solid lightgray; */
    /* border-color: rgb(236, 232, 232); */
    /* background-color: yellow; */
    border: none;
}
.userinput-msg:focus {
  outline: none;   /* bỏ viền mặc định của trình duyệt */
  border: none;    /* bỏ luôn border nếu có */
}

.send-msg-icon {
    width: 26px;
    position: absolute;
    top: 9px;
    right: 15px;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    /* .wp-chatbox-content {
        width: 85%;
        
    }
    .chatbot-intro {
        font-size: 16px;
    }

    .userinput {
        width: 70%;
    }

    .wp-button-send {
        width: 20%;
        padding: 8px 0;
    }

    .bot-logo-nanda {
        width: 5%;
    } */

    .wp-chatbot-ai {
        width: 100%;
    }
}