* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Microsoft YaHei", Arial, "PingFang SC", "Helvetica Neue", Helvetica, "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", "sans-serif";
}
a {
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}
input {
  -webkit-appearance: none;
}
header {
  width: 100%;
  height: 4.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1rem;
  background: #c3e0fe;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}
header .back {
  display: flex;
  align-items: center;
}
header .back img {
  display: block;
  width: 1.083rem;
  height: 2rem;
  margin-right: 0.7333rem;
}
header .back span {
  font-size: 1.5rem;
  font-weight: bold;
  color: #374151;
}
header .evaluate {
  display: flex;
  align-items: center;
  padding: 0.1667rem 0.6667rem;
  border: 0.0833rem solid #374151;
  border-radius: 0.25rem;
}
header .evaluate img {
  display: block;
  width: 1.3333rem;
  height: 1.3333rem;
}
header .evaluate span {
  font-size: 1.3333rem;
  color: #374151;
}
.main {
  min-height: 100vh;
  padding: 4.5rem 1rem 6.6667rem 1rem;
  background: #f7f9fc;
  overflow-y: scroll;
  /* 消息内容*/
}
.main .system_msg {
  font-size: 1rem;
  color: #878787;
  text-align: center;
  margin-top: 1.6667rem;
}
.main .service {
  display: flex;
  margin-top: 1.6667rem;
}
.main .service > img {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-right: 0.6667rem;
  border-radius: 50%;
}
.main .service .right {
  flex: 1;
}
.main .service .right > span {
  display: block;
  font-size: 1.0833rem;
  color: #666666;
  margin-bottom: 0.1667rem;
}
.main .service .right .detail {
  max-width: 86%;
  display: inline-block;
  width: fit-content;
  background: #ffffff;
}
.main .service .right .detail .evaluate {
  color: #0c89fe;
}
.main .client {
  display: flex;
  justify-content: flex-end;
  margin-top: 1.6667rem;
}
.main .client > img {
  display: block;
  width: 3rem;
  height: 3rem;
  margin-left: 0.6667rem;
  border-radius: 50%;
}
.main .client .detail {
  max-width: 75%;
  background: #e2f2ff;
}
.main .detail {
  padding: 0.8333rem;
  font-size: 1.1667rem;
  color: #3d3d3d;
  border-radius: 0.5rem;
}
.main .detail img {
  display: block;
  width: 3.6rem;
  height: 3.6rem;
  border-radius: 0.5rem;
  object-fit: cover;
}
.handle {
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  background: #ffffff;
  /* 表情面板 */
}
.handle .top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1rem;
}
.handle .top img {
  display: block;
  width: 2.3333rem;
  height: 2.3333rem;
}
.handle .top input {
  flex: 1;
  height: 2.6667rem;
  padding: 0 0.5rem;
  margin: 0 1rem;
  font-size: 1.1667rem;
  color: #3d3d3d;
  background: #f5f5f5;
  border-radius: 0.25rem;
  outline: none;
  border: 0.0833rem solid #e0e0e0;
}
.handle .top .send {
  font-weight: bold;
  font-size: 1.1667rem;
  color: #3d3d3d;
  margin-right: 1rem;
}
.handle .bot {
  display: none;
  padding: 1rem 2rem;
  border-top: 0.0833rem solid #e0e0e0;
}
.handle .bot .option {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-right: 4.75rem;
}
.handle .bot .option img {
  display: block;
  width: 3rem;
  height: 3rem;
}
.handle .bot .option span {
  font-weight: bold;
  font-size: 1rem;
  color: #4a4a4a;
  margin-top: 0.25rem;
}
.handle .emoji_panel {
  display: none;
  padding: 0.5rem 0.75rem;
  border-top: 0.0833rem solid #e0e0e0;
  background: #ffffff;
}
.handle .emoji_panel .emoji-list {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-row-gap: 0.5rem;
  grid-column-gap: 0.25rem;
}
.handle .emoji_panel .emoji-list .emoji {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  line-height: 2.25rem;
  height: 2.25rem;
  border-radius: 0.25rem;
  cursor: pointer;
  user-select: none;
}
.handle .emoji_panel .emoji-list .emoji:active {
  background: #f2f2f2;
}
.eval_pop {
  width: 100%;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
}
.eval_pop .content {
  width: 80%;
  background: #ffe08d;
  border-radius: 1rem;
  position: relative;
}
.eval_pop .content .pic {
  display: block;
  width: 7.9167rem;
  height: 8.25rem;
  position: absolute;
  top: -4.0833rem;
  right: 0;
}
.eval_pop .content .close {
  display: block;
  width: 2.1667rem;
  height: 2.1667rem;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -2.8333rem;
}
.eval_pop .content .top {
  padding: 1.3333rem 1.3333rem 0;
}
.eval_pop .content .top .text {
  display: block;
  width: 15.0833rem;
  height: 1.0833rem;
}
.eval_pop .content .top p {
  font-size: 1rem;
  color: #bbbbbb;
}
.eval_pop .content .bot {
  margin-top: 0.3333rem;
  padding: 1.5rem;
  border-radius: 1rem;
  background: #ffffff;
}
.eval_pop .content .bot .select_eval {
  display: flex;
  justify-content: space-between;
}
.eval_pop .content .bot .select_eval .face {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.eval_pop .content .bot .select_eval .face img {
  display: block;
  width: 6.3333rem;
  height: 6.3333rem;
}
.eval_pop .content .bot .select_eval .face span {
  font-weight: bold;
  font-size: 1.0833rem;
  color: #4a4a4a;
}
.eval_pop .content .bot .select_eval .face.active span {
  color: #e43100;
}
.eval_pop .content .bot #eval {
  width: 90%;
  height: 7.6667rem;
  padding: 1rem;
  margin-top: 1.5rem;
  font-size: 1.1667rem;
  color: #181818;
  border-radius: 0.5rem;
  background: #f5f7fb;
  border: none;
  outline: none;
}
.eval_pop .content .bot .inquiry {
  margin-top: 0.6rem;
}
.eval_pop .content .bot .inquiry p {
  font-size: 1.1667rem;
  color: #374151;
}
.eval_pop .content .bot .inquiry .status {
  display: flex;
  margin-top: 0.3333rem;
}
.eval_pop .content .bot .inquiry .status span {
  display: block;
  padding: 0.1667rem 1.3333rem;
  color: #4a4a4a;
  font-size: 1.1667rem;
  background-color: #f5f7fb;
  border-radius: 0.3333rem;
}
.eval_pop .content .bot .inquiry .status span:first-of-type {
  margin-right: 1rem;
}
.eval_pop .content .bot .inquiry .status .select {
  background: #faad14;
  color: #ffffff;
}
.eval_pop .content .bot .submit {
  width: 100%;
  height: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1.5rem;
  font-weight: bold;
  font-size: 1.5rem;
  color: #ffffff;
  background: #ff6a00;
  border-radius: 5rem;
}
.img_viewer {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.img_viewer .viewer_img {
  max-width: 98%;
  max-height: 95%;
}
.popalert {
  width: 23rem;
  padding: 0.833rem 2rem;
  position: fixed;
  bottom: -55rem;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background-color: #ffffff;
  border-radius: 0.6rem;
  transition: all 0.3s;
  box-shadow: 0 0.167rem 0.833rem 0 rgba(207, 207, 207, 0.39), 0 -0.167rem 0.833rem 0 rgba(207, 207, 207, 0.39);
  z-index: 99999;
}
.popalert.show {
  bottom: 12.5rem;
  transition: all 0.3s;
}
.popalert > div {
  display: flex;
}
.popalert > div .be {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  color: #5398fd;
  border: 0.167rem solid #5398fd;
  margin-right: 0.667rem;
  font-size: 1.167rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popalert > div.error .be {
  color: #c60000;
  border: 0.167rem solid #c60000;
}
.popalert > div.success > .be {
  color: #80c957;
  border: 0.167rem solid #80c957;
}
.popalert > div.warn > .be {
  color: #e0a444;
  border: 0.167rem solid #e0a444;
}
.popalert > div .mes {
  flex: 1;
  font-size: 1.167rem;
  display: flex;
  align-items: center;
}
.confirm_pop {
  display: none;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 99999;
  align-items: center;
  justify-content: center;
}
.confirm_pop.show {
  display: flex;
}
.confirm_pop .confirm_content {
  width: 80%;
  max-width: 30rem;
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
}
.confirm_pop .confirm_content .confirm_title {
  padding: 2rem 1.5rem 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: #374151;
  text-align: center;
}
.confirm_pop .confirm_content .confirm_message {
  padding: 1rem 1.5rem 2rem;
  font-size: 1.3333rem;
  color: #666666;
  text-align: center;
  line-height: 1.8;
}
.confirm_pop .confirm_content .confirm_btns {
  display: flex;
  border-top: 0.0833rem solid #e5e7eb;
}
.confirm_pop .confirm_content .confirm_btns .confirm_btn {
  flex: 1;
  height: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
}
.confirm_pop .confirm_content .confirm_btns .confirm_btn.cancel {
  color: #666666;
  border-right: 0.0833rem solid #e5e7eb;
}
.confirm_pop .confirm_content .confirm_btns .confirm_btn.confirm {
  color: #0c89fe;
  font-weight: bold;
}
@media screen and (max-width: 373px) {
  html {
    font-size: 11px;
  }
}
@media screen and (min-width: 374px) {
  html {
    font-size: 12px;
  }
}
@media screen and (min-width: 413px) {
  html {
    font-size: 13px;
  }
}
@media screen and (min-width: 540px) {
  html {
    font-size: 14px;
  }
}
@media screen and (min-width: 580px) {
  html {
    font-size: 15px;
  }
}
