/* @import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); */


.chatBot-wrapper{
	position:relative;
}

/* .chat-botbody {
  display: flex;
  align-items: center;
  justify-content: center;
} */

.chatbot-header {
  display: flex;
  align-items: center;
  background: #3ca344;
  padding: 15px 22px;
  justify-content: space-between;
}

.chatbot-header .header-info {
  display: flex;
  gap: 10px;
  align-items: center;
}

.header-info .chat-logo {
  height: 35px;
  width: 35px;
  fill: #3ca344;
  flex-shrink: 0;
  background: #fff;
  border-radius: 50%;
  padding: 5px;
}

.header-info .info-text {
  color: #fff;
  font-size: 1.31rem;
  font-weight: 600;
}

.chatbot-header #close-chatbot {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  border: none;
  background: none;
  color: #fff;
  font-size: 1.9rem;
	padding: 0;
  padding-top: 2px;
  margin-right: -10px;
  cursor: pointer;
  transition: 0.5s;
}

.chatbot-header #close-chatbot:hover {
  background: #000;
}

.chat-body {
  display: flex;
  gap: 20px;
  height: 470px;
  padding: 25px 22px;
  overflow-y: auto;
  margin-bottom: 82px;
  flex-direction: column;
}

.chat-body .message {
  display: flex;
  align-items: center;
  gap: 10px;
}

.chat-body .bot-message .bot-avatar {
  height: 35px;
  width: 35px;
  padding: 6px;
  fill: #fff;
  align-self: flex-end;
  margin-bottom: 2px;
  flex-shrink: 0;
  background: #3ca344;
  border-radius: 50%;
}
.chat-body .user-message {
  flex-direction: column;
  align-items: flex-end;
}

.chat-body .message .message-text {
  background-color: #fff;
  padding: 12px 15px;
  max-width: 75%;
}

.chat-body .bot-message .message-text {
  background-color: #f2f2ff;
  border-radius: 13px 13px 13px 3px;
}
.chat-body .bot-message.thinking .message-text {
  padding: 2px 15px;
}
.chat-body .user-message .message-text {
  background-color: #3ca344;
  color: #fff;
  border-radius: 13px 13px 3px 13px;
}
.chat-body .message-text .thinking-indicator {
  display: flex;
  gap: 4px;
  padding-block: 15px;
}

.chat-body .message-text .thinking-indicator .dot {
  background-color: #000;
  width: 7px;
  height: 7px;
  opacity: 0.7;
  border-radius: 50%;
  flex-direction: column;
  animation: dotpluse 1.5s ease-in-out infinite;
}

@keyframes dotpluse {
  0%,
  44% {
    transform: translateY(0);
  }
  28% {
    opacity: 0.4;
    transform: translateY(-4px);
  }
  44% {
    opacity: 0.2;
  }
}

.chat-body .message-text .thinking-indicator .dot:nth-child(1) {
  animation-delay: 0.2s;
}
.chat-body .message-text .thinking-indicator .dot:nth-child(2) {
  animation-delay: 0.3s;
}
.chat-body .message-text .thinking-indicator .dot:nth-child(3) {
  animation-delay: 0.4s;
}

.chat-footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: #fff;
  padding: 15px 22px 20px;
}

.chat-footer .chat-form {
  display: flex;
  align-items: center;
  border-radius: 32px;
  background: #fff;
  outline: 1px solid #cccce5;
}

.chat-footer .chat-form:focus-within {
  outline: 1px solid #3ca344;
}

.chat-form .message-input {
  outline: none;
  border: none;
  width: 100%;
  height: 47px;
  font-size: 0.95rem;
  padding: 12px 0 13px 18px;
  border-radius: inherit;
  resize: none;
}

.chat-form .chat-control {
  display: flex;
  align-items: center;
  height: 47px;
  align-self: flex-end;
  /* justify-content: space-between; */
  gap: 2px;
  padding-right: 6px;
}

.chat-form .chat-control button {
  height: 35px;
  width: 35px;
padding:0;
  font-size: 1.15rem;
  border: none;
  color: #7063b0;
  cursor: pointer;
  background: none;
  border-radius: 50%;
  transition: 0.5s ease;
}

.chat-form .chat-control #send-message {
  color: #fff;
  display: none;
  background: #3ca344;
}

.chat-form .message-input:valid ~ .chat-control #send-message {
  display: block;
}

.chat-form .chat-control #send-message:hover {
  background: #000;
}

.chat-form .chat-control button:hover {
  background: #f1f1ff;
box-shadow: none;
}
.message-text button {
  margin: 5px;
  padding: 8px 12px;
  background: #3ca344;
  color: #fff;
  border: none;
  border-radius: 8px;
  text-align: left;
  cursor: pointer;
  transition: 0.5s;
}
.message-text button:hover {
  background: #000;
}

/* Minimized Chat Icon */
.chatbot-popup {
     position: fixed;
    bottom: 10%;
    right: 30%;
  width: 470px;
  background: #fff;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 0 128px 0 rgba(0, 0, 0, 0.1),
    0 32px 68px -48px rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s ease, transform 0.4s ease;
  opacity: 1;
  transform: translate(350px, 0px);
	z-index: 999;
}
.material-symbols-rounded {
    font-family: 'Material Symbols Rounded' !important;
    font-size: 24px !important;
}
.chatbot-popup.hidden {
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}

.chat-toggle-icon {
  transition: opacity 0.3s ease, transform 0.3s ease;
  opacity: 0;
  transform: scale(0);
  pointer-events: none;
  position: fixed;
  right: 2%;
  bottom: 15%;
  cursor: pointer;
  background: #3ca344;
  color: #fff;
  padding: 20px;
  font-size: 1.6rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(60, 163, 68, 0.5);
z-index: 999;
}

/* .chat-toggle-icon.show {
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
  animation: pulseEffect 1.5s ease-in-out infinite;
} */

/* @keyframes pulseEffect {
  0% {
    box-shadow: 0 0 0 0 rgba(60, 163, 68, 0.6);
  }
  70% {
    box-shadow: 0 0 0 12px rgba(60, 163, 68, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(60, 163, 68, 0);
  }
} */
@keyframes breezeGlow {
  0% {
    box-shadow: 0 0 10px #3ca344, 0 0 20px #3ca344;
  }
  50% {
    box-shadow: 0 0 20px #4fd055, 0 0 30px #4fd055;
  }
  100% {
    box-shadow: 0 0 10px #3ca344, 0 0 20px #3ca344;
  }
}

.chat-toggle-icon.show {
  /* animation: pulseEffect 1.5s ease-in-out infinite; */
  animation: breezeGlow 2.5s infinite ease-in-out;
  opacity: 1;
  transform: scale(1);
  pointer-events: all;
}

/* Emojis-------------------------------------------- */
.emoji-panel {
  position: absolute;
  bottom: 80px;
  right: 20px;
  background: #fff;
  border: 1px solid #ccc;
  width: 300px;
  max-height: 200px;
  overflow-y: auto;
  padding: 10px;
  display: none;
  z-index: 10;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.emoji-item {
  font-size: 20px;
  margin: 5px;
  border: none;
  background: none;
  cursor: pointer;
}
.emoji-item:hover {
  background-color: #f0f0f0;
  border-radius: 6px;
}

/* Message Social Icons---------------- */
.message-social-icons img {
  transition: transform 0.3s ease;
  width: 36px;
}
.message-social-icons img:hover {
  transform: scale(1.1);
}

@media (max-width:1200px){
	.chatbot-popup {
    right: 50%;
}
}
