@charset "UTF-8";
.p_chat .chat__container {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-start;
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  gap: 15px;
}
.p_chat .chat__list {
  padding: 15px 30px;
  border-radius: 15px;
  border: 1px solid #DDD;
  background: #FFF;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.05);
  width: 400px;
  align-self: stretch;
  max-height: calc(100vh - 205px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-face-color: transparent; /*스크롤*/
  scrollbar-highlight-color: #999; /*하이라이트*/
  scrollbar-3dlight-color: transparent; /*왼쪽외곽음영*/
  scrollbar-darkshadow-color: transparent; /*오른쪽외곽음영*/
  scrollbar-shadow-color: transparent; /*오른쪽 안쪽음영*/
  scrollbar-arrow-color: transparent; /*화살*/
  scrollbar-track-color: transparent; /*스크롤영역*/
}
.p_chat .chat__list::-webkit-scrollbar { /*스크롤바*/
  width: 6px;
  height: 6px;
}
.p_chat .chat__list::-webkit-scrollbar-button { /*스크롤바 버튼(아래 위 화살표)*/
  width: 0px;
  height: 0px;
}
.p_chat .chat__list::-webkit-scrollbar-thumb { /*스크롤바 핸들*/
  background-color: #999;
  background-clip: padding-box;
  border-radius: 6px;
}
.p_chat .chat__list::-webkit-scrollbar-track { /*스크롤바 진행줄*/
  background-color: none;
}
.p_chat .chat__list::-webkit-scrollbar-track-piece { /*진행줄에서 핸들로 덮이지 않은 영역 */
  background-color: none;
}
.p_chat .chat__list .chat {
  padding-block: 20px;
  padding-left: 55px;
  position: relative;
  border-bottom: 1px solid #EDEDED;
  cursor: pointer;
}
.p_chat .chat__list .chat-notice {
  text-align: center;
  margin-block: 10px 2px;
}
.p_chat .chat__list .chat-profile {
  position: absolute;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  aspect-ratio: auto;
  border-radius: 100%;
  left: 0;
  top: 15px;
}
.p_chat .chat__list .chat-profile > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.p_chat .chat__list .chat-profile > img, .p_chat .chat__list .chat-profile > a > img {
  object-fit: cover;
  min-height: 100%;
  min-width: 100%;
  max-height: 100%;
  max-width: none;
  height: 100%;
}
.p_chat .chat__list .chat-name {
  font-size: 16px;
  font-weight: 600;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-start;
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  margin-bottom: 5px;
  gap: 5px;
}
.p_chat .chat__list .chat-name .ellipsis {
  display: block;
  overflow: hidden;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.p_chat .chat__list .chat-new {
  margin-left: auto;
  font-size: 12px;
  font-weight: 700;
  color: #FF4C1B;
  border-radius: 10px;
  height: 17px;
  min-width: 17px;
  padding-inline: 3px;
  background-color: #FFE8D0;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  line-height: initial;
}
.p_chat .chat__list .chat-last {
  font-size: 13px;
  color: #777;
  line-height: 1.4;
  display: block;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  display: -webkit-box;
  white-space: normal;
  margin-bottom: 5px;
}
.p_chat .chat__list .chat-date {
  color: #777;
  font-size: 12px;
}
.p_chat .chat__wrap {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  flex-direction: column;
  -webkit-flex-direction: column;
  -moz-flex-direction: column;
  height: calc(100vh - 205px);
  overflow: hidden;
  padding-inline: 0;
  border-radius: 15px;
  border: 1px solid #DDD;
  background: #F6F6F6;
  box-shadow: 0 4px 6px 0 rgba(0, 0, 0, 0.05);
  width: calc(100% - 400px - 15px);
}
.p_chat .chat__wrap .profile {
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  min-width: 40px;
  aspect-ratio: auto;
  border-radius: 100%;
}
.p_chat .chat__wrap .profile > a {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.p_chat .chat__wrap .profile > img, .p_chat .chat__wrap .profile > a > img {
  object-fit: cover;
  min-height: 100%;
  min-width: 100%;
  max-height: 100%;
  max-width: none;
  height: 100%;
}
.p_chat .chat__wrap .chat_top {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  background: #fff;
  padding: 10px 30px;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}
.p_chat .chat__wrap .chat_mid {
  height: calc(100% - 60px);
}
.p_chat .chat__wrap .chat_mid .profile {
  position: absolute;
  left: 0;
}
.p_chat .chat__wrap .chat_mid .scroll_body {
  padding: 30px;
  overflow-y: auto;
  max-height: calc(100% - 54px);
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-face-color: transparent; /*스크롤*/
  scrollbar-highlight-color: #999; /*하이라이트*/
  scrollbar-3dlight-color: transparent; /*왼쪽외곽음영*/
  scrollbar-darkshadow-color: transparent; /*오른쪽외곽음영*/
  scrollbar-shadow-color: transparent; /*오른쪽 안쪽음영*/
  scrollbar-arrow-color: transparent; /*화살*/
  scrollbar-track-color: transparent; /*스크롤영역*/
  height: calc(100% - 54px);
}
.p_chat .chat__wrap .chat_mid .scroll_body::-webkit-scrollbar { /*스크롤바*/
  width: 6px;
  height: 6px;
}
.p_chat .chat__wrap .chat_mid .scroll_body::-webkit-scrollbar-button { /*스크롤바 버튼(아래 위 화살표)*/
  width: 0px;
  height: 0px;
}
.p_chat .chat__wrap .chat_mid .scroll_body::-webkit-scrollbar-thumb { /*스크롤바 핸들*/
  background-color: #999;
  background-clip: padding-box;
  border-radius: 6px;
}
.p_chat .chat__wrap .chat_mid .scroll_body::-webkit-scrollbar-track { /*스크롤바 진행줄*/
  background-color: none;
}
.p_chat .chat__wrap .chat_mid .scroll_body::-webkit-scrollbar-track-piece { /*진행줄에서 핸들로 덮이지 않은 영역 */
  background-color: none;
}
.p_chat .chat__wrap .chat_mid .box {
  background: #fff;
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.42;
  text-align: left;
  max-width: 210px;
  width: auto;
  border-radius: 0 10px 10px 10px;
  position: relative;
  word-break: break-all;
  box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.1);
}
.p_chat .chat__wrap .chat_mid .img {
  border-radius: 10px;
  overflow: hidden;
  max-width: 260px;
}
.p_chat .chat__wrap .chat_mid .img img {
  width: 100%;
  height: auto;
}
.p_chat .chat__wrap .chat_mid :is(.get, .send) {
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: flex-start;
  -webkit-align-items: flex-start;
  -moz-align-items: flex-start;
  padding-bottom: 10px;
  position: relative;
  gap: 6px;
}
.p_chat .chat__wrap .chat_mid .date_area {
  font-size: 11px;
  line-height: normal;
  letter-spacing: -0.165px;
  color: #666;
  position: relative;
  align-self: flex-end;
}
.p_chat .chat__wrap .chat_mid .send {
  justify-content: flex-end;
}
.p_chat .chat__wrap .chat_mid .send .box {
  background-color: #FFE0C0;
  border-radius: 10px 0 10px 10px;
  order: 2;
}
.p_chat .chat__wrap .chat_mid .send .date_area {
  order: 1;
}
.p_chat .chat__wrap .chat_mid .send + .get {
  margin-top: 30px;
}
.p_chat .chat__wrap .chat_mid .get {
  padding-left: 46px;
}
.p_chat .chat__wrap .chat_mid .get + .send {
  margin-top: 30px;
}
.p_chat .chat__wrap .chat_bottom {
  height: 54px;
  padding-inline: 20px;
  background: #fff;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-flex;
  display: -ms-flexbox;
  display: flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  justify-content: space-between;
  -webkit-justify-content: space-between;
  -moz-justify-content: space-between;
  gap: 10px;
}
.p_chat .chat__wrap .chat_bottom .textarea {
  flex: 1;
  padding: 12px 0;
  height: 42px;
  min-height: 42px;
  background: none;
  font-size: 14px;
  line-height: 1.2;
  border: none;
}
.p_chat .chat__wrap .chat_bottom .textarea:focus {
  outline: none;
}
.p_chat .chat__wrap .chat_bottom .textarea::-webkit-input-placeholder {
  color: #c4c4c4;
  opacity: 1;
  font-size: 14px;
}
.p_chat .chat__wrap .chat_bottom .textarea:-ms-input-placeholder {
  color: #c4c4c4;
  opacity: 1;
  font-size: 14px;
}
.p_chat .chat__wrap .chat_bottom .textarea::placeholder {
  color: #c4c4c4;
  opacity: 1;
  font-size: 14px;
}
.p_chat .chat__wrap .chat_bottom .btn_photo {
  width: 24px;
  height: 24px;
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
}
.p_chat .chat__wrap .chat_bottom .btn_send {
  display: -webkit-inline-box;
  display: -webkit-inline-flex;
  display: -moz-inline-flex;
  display: -ms-inline-flexbox;
  display: inline-flex;
  align-items: center;
  -webkit-align-items: center;
  -moz-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
  -moz-justify-content: center;
  font-size: 0;
  width: 24px;
  height: 24px;
}