#mv-chatbot-toggle {
    position: fixed;
    bottom: 20px;
    right: 25px;
    background: #2469d0;
    color: #fff;
    padding: 14px 14px 7px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    z-index: 9999;
    box-shadow: 0 3px 7px rgba(0,0,0,0.3);
}

#mv-chatbot-container {
    position: fixed;
    bottom: 80px;
    right: 25px;
    width: 450px;
    height: 650px;
    background: #fff;
    border-radius: 10px;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    z-index: 9999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    overflow: hidden;
}
.mv-typing-dots {
    display: inline-flex;
    gap: 3px;
    align-items: center;
}

/* Each dot */
.mv-typing-dots span {
    width: 6px;
    height: 6px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    animation: mv-bounce 1s infinite;
}

/* Stagger animation for each of the 5 dots */
.mv-typing-dots span:nth-child(1) { animation-delay: 0s; }
.mv-typing-dots span:nth-child(2) { animation-delay: 0.2s; }
.mv-typing-dots span:nth-child(3) { animation-delay: 0.4s; }
.mv-typing-dots span:nth-child(4) { animation-delay: 0.6s; }
.mv-typing-dots span:nth-child(5) { animation-delay: 0.8s; }

/* Bounce animation */
@keyframes mv-bounce {
    0%, 80%, 100% { transform: scale(0); }
    40% { transform: scale(1); }
}
#mv-chatbot-messages {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
}
.mv-avatar-wrapper {
    width: 40px;               /* size of the circle */
    height: 40px;
    background: #fff;           /* white background */
    border-radius: 50%;         /* make it circular */
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15); /* subtle shadow */
    overflow: hidden;           /* clip the image inside the circle */
    margin-right: 8px;
}
.mv-msg {
    padding: 8px 12px;
    margin: 6px 0;
    border-radius: 8px;
    max-width: 80%;
}

.mv-user {
    background: #f1f1f1;
    color: #000;
    margin-left: auto;
	font-weight:600;
}

.mv-bot {
    background: #2469d0;
    color: white;
    margin-right: auto;
	font-weight:600;
}

#mv-chatbot-input {
    display: flex;
    padding: 10px;
    border-top: 1px solid #ddd;
}

#mv-chat-input {
    flex: 1;
    height: 25px !important;
    max-height: 25px !important;
    resize: none;
    padding: 5px 0px 0px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

#mv-chat-send {
    background: #2469d0;
    color: white;
    border: none;
    padding: 10px 12px;
    margin-left: 8px;
    border-radius: 5px;
    cursor: pointer;
}
  #mv-chatbot-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding:15px;
            background-color: #2469d0;
            color: #fff;
            border-top-left-radius: 8px;
            border-top-right-radius: 8px;
        }
        #mv-chatbot-header-left {
            display: flex;
            align-items: center;
        }
       #mv-chatbot-avatar {
    width: 32px;               /* image smaller than wrapper */
    height: 20px;
    border-radius: 0%;         /* keep image itself circular */
    object-fit: cover;          /* cover the area nicely */
}
        #mv-chatbot-title {
            font-weight: bold;
        }
        #mv-chatbot-close {
            background: transparent;
            border: none;
            color: #fff;
            font-size: 18px;
            cursor: pointer;
        }
#mv-chatbot-toggle.open {
    color:#fff;
}