#cmcb-close-btn {
float: right;
font-size: 18px;
color: white;
cursor: pointer;
padding: 0 10px;
}
#cmcb-toggle {
position: fixed;
bottom: 20px;
right: 20px;
width: 60px;
height: 60px;
z-index: 2047483647;
display: block;
background: transparent;
padding: 0;
margin: 0;
}
#cmcb-toggle img {
width: 100%;
height: 100%;
display: block;
border-radius: 50%;
}
#cmcb-window {
position: fixed;
bottom: 90px;
right: 20px;
width: 360px;
height: 600px;
max-height: 80vh;
background: #fff;
border: 2px solid #ccc;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
display: none;
flex-direction: column;
overflow: hidden;
z-index: 2047483647;
}
.chat-header {
background: #0073aa;
padding: 10px;
text-align: center;
}
.chat-header .bot-head {
width: 50px;
height: auto;
border-radius: 50%;
background: white;
padding: 5px;
}
#cmcb-chat-log {
flex: 1;
padding: 15px;
overflow-y: auto;
max-height: calc(100% - 100px);
}
.chat-bubble {
margin: 6px 0;
padding: 10px 15px;
border-radius: 12px;
max-width: 90%;
line-height: 1.4;
word-wrap: break-word;
}
.chat-bubble.user {
background-color: #0073aa;
color: #fff;
align-self: flex-end;
}
.chat-bubble.bot {
background-color: #e5e5e5;
color: #333;
align-self: flex-start;
}
#cmcb-input {
display: flex;
border-top: 1px solid #ddd;
padding: 10px;
background: #fff;
}
#cmcb-user-input {
flex: 1;
padding: 10px;
font-size: 14px;
border: 1px solid #ccc;
border-radius: 6px;
}
#cmcb-send-btn {
margin-left: 10px;
padding: 10px 15px;
background: #0073aa;
color: #fff;
border: none;
border-radius: 6px;
font-weight: bold;
cursor: pointer;
}