@charset "UTF-8";
.chat-container {
  position: relative;
  display: flex;
  flex-direction: column;
  padding-bottom: 80px;
}

.item {
  display: flex;
}

.item.right {
  justify-content: flex-end;
}

.pic {
  width: 44px;
  height: 44px;
  margin-top: 10px;
}

.pic img {
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  border-radius: 10px;
}

.chat-box {
  display: inline-block;
  position: relative;
  max-width: 70%;
  margin: 10px;
  padding: 10px;
  border-radius: 10px;
  font-size: 16px;
  line-height: 1.5;
}

.typing-width {
  visibility: hidden;
  height: 1px;
}

.left .chat-box {
  background-color: #f1f0f0;
  align-self: flex-start;
  margin-left: 15px;
}

.right .chat-box {
  background-color: #0084ff;
  color: #fff;
  align-self: flex-end;
  margin-right: 15px;
}

.left .chat-box::before {
  content: "";
  position: absolute;
  top: 10px;
  left: -10px;
  border-top: 10px solid transparent;
  border-right: 10px solid #f1f0f0;
  border-bottom: 10px solid transparent;
  border-left: none;
}

.right .chat-box::before {
  content: "";
  position: absolute;
  top: 10px;
  right: -10px;
  border-top: 10px solid transparent;
  border-right: none;
  border-bottom: 10px solid transparent;
  border-left: 10px solid #0084ff;
}

.chat-box:last-child {
  margin-bottom: 0;
}

.ask-question {
  position: fixed;
  bottom: 20px;
  right: 0;
  width: calc(100vw - 260px);
  display: flex;
  justify-content: center;
}

.input-container {
  width: 80%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 10px;
}

.ask-question textarea {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  resize: none;
  width: 80%;
}

.ask-question button {
  background-color: #0084ff;
  color: #fff;
  border: none;
  margin-left: 20px;
  border-radius: 20px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: #0066cc;
}

a.customer-type-2 {
  /* 黑色 */
  color: var(--black);
}
a.customer-type-2:hover {
  color: var(--grey);
}

a.customer-type-3 {
  /* 绿色 */
  color: var(--primary-color);
}
a.customer-type-3:hover {
  color: var(--primary-color-hover);
}

a.customer-type-6 {
  /* 美的蓝 */
  color: var(--midea);
}
a.customer-type-6:hover {
  color: var(--midea-hover);
}/*# sourceMappingURL=index.css.map */