.grecaptcha-badge {display:none;}


.container-chat {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;
}

.avatar-wrapper {
    width: 80px;
    height: 80px;
    border: 3px solid #2388b3;
    border-radius: 50%;
    padding: 4px;
    background-color: #ffffff;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
}

#avatar {
    position: absolute;
    left: -33px;
    top: -7px;
}

.chat-wrapper {
    background-color: #ffffff;
    border-radius: 20px;
    padding: 10px 15px;
    width: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    box-shadow: 0 -4px 30px #0000001a;
    transform: translateX(100%);
    transition: opacity 0.5s ease, transform 0.5s ease, width 1s ease;
}

.chat-wrapper.visible {
  opacity: 1;
  transform: translateX(0);
}

.chat-wrapper.full-width {
  width: 360px;
}

.message-box {
  /* display: none; */
}

.close-btn {
  position: absolute;
  right: 25px;
  top: 10px;
  font-size: 20px;
  z-index: 2;
  cursor: pointer;
  display: none;  
}

.kebab-menu {
    position: absolute;
    right: 20px;
    top: 45px;
    justify-content: center;
    width: 25px;
    cursor: pointer;
    display: none!important;
    z-index: 1;
}

.chat-body-wrapper {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition:
    max-height 1s ease,
    opacity 0.5s ease,
    transform 0.5s ease;
  transform: translateY(20px);
  display: block; 
}

.chat-body-wrapper.open {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
}

.chat-header {
    display: flex;
    width: 315px;
    justify-content: end;
    gap: 20px;
    align-items: center;
    cursor: pointer;
    position: sticky;
    transition: padding-bottom 0.5s ease, justify-content 0.5s ease;
}



.agent-info {
  display: flex;
  flex-direction: column;
  text-align: center;
  user-select: none;
  transition: opacity 1s ease, visibility 1s ease;
  opacity: 0;
}

.agent-info.visible {
  opacity: 1;
  visibility: visible;
}

.agent-name {
  font-size: 20px;
  color: #000000;
}

.agent-title {
  font-size: 16px;
  color: #969696;
}

.chat-body {
    width: 100%;
    height: 320px;
    overflow-y: auto;
}

/* SCROLLBAR */

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 10px;
  border: none;
}

::-webkit-scrollbar-button {
  display: none;
}

/* SCROLLBAR */


.messages-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.message {
    position: relative;
    padding: 10px 10px 14px 20px;
    background-color: rgb(49 175 249 / 26%);
    border-radius: 12px;
    width: 100%;
    font-size: 15px;
    max-width: 250px;
}

.message-time {
  position: absolute;
  right: 5px;
  bottom: 5px;
  font-size: 10px;
  color: #1c1c1c;
}

.input-wrapper {
  max-width: 340px;
}

.main-input {
  position: sticky;
  height: 45px;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.input {
    width: 300px;
    outline: unset;
    border: unset;
    resize: none;
    background-color: rgb(241 241 241);
    border-radius: 6px;
    font-size: 14px;
    padding: 5px;
    font-family: Montserrat, "Open Sans", sans-serif;
}

#circle {
  cursor: pointer;
}

.gnChat-send:hover circle {
    fill: #209de7;
}

.message-popup {
    width: 286px;
    height: 105px;
    border-radius: 12px;
    color: #ffffff;
    font-size: 14px;
    background-color: #3fbcf1;
    padding: 10px 20px;
    position: relative;
}

.message-popup-name {
    font-size: 13px;
    color: hwb(0deg 100% 0%);
    margin: 0 0 9px 0;
    font-weight: bold;
}

.message-popup-tail {
  position: absolute;
  bottom: -15px;
  left: 40px;
  rotate: 90deg;
}

#popup {
  display: none;
  position: absolute;
  top: -120px;
  left: -20px;
}

.counter {
  position: relative;
  display: inline-block;
  position: absolute;
  right: -1px;
  top: -1px;
}

.counter-circle {
  position: relative;
  width: 10px;
  height: 10px;
  background-color: #ff0000;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: ping 4s infinite;
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.5), 0 0 0 5px rgba(255, 0, 0, 0.3); /* Smaller and larger borders */
}

.counter-number {
  color: white;
  font-size: 12px;
  font-weight: bold;
  animation: blink 3s infinite;
}

@keyframes blink {
  0%, 50%, 100% {
    opacity: 1;
  }
  25%, 75% {
    opacity: 0;
  }
}

@keyframes ping {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.5), 0 0 0 5px rgba(255, 0, 0, 0.3);
  }
  50% {
    transform: scale(1.1);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.7), 0 0 0 8px rgba(255, 0, 0, 0.5);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.5), 0 0 0 5px rgba(255, 0, 0, 0.3);
  }
}

.typing-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 10px 15px;
    max-width: 246px;
    background-color: #f7f7f7;
    border-radius: 12px;
    width: 100%;
}

.typing-text {
  font-size: 14px;
  color: #555;
}

.typing-animation {
  display: flex;
  align-items: center;
  gap: 6px;
  height: 12px;
}

.typing-circle {
  width: 8px;
  height: 8px;
  background-color: #909399;
  border-radius: 50%;
  animation: bounce 1.2s infinite ease-in-out;
}

.typing-circle:nth-child(1) {
  animation-delay: 0.4s;
}
.typing-circle:nth-child(2) {
  animation-delay: 0.8s;
}
.typing-circle:nth-child(3) {
  animation-delay: 0s;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

#policy {
  width: fit-content;
  position: absolute;
  right: 27px;
  top: 47px;
  z-index: 3;
  display: none;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.25);
  border-radius: 6px;
}

.policy-wrapper {
  position: relative;
  width: 248px;
  height: 100px;
  background-color: #ffffff;
  padding: 15px;
  border-radius: 6px;
}

.about-wrapper, .id-wrapper {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 5px;
  align-items: center;
  padding: 2px 0 2px 2px;
  cursor: pointer;
}

.about-wrapper:hover, .id-wrapper:hover {
  background-color: #617ace30;
}

.policy-info-wrapper {
  position: relative;
  margin-top: 10px;
  padding-top: 10px;
  text-align: left;
}
.id-text span {
  color: #969696;
}

.policy-info::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #969696;
  display: block;
}

.info-text {
  color: #000000;
  font-size: 10px;
}

.info-text span {
  color: #969696;
  cursor: pointer;
  transition: color 0.2s ease;
}

.info-text span:hover {
    color: #9479ff;
}

.policy-close {
  position: absolute;
  right: 5px;
  top: 3px;
  cursor: pointer;
  transition: color 0.2s ease;
  color: #969696;
}

.policy-close:hover {
  color: #63B9FB;
}

@media (max-width:767px) {
    
.container-chat {display:none;}
}