/**
 * Chat Operator START
 */
.chat-operator {
  display: flex;
  align-items: center;
}

.chat-operator__img-wrap {
  overflow: hidden;
  flex: none;
  width: 50px;
  height: 50px;
  margin-right: 15px;
  border-radius: 50%;
}

.chat-operator__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-operator__data {
  flex: 1;
  min-width: 0;
}

.chat-operator__name {
  color: #000;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.4px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.chat-operator__status {
  color: #878787;
  font-weight: 300;
  font-size: 16px;
  letter-spacing: -0.32px;
}
/**
 * Chat Operator END
 */

/**
 * Chat Message START
 */
.chat-message {
  display: flex;
}

.chat-message__img-wrap {
  overflow: hidden;
  flex: none;
  width: 40px;
  height: 40px;
  margin-right: 15px;
  border-radius: 50%;
}

.chat-message__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chat-message__info {
  flex: 1;
  font-size: 15px;
}

.chat-message__desc {
  margin-bottom: 5px;
  padding: 10px;
  /* color: #999; */
  color: #333;
  border-radius: 4px;
  /* background: #efefef; */
  background: #fff;
  line-height: 1.2;
}

.chat-message__date {
  padding-left: 10px;
  color: #ccc;
  font-size: 13px;
}

.chat-message.is-leading .chat-message__desc {
  color: #fff;
  background: #2f82ff;
}
/**
 * Chat Message END
 */


/**
 * Chat Form START
 */
.chat-form__input {
  background: #fff;
  width: 100%;
  padding: 25px 120px 25px 60px;
  border: 0;
  font-size: 16px;
  font-weight: 300;
}

@media (min-width: 768px) {
  .chat-form__input {
    border-radius: 0 0 16px 16px;
  }
}

.chat-form__input:focus {
  outline: 0;
}

.chat-form__emoji,
.chat-form__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 0;
  border: 0;
  cursor: pointer;
  background: none;
  transition: color .3s ease-in-out;
}

.chat-form__emoji {
  right: 80px;
  color: #878787;
}

.chat-form__emoji:hover {
  color: #333;
}

.chat-form__btn {
  right: 25px;
  color: #405DF8;
}

.chat-form__btn:hover {
  color: #2F69FF;
}

.chat-form__upload {
  position: absolute;
  left: 25px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.chat-upload__caption {
  color: #878787;
  transition: color .3s ease-in-out;
  display: block;
  cursor: pointer;
}

.chat-upload__caption:hover {
  color: #333;
}

.chat-upload__input {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}
/**
 * Chat Form END
 */
