.message-panel {
  position: fixed;
  bottom: 0;
  right: 50px;
  height: 400px;
  width: 300px;
  background: #fff;
  z-index: 1000;
  /* Track */
  /* Handle */
  /* Handle on hover */
}
.message-panel.hide {
  bottom: -360px;
}
.message-panel .head {
  position: relative;
  height: 40px;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #2476fe;
  color: #fff;
  border-radius: 3px;
  cursor: pointer;
}
.message-panel .head .count {
  position: absolute;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #fec725;
  color: #fff;
  top: -50%;
  left: -10px;
  transform: translate(0%, 50%);
  padding: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.message-panel .head .name {
  font-size: 13px;
}
.message-panel .head .close {
  cursor: pointer;
}
.message-panel .body {
  min-height: 320px;
  max-height: 320px;
  overflow-y: auto;
  overflow-x: hidden;
  background: #f2f2f2;
  padding: 20px;
  display: flex;
  flex-wrap: wrap;
}
.message-panel .body ul {
  width: 100%;
}
.message-panel .body .content {
  margin-bottom: 20px;
}
.message-panel .body .content .name {
  font-size: 10px;
  text-align: right;
  margin-bottom: 2px;
}
.message-panel .body .content .wrap {
  display: flex;
  align-items: flex-start;
  width: 100%;
}
.message-panel .body .content .wrap .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #fff;
}
.message-panel .body .content .wrap .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}
.message-panel .body .content .wrap .cloud {
  border-radius: 3px;
  padding: 10px;
  background: #2476fe;
  color: #fff;
  font-size: 12px;
  margin-left: 10px;
  width: calc(100% - (30px + 10px));
  word-break: break-all;
}
.message-panel .body .content .time {
  text-align: right;
  font-size: 10px;
  text-transform: lowercase;
  margin-top: 5px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.message-panel .body .content .time img {
  height: 8px;
  margin-right: 5px;
}
.message-panel .body .content.reverse .name {
  text-align: left;
}
.message-panel .body .content.reverse .avatar {
  order: 2;
}
.message-panel .body .content.reverse .cloud {
  background: #fff !important;
  color: #000;
  margin-left: 0;
  margin-right: 10px;
  order: 1;
}
.message-panel .body .content.reverse .time {
  text-align: left;
}
.message-panel .body .whisper {
  width: 100%;
  font-size: 11px;
  margin-top: auto;
}
.message-panel .input {
  height: 40px;
}
.message-panel .input form {
  height: 100%;
}
.message-panel .input form input {
  width: 100%;
  height: 100%;
  outline-width: 0;
  border-radius: 0;
  border: 1px solid #f2f2f2;
  padding: 0 10px;
  height: 35px;
  color: #2a3e55;
  font-size: 12px;
  background-color: white;
  transition: 0.3s;
  box-sizing: border-box;
  outline: none;
}
.message-panel .input form input:focus {
  border: none;
}
.message-panel.one .head,
.message-panel.one .cloud {
  background: #93be40 !important;
}
.message-panel.two .head,
.message-panel.two .cloud {
  background: #606672 !important;
}
.message-panel.three .head,
.message-panel.three .cloud {
  background: #1b74e7 !important;
}
.message-panel.four .head,
.message-panel.four .cloud {
  background: #eca204 !important;
}
.message-panel.five .head,
.message-panel.five .cloud {
  background: #d33a17 !important;
}
.message-panel ::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
.message-panel ::-webkit-scrollbar-track {
  background: #f1f1f1;
}
.message-panel ::-webkit-scrollbar-thumb {
  background: #888;
}
.message-panel ::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/*# sourceMappingURL=message-panel.css.map */
