#heartwise-welcome-bubble {
  position: fixed;
  bottom: 105px; 
  right: 30px;
  background: #ffffff;
  color: #333;
  padding: 10px 15px;
  border-radius: 20px;
  box-shadow: 0 4px 8px rgba(0.5,0.5,0.5,0.5);
  font-size: 14px;
  z-index: 9999;
  max-width: 260px;
  line-height: 1.4;
  animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media screen and (max-width:768px){#heartwise-welcome-bubble {bottom:130px;}
  #heartwise-welcome-bubble{bottom:120px;}}

 #heartwise-close-btn {
    position: absolute;
    top: -4px;
    left: -20px;
    background: #941C24;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
    border-radius: 50px;
    width: 30px;
    height: 30px;
   line-height:1px;
  }

  #heartwise-close-btn:hover {
    color: #333;
  }
/* Chat Icon Button */
#heartwise-chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #941C24;
  color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 3px;
}
#heartwise-chat-icon img{border-radius: 50%;}
.heart-wise{
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #941C24;
  color: white;
  border-radius: 50%;
  width: 80px;
  height: 80px;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  padding: 3px;
}

/* Chatbot Box (Hidden by default) */
#heartwise-chatbot {
  position: fixed;
  bottom: 15px;
  right: 20px;
  width:400px;
  height: 490px; 
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  z-index: 9999;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
  overflow: hidden;
}

#heartwise-chatbot.open {
  display: flex;
}

/* Chatbot Header */
#heartwise-chatbot-header {
  background: #941C24;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Close Button */
#heartwise-close-chat {
  background: transparent;
  color: white;
  border: none;
  font-size: 18px;
  cursor: pointer;
}

/* Chat Messages */
#heartwise-chatbot-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
  background: #f9f9f9;
}

.heartwise-msg {
  max-width: 85%;
  padding: 15px;
  margin: 10px;
  border-radius: 10px;
  word-wrap: break-word;
}

.heartwise-msg.user {
  margin-left: auto;
  background-color: #941c24;
  text-align: right;
  color: #fff;
  font-family:'Stolzl', sans-serif;
  font-weight:300;
}

.heartwise-msg.bot {
  margin-right: auto;
  background-color: #e6f7ff;
  text-align: left;
  color: #0073aa;
  font-family:'Stolzl', sans-serif;
  font-weight:300;
  display: flex;
}

/* Form & Input */
#heartwise-chatbot-form {
  display: flex;
  border-top: 1px solid #ddd;
}

#heartwise-user-input {
  flex: 1;
  padding: 10px;
  border: none;
  outline: none;
  font-size: 14px;
}

#heartwise-chatbot-form button {
  padding: 10px 15px;
  border: none;
  background: #941C24;
  color: white;
  cursor: pointer;
  font-weight: bold;
}

#heartwise-chatbot-form button:hover {
  background-color: #005e8c;
}

/* Responsive */
@media (max-width: 500px) {
  #heartwise-chatbot {
    right: 10px;
    left: 70px;
    bottom: 80px;
    width: auto;
    max-width: 450px;
  }

  #heartwise-chat-icon {
    right:25px;
    bottom: 40px;
  }
  .heart-wise{bottom:40px;right:25px;}
}
.chat-message.bot {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.bot-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  margin-right: 10px;
}

.message-bubble {
  background-color: #f3f4f6;
  padding: 10px;
  border-radius: 10px;
  max-width: 80%;
  font-size: 14px;
}
#heartwise-chatbot-header img{width: 50px;
    height: auto;
    border-radius: 50%;}
.bot-text a{color:#000;}