﻿@charset "UTF-8";
.chat_Div {
  position: relative;
  z-index: 9999;
}
.chat_Div .chat_dropdown {
  margin: 0 20px 20px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.chat_Div .chat_dropdown .chat_dropdown-toggle {
  border-radius: 25px;
  border: 0;
  width: 50px;
  height: 50px;
  background-image: url("../../../picture/logo/chat_logo.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.chat_Div .chat_dropdown .chat_dropdown-toggle:hover {
  box-shadow: 3px 3px 15px rgb(44, 44, 44);
}
.chat_Div .chat_dropdown .chat_dropdown-toggle::after {
  display: none;
}

.chat_dropdown-toggle i {
  font-size: 24px;
  margin-bottom: 10px;
}

.chat_Windows {
  background-color: white;
  width: 90vw;
  border: 0.5px solid #ff6a00;
  border-radius: 10px;
  line-height: 23px;
  text-align: center;
}
@media screen and (min-width: 820px) {
  .chat_Windows {
    width: 500px;
    min-height: 60vh;
  }
}
.chat_Windows .chat_Title {
  background-image: linear-gradient(to bottom, #ff9800 0%, #fdd190 85%, #fff 100%);
  height: 50px;
  border-radius: 9px 9px 0 0;
  color: #fff;
}
.chat_Windows .chat_Title h3 {
  font-size: 16px;
  margin: auto 0 auto;
}
.chat_Windows .chat_Title .close_btn {
  font-size: 20px;
}
.chat_Windows .chat_Info {
  margin: 10px 6px;
  font-weight: 400;
  height: calc(60vh - 50px);
  min-height: 40vh;
  max-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.chat_Info .chat_Context {
  overflow: scroll;
  -ms-overflow-style: none; /* IE 和 Edge */
  scrollbar-width: none; /* Firefox */
}
.chat_Info .chat_Context .user {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}
.chat_Info .chat_Context .user .avatar {
  width: 60px;
  text-align: center;
  flex-shrink: 0;
}
.chat_Info .chat_Context .user .pic {
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 0 10px #aaa;
  width: 50px;
  margin-left: 5px;
}
.chat_Info .chat_Context .user .pic img {
  width: 100%;
  vertical-align: middle;
}
.chat_Info .chat_Context .user .name {
  color: #333;
}
.chat_Info .chat_Context .user .text {
  background-color: #aaa;
  padding: 16px;
  border-radius: 10px;
  position: relative;
  text-align: left;
}
.chat_Info .chat_Context .remote .text {
  margin-left: 10px;
  margin-right: 10px;
  color: #4a4a4a;
  background-color: #ffb74d;
}
.chat_Info .chat_Context .remote .text::before {
  border-right: 10px solid #ffb74d;
  left: -10px;
}
.chat_Info .chat_Context .local {
  justify-content: flex-end;
}
.chat_Info .chat_Context .local .text {
  margin-right: 20px;
  margin-left: 20px;
  margin-top: 7px;
  order: -1;
  background-color: #fff;
  color: #333;
}
.chat_Info .chat_Context .local .text::before {
  border-left: 10px solid #fff;
  right: -10px;
}
.chat_Info .chat_Context .remote .text::before,
.chat_Info .chat_Context .local .text::before {
  content: "";
  position: absolute;
  top: 20px;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
}
.chat_Info .chat_Context .remote .text,
.chat_Info .chat_Context .local .text {
  font-weight: 300;
  box-shadow: 0 0 10px #888;
}
.chat_Info .chat_input {
  display: flex;
  column-gap: 5px;
  padding: 10px 5px;
  margin-top: 10px;
}
.chat_Info .chat_input input {
  line-height: 1.2;
  flex-grow: 4;
  font-size: 14px;
  outline: none;
  border: 0.5px solid #aaa;
  padding: 5px;
}
.chat_Info .chat_input button {
  flex-grow: 1;
  background-color: #ff9800;
  text-align: center;
  color: #fff;
  border: none;
  font-size: 14px;
  padding: 5px;
  border-radius: 5px;
  word-spacing: 2em;
}
