/* Body styles */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  overflow: hidden;
  background-color: #f5f5f5;
}

/* Chat container */
#chat-container {
  width: 100%;
  height: 100svh; /* svh units take into account the potential mobile web browser navigations elements*/
  background-color: #f5f5f5;
  display: flex;
  flex-direction: column;
  margin: 0;
}

/* Message container */
#message-container {
  flex-grow: 1;
  padding: 10px;
  overflow-y: scroll;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
}

/* Chat bubble */
.chat-bubble {
  display: inline-block;
  max-width: 80%;
  margin: 10px;
  padding: 10px;
  border-radius: 15px;
  font-size: 16px;
  background-repeat: no-repeat;
  background-size: contain;
}

/* Sender's chat bubble */
.sender-bubble {
  background-color: #c6f0f8;
  font-size: 16px;
  align-self: flex-start;
  background-repeat: no-repeat;
  background-size: 24px auto;
  background-position: 13px 10px;
  padding-left: 50px;
}

/* Receiver's chat bubble */
.receiver-bubble {
  background-color: #fff;
  font-size: 16px;
  align-self: flex-end;
}

.warning-bubble {
  background-color: #c6f0f8;
  font-size: 16px;
  align-self: flex-start;
}

.welcome-bubble {
  background-color: #c6f0f8;
  font-size: 20px;
  align-self: flex-start;
}

.info-bubble{
  background-color: #69d3e7;
  font-size: 12px;
  align-self: flex-start;
}
/* Input container */
#input-container {
  display: block;
  width: 100%;
  margin: 0;
  padding: 10px;
  background-color: #fff;
}

/* Message input */
#message-input {
  flex-grow: 1;
  padding: 10px;
  /* border-radius: 5px; */
  border: none;
  font-size: 16px;
  border-bottom: solid 1px;
}

/* Send button */
#send-button {
  margin-left: 10px;
  padding: 10px 20px;
  border-radius: 5px;
  border: none;
  background-color: #4c74af;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}

#send-button:disabled{
  background-color: #b9b9b9 !important;
}

/* Sender's timestamp */
.sender-timestamp {
  font-size: 12px;
  color: #888;
  text-align: right;
}

/* Receiver's timestamp */
.receiver-timestamp {
  font-size: 12px;
  color: #888;
  text-align: left;
}


.like-button {
  border: none;
  background: none;
  width: 20px;
  height: 20px;
  /* margin: 3px;
  margin-left: 15px; */
  cursor: pointer;
  background-image: url('https://ai.anaimo.com/assistant/css/img/like.svg');
  background-repeat: no-repeat;
  background-position: center;    
  background-size: contain;
}

.like-button:hover {
  background-image: url('https://ai.anaimo.com/assistant/css/img/like-green.svg');
}

.dislike-button {
  border: none;
  background: none;
  width: 20px;
  height: 20px;
  /* margin: 3px; */
  cursor: pointer;
  background-image: url('https://ai.anaimo.com/assistant/css/img/like.svg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform:rotate(180deg);
}

.dislike-button:hover {
  background-image: url('https://ai.anaimo.com/assistant/css/img/like-red.svg');
  transform:rotate(0deg);
}


.dot-typing {
  position: relative;
  left: -9999px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: #9880ff;
  color: #9880ff;
  box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 0 #9880ff, 10014px 0 0 0 #9880ff;
  animation: dot-typing 1.5s infinite linear;
}

@keyframes dot-typing {
  0% {
    box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 0 #9880ff, 10014px 0 0 0 #9880ff;
  }
  16.667% {
    box-shadow: 9984px -10px 0 0 #9880ff, 9999px 0 0 0 #9880ff, 10014px 0 0 0 #9880ff;
  }
  33.333% {
    box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 0 #9880ff, 10014px 0 0 0 #9880ff;
  }
  50% {
    box-shadow: 9984px 0 0 0 #9880ff, 9999px -10px 0 0 #9880ff, 10014px 0 0 0 #9880ff;
  }
  66.667% {
    box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 0 #9880ff, 10014px 0 0 0 #9880ff;
  }
  83.333% {
    box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 0 #9880ff, 10014px -10px 0 0 #9880ff;
  }
  100% {
    box-shadow: 9984px 0 0 0 #9880ff, 9999px 0 0 0 #9880ff, 10014px 0 0 0 #9880ff;
  }
}

.stage {
  padding-left: 15px;
}

/* #loading_dots {
  width: 40px;
} */

.termsConditions {
  font-size: 12px;
  color: #6d6d6d;
  margin: 0px 2px 0px 5px;

}

.loader {
  margin-left: 10px;
  position: relative;
  background-color: #c6f0f8;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  padding: 15px;
  /* position: relative;
  top: 10px; */
  border: 5px solid #c6f0f8;
  /* perspective: 800px; */
}

.inner {
  position: absolute;
  box-sizing: border-box;
  width: 100%;
  height: 100%;
  border-radius: 50%;  
}

.inner.one {
  left: 0%;
  top: 0%;
  animation: rotate-one 1s linear infinite;
  border-bottom: 5px solid #4c74af;
}

.inner.two {
  right: 0%;
  top: 0%;
  animation: rotate-two 1s linear infinite;
  border-right: 4px solid #9b9b9b;
}

.inner.three {
  right: 0%;
  bottom: 0%;
  animation: rotate-three 1s linear infinite;
  border-top: 3px solid #0C315F;
}

@keyframes rotate-one {
  0% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(-45deg) rotateZ(360deg);
  }
}

@keyframes rotate-two {
  0% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(50deg) rotateY(10deg) rotateZ(360deg);
  }
}

@keyframes rotate-three {
  0% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(0deg);
  }
  100% {
    transform: rotateX(35deg) rotateY(55deg) rotateZ(360deg);
  }
}

#uploadForm {
  align-items: center;
  margin-right: 12px;
}

#uploadImage {
  width: 32px; /* Adjust size as needed */
  height: 32px; /* Adjust size as needed */
}

.bottom-container {
  margin-top: 10px; /* Space between text and buttons */
  display: flex;
  gap: 10px; /* Space between buttons */
}