/* Keep long messages inside the box and leave the send button on screen. */
.pc_customerServer_container .mobel_customerServer_container_footer {
  align-items: flex-end !important;
  flex-wrap: nowrap !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 8px 10px calc(8px + env(safe-area-inset-bottom)) !important;
}

.pc_customerServer_container .mobel_customerServer_container_footer .crmchat_link {
  top: -22px !important;
  bottom: auto !important;
  left: 0 !important;
  width: 100% !important;
  pointer-events: none;
}

.pc_customerServer_container .mobel_customerServer_container_footer .crmchat_link span {
  pointer-events: auto;
}

.pc_customerServer_container .mobel_customerServer_container_footer_uploag_image,
.pc_customerServer_container .mobel_customerServer_container_footer_emoji,
.pc_customerServer_container .sendMessage {
  flex: 0 0 auto !important;
  flex-shrink: 0 !important;
  align-self: flex-end !important;
}

.pc_customerServer_container .mobel_customerServer_container_footer_uploag_image,
.pc_customerServer_container .mobel_customerServer_container_footer_emoji {
  margin-bottom: 4px !important;
}

.pc_customerServer_container .mobel_customerServer_container_footer_input {
  flex: 1 1 auto !important;
  min-width: 0 !important;
  max-width: 100% !important;
  margin: 0 8px !important;
  border: 1px solid #e5e5e5 !important;
  border-radius: 4px !important;
  background: #fff !important;
}

.pc_customerServer_container .mobel_customerServer_container_footer_input_con {
  min-width: 0 !important;
  width: 100% !important;
  min-height: 34px !important;
  max-height: 110px !important;
  overflow: hidden !important;
  align-items: stretch !important;
}

.pc_customerServer_container .mobel_customerServer_container_footer_input_con .font,
.pc_customerServer_container .mobel_customerServer_container_footer_input_con textarea,
.pc_customerServer_container .mobel_customerServer_container_footer_input_con p {
  font-size: 15px !important;
  line-height: 22px !important;
  word-break: break-all !important;
  overflow-wrap: anywhere !important;
  white-space: pre-wrap !important;
  box-sizing: border-box !important;
}

.pc_customerServer_container .mobel_customerServer_container_footer_input_con textarea {
  overflow-x: hidden !important;
  overflow-y: auto !important;
  -webkit-overflow-scrolling: touch;
  max-height: 110px !important;
  height: 100% !important;
}

.pc_customerServer_container .mobel_customerServer_container_footer_input_con p {
  max-height: 98px !important;
  overflow: hidden !important;
}

.pc_customerServer_container .sendMessage {
  white-space: nowrap !important;
  margin-left: 8px !important;
  margin-bottom: 2px !important;
  padding: 6px 12px !important;
  line-height: 20px !important;
}
