#nut-chatbot{
    position: fixed;
    bottom: 74px;
    right: 16px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    background-color: #5bc82a;
}

#nut-lentren{
    position: fixed;
    bottom: 19px;
    right: 16px;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    background-color: #5bc82a;
}

#nut-chatbot span{
    color: white;
    position: absolute;
}

.chung{
    text-align: left;
    margin: 0px 20px 45px;
    position: fixed;
    bottom: 64px;
    right: 41px;
    border: 1px solid #cac;
    border-radius: 20px; 
    flex-direction: column;
    width: 400px; 
    height: 545px; 
    justify-content: space-between;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.2);
    transform-origin: bottom right;
    transition: all 0.2s;
}

body.show-chatbot .chung{
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.imgchatbot{
    width: 45px;
    height: 45px;
}

.chat-container{
    width: 100%;
    height: 80%;
    background-color: rgb(45, 52, 59);
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    display: flex;
    flex-direction: column;
    gap:20px;
    overflow: auto;
}
.header-tren{
    position: fixed;
    width: 100%;
    background-color: black;
    color: white;
    cursor: pointer;
    border-top-right-radius: 20px;
    border-top-left-radius: 20px;
    border: none;
    padding: 5px;
    font-weight: bolder;
    font-size: 40px;
    font-family: Brush Script MT;
    z-index: 1;
}
.user-chat-box{
    position: relative;
    margin-left: 84px;
}
.ai-chat-box{
    position: relative;
}

.ai-chat-area{
    width: 260px;
    padding: 14px;
    background-color: rgba(115, 115, 115, 0.361);
    position: relative;
    left:10%;
    color:rgba(255, 255, 255, 0.639);
    border-radius: 0px 40px 40px 40px;
    box-shadow: 2px 2px 10px rgb(125, 124, 124);
}

.user-chat-area{
    width: 260px;
    padding: 14px;
    background-color: rgb(59, 128, 206);
    color:rgba(255, 255, 255, 0.639);
    border-radius: 40px 0px 40px 40px;
    box-shadow: 2px 2px 10px rgb(112, 143, 185);
    display: flex;
    gap:10px;
    flex-direction: column;
}
.chooseimg{
    width: 30%;
    border-radius: 30px;
}

#userImage{
    position: absolute;
    right: 0;
    filter:drop-shadow( 2px 2px 10px black);
    width: 40px;
}
#aiImage{
    position: absolute;
    left:0;
    filter:drop-shadow( 2px 2px 10px black);
    width: 40px;
}
.khungprompt{
    width: 40px;
    height: 40px;
    color: #fff;
    display: inline;
}
.prompt-area{
    width: 100%;
    height: 20%;
    background-color: rgb(45, 52, 59);
    display: flex;
    align-items: center;
    justify-content: center;
    gap:10px;
    border-top: 1px solid rgb(137 203 163);
    border-end-start-radius: 20px;
    border-end-end-radius: 20px;
}
.prompt-area input{
    width: 175px;
    height: 25px;
    background-color: #d8f0ec;
    outline: none;
    border: none;
    border-radius: 50px;
    padding: 35px;
    color: #000000;
    font-size: 20px;
    box-shadow: 2px 2px 10px #5bc82a;
}
.prompt-area button{
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: #83d29d;
    border:none;
    box-shadow: 2px 2px 10px black;
    cursor: pointer;
    transition: all 0.5s;
}
.prompt-area button:hover{
    background-color: rgba(4, 255, 21, 0.338);
}
.load{
    filter:drop-shadow( 2px 2px 10px rgb(255, 255, 255));
    width: 40px;
}
.choose{
    width: 50px;
    height: 50px;
    border-radius: 50%;
}
#image{
    display: flex;
    align-items: center;
    background-color: #83d29d;
    justify-content: center;
}
@media (max-width:600px) {
    .user-chat-box{
        width: 80%;
        left:20%
    }
    .ai-chat-box{
        width: 80%;
    }
    
}@media (max-width:450px) {
    .chung{
        width: 80%;
        height: 400px;
    }
    .ai-chat-box{
        width: 50px;
    }
    
}