.chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 400px;
  background-color: #fff;
  border: 1px solid #f55353;
  border-radius: 10px;
  -webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
          box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  font-family: Arial, sans-serif;
  z-index: 1000;
  overflow: hidden;
}
@media all and (max-width: 767px) {
  .chat-container {
    width: auto;
    right: 17%;
    left: 0;
    bottom: 0;
  }
}

.chat-header {
  background-color: #f55353;
  color: white;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  cursor: pointer;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media all and (max-width: 767px) {
  .chat-header {
    padding: 3.4666666667vw;
    font-size: 4vw;
  }
}

.chat-body {
  max-height: 400px;
  overflow-y: auto;
  padding: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  gap: 10px;
}
@media all and (max-width: 767px) {
  .chat-body {
    padding: 2.1333333333vw;
    gap: 2.1333333333vw;
  }
}

.message-user, .message-ai {
  padding: 8px 12px;
  border-radius: 15px;
  word-wrap: break-word;
  max-width: 80%;
}
@media all and (max-width: 767px) {
  .message-user, .message-ai {
    padding: 2.1333333333vw;
  }
}

.message-user {
  background-color: #e2f0ff;
  -ms-flex-item-align: end;
      align-self: flex-end;
}
@media all and (max-width: 767px) {
  .message-user {
    font-size: 3.7333333333vw;
  }
}

.message-ai {
  background-color: #f1f1f1;
  -ms-flex-item-align: start;
      align-self: flex-start;
  text-align: left;
}
@media all and (max-width: 767px) {
  .message-ai {
    font-size: 3.7333333333vw;
  }
}

.chat-input {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  padding: 10px;
  border-top: 1px solid #ccc;
}
@media all and (max-width: 767px) {
  .chat-input {
    padding: 2.1333333333vw;
  }
}

.chat-input input {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 8px 15px;
  outline: none;
}
@media all and (max-width: 767px) {
  .chat-input input {
    padding: 2.1333333333vw;
    font-size: 3.7333333333vw;
  }
}

.chat-input button {
  background-color: #f55353;
  color: white;
  border: none;
  border-radius: 20px;
  margin-left: 5px;
  padding: 8px 15px;
  cursor: pointer;
}
@media all and (max-width: 767px) {
  .chat-input button {
    padding: 2.1333333333vw 3.2vw;
    font-size: 3.4666666667vw;
    border-radius: 10px;
  }
}/*# sourceMappingURL=chat.css.map */