p,
span,
div {
  cursor: default;
}

@font-face {
  font-family: 'Freesentation-8ExtraBold';
  src: url('https://fastly.jsdelivr.net/gh/projectnoonnu/2404@1.0/Freesentation-8ExtraBold.woff2') format('woff2');
  font-style: normal;
}

body {
  font-family: 'Nanum Barun Gothic', sans-serif !important;
      background-color: #b9cedf;
}

/* 스크롤 관련 CSS */
body, html {
  overscroll-behavior-y: none; 
  overflow: hidden;
  height: 100%;
}
.scroll-container {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* iOS에서 부드러운 스크롤 활성화 */
  height: 100%;
}
.no-scroll-interference{
  touch-action: pan-y; /* 수직 스크롤만 허용하고 다른 제스처 방지 */
}
/* ----------------*/

.login-content-main div h1 {
  /* font-size: 3.8em;
  font-family: "Freesentation-8ExtraBold", serif !important;
  letter-spacing: 0.1em;
  color: #0C0A47 !important; */
  text-align: center;
}

.flx {
  display: flex;
}

.flxCt {
  align-items: center;
}


/* 내가보낸 메신저 */
.contact-chat>ul>li.replies .msg-box li>h5 {
  background-color: #fef01b;
  /* padding:8px 20px */
  /* background-color: #5d866c; */
  /* color:#fff; */
}

.withchat-main .messages .contact-details .media-right ul {
  display: flex;
  align-items: center;
}



.withchat-main .message-input {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  /* 하단 패딩: 기본 10px에 기기별 세이프 에어리어를 더함 */
  padding-bottom: env(safe-area-inset-bottom);
  background: #fafafa;
  width: 100%;
  box-sizing: border-box; /* 패딩이 너비에 포함되도록 설정 */
  overflow-x: hidden; /* 가로 스크롤 방지 */

  /* 부드러운 하단 고정을 위한 설정 */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}


.input-wrap{
  width: 96%;
  margin:0.8em auto;
}
.attachBtn{
  padding:0;
  width: 8%;
}
.attachBtn>img{
  width: 33px;
  height: 33px;
  background-color: #efefef;
  padding: 8px;
  border-radius: 3em;
}
.emojis-main {
  position: relative;
  display: flex;
  padding: 0;
  width: 92%;
  justify-content: center;
}

.withchat-main .message-input input {
  background: #efefef;
  border-radius: 3em;
  margin: 0 0.7em;
  font-size: 14px;
  /* height: 30px; */
}

#send-msg {
  background-color: transparent !important;
  border: none;
}

#send-msg > img{
  width: 31px;
  height: 31px;
  background-color: #89A8C1;
  padding: 8px;
  border-radius: 2em;
}


.attachBtn {
  /* height: 35px;
  width: 35px; */
  background-color: transparent;
  border: 0 !important;
}

#chatting_title {
  font-size: 17px;
  font-weight: bold;
}
.login-page2 .login-content-main .login-content {
  padding:30px 40px;
  border-radius: 1em;
}
.contact-chat>ul>li.replies .msg-box li .document {
  background-color: #fff;
  color: #000;
}
#chating {
    background-color: #b9cedf;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
/* .withchat-main .messages .contact-details {
    padding: 10px 20px !important;
    z-index: 999;
    background: #b9cedf;
    transition: all 0.9s;
    right: 0px;
    flex-shrink: 0;
    box-sizing: border-box;
    z-index: 100;
    padding-top: env(safe-area-inset-top);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px; 
} */
.withchat-main .chat-content .contact-details {
    display: flex !important;
    flex-shrink: 0;
    width: 100%;
    top: 0;
    left: 0;
    background: #b9cedf;
    padding-top: env(safe-area-inset-top);
    box-sizing: border-box;
    position: fixed;
    z-index: 100;
}
.contact-chat {
    flex: 1; 
    overflow-y: auto; 
    -webkit-overflow-scrolling: touch; 
}
.withchat-main .chat-content {
    height: 94dvh;
    display: flex;
    flex-direction: column; /* 위(헤더) -> 아래(채팅창) 순서 */
    overflow: hidden;
    position: fixed;
    width: 100%;
    top: 0;
    padding-bottom: max(env(safe-area-inset-bottom)); 
    left: 0;
}
#chating .contact-chat {
  overflow-y: scroll;
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
}
#with_chat_list .no-data{
  font-size: 16px;
  text-align: center;
}
#chating .contact-chat.on {
  display: flex;
  flex-direction: column;
}

#chating .contact-chat::-webkit-scrollbar {
  display: none;
  /* Chrome, Safari, Opera*/
}
#side-wraps h5{
  font-size: 15px;
}
.group-box div h5,.group-box div h6{
  font-size: 15px !important;
}

/**
* �씪媛먮벑濡� ON / OFF CSS
* @since 2023-12-05
* @author 誘쇱꽦�쑄
*/
.workInsert {
  background: #f6f6f6;
  padding: 20px 15px 60px 15px;
  position: absolute;
  top: 0;
  bottom: 0px;
  height: 100%;
  overflow-y: auto;
  left: 0;
  right: 0;
  transition: all 1s;
  width: 100%;
  display: none;
}


.work_active_user,
.work_active_tree {
  cursor: pointer;
  display: none;
}

.work_active_tree.active,
.work_active_user.active {
  display: block;
}

.work_user_popup .div_popup2 {
  visibility: hidden;
}

.work_user_popup .div_popup2.active {
  visibility: visible;
}

/**
* DatePicker Custom CSS
* @since 2023-12-11
* @author 誘쇱꽦�쑄
*/
#workStartDate,
#workEndDate,
#doStartDate,
#doEndDate,
#replyStartDate,
#replyEndDate {
  border: none;
}

/**
* �씪媛� �궘�젣 �뙘�뾽 Custom CSS
* @since 2023-12-12
* @autor 誘쇱꽦�쑄
*/
.delete_popup {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  box-sizing: border-box;
}

.delete_popup .dimmed {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.delete_popup .box {
  position: absolute;
  z-index: 10;
  top: 16px;
  left: 16px;
  right: 16px;
  background-color: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0.75rem;
}

.delete_popup .box .box_title {

  font-size: calc(16px + 2 * (100vw - 320px) / 1600);
  font-weight: 700;
  color: #3b3b3b;
}

.delete_popup .box .box_button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  font-size: calc(14px + 2 * (100vw - 320px) / 1600);
  font-weight: 600;
}

.delete_popup .box .box_button .delete_cancel {
  color: #ffffff;
  background-color: #6c757d;
  border: 0;
  border-radius: 3px;
  padding: 10px 20px;
}

.delete_popup .box .box_button .delete_ok {
  color: #ffffff;
  background-color: #1c9dea;
  border: 0;
  border-radius: 3px;
  padding: 10px 20px;
}

/** 
*
*/
.add_new_user_style {
  background-size: cover;
  background-position: center;
  display: block;
}

/**
* �씠誘몄�媛ㅻ윭由� �뙘�뾽 css
*/
.view_image_box {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .3s all;
  opacity: 1;
  visibility: visible;
}

.view_image_box.off {
  opacity: 0;
  visibility: hidden;
  z-index: -10;
}

.view_image_box .view_background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  background-color: rgba(0, 0, 0, 0.7);
}

.view_image_box .view_close {
  position: absolute;
  top: 2%;
  right: 2%;
  border: 0;
  background-color: transparent;
  z-index: 2;

}

.view_image_box .view_image_list {
  position: relative;
  width: 100%;
  max-width: 800px;
  z-index: 10;
}

.view_image_box .view_image_list .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.view_image_box .view_image_list .swiper-slide img {
  max-width: 100%;
  max-height: 400px;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  position: absolute;
  z-index: 10;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
}

.swiper-button-next {
  right: 10px
}

.swiper-button-prev {
  left: 10px;
}

.swiper-gallery-pagination {
  color: white;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  box-sizing: border-box;
  padding: 0 10px;
}

.swiper-gallery-pagination span.swiper-pagination-current,
.swiper-gallery-pagination span.swiper-pagination-total {
  color: white;
}

.swiper-wrapper {
  align-items: center;
}

.sidebar-toggle .main-nav {
  transition: none;
}

.tap {
  position: absolute;
  top: 10%;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  box-sizing: border-box;
  padding: 20px 40px;
  border-radius: 8px;
  border: 1px solid #3b3b3b;
  background-color: white;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 16px;
}

.tap .tap_header {
  font-size: 24px;
  text-align: center;
  width: 100%;
}

.tap #create_name {
  width: 100%;
  box-sizing: border-box;
  padding: 4px;
}

.tap .tap_button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 16px;
}

.tap .tap_button button {
  border: 0;
  padding: 0;
  margin: 0;
  background-color: white;
}

.first_delay_pop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty_chat_pop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.empty_chat_pop .alert {
  width: 80%;
  padding: 40px 0;
  border-radius: 6px;
  box-sizing: border-box;
  border: 1px solid #999;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}

.empty_chat_pop .alert .text {
  font-size: 20px;
  word-break: keep-all;
  text-align: center;
  color: #999;
  margin: 0;
}

[class*="fa-user"]:before {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

[class*="tree-"] {
  transition: none;
}

.icon-close.close-search {
  font-family: "themify";
}

.search-form1 .form-group .icon-close {
  margin-right: 12px;
}


.contact-chat>ul>li.sent .document {
  border-radius: 0 15px 15px 15px !important;
}

.contact-chat>ul>li.sent .msg-box li h5 {
  border-radius: 0em 1em 1em 1em;
}

.file-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0px;
  width: 205px;
  border-radius: 15px;
}


.replies .file-box h3,
.sent .file-box h3 {
  cursor: pointer;
  text-align: left;
  font-size: 14px;
  font-weight: 500;
  margin: 0;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  letter-spacing: 0.5px;
  line-height: 1.3;
}

.replies .file-box h3:hover,
.sent .file-box h3:hover {
  text-decoration: none;
}

.file-box h3:hover {
  text-decoration: underline;
}

.downbtn-wrap button {
  background: transparent;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}



.replies .down-link {
  display: flex;
  align-items: center;
  padding-top: 5px;
}


.replies .down-link>button:nth-of-type(1)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0px 4px;
  background: #fff;
}

.contact-chat>ul>li.sent .document,
.contact-chat>ul>li.replies .document {
  padding: 10px 15px;
}

/* 첨부파일 여러개일 때 간격 */
.msg-box > li.msg-setting-main + li.msg-setting-main > .document {
  margin-top: 6px;
}

.sent .down-link {
  display: flex;
  align-items: center;
  padding-top: 10px;
}

.sent .down-link button,
.replies .down-link button {
  border: none;
  cursor: pointer;
  font-size: 14px;
  background: transparent;
  padding: 0;
  color: #1e3a8a;
}

.sent .down-link button:hover,
.replies .down-link button:hover {
  text-decoration: underline;
}

.sent .down-link>button:nth-of-type(1)::after {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  margin: 0px 4px;
  background: #2F2F37;
}

.filename-wrap {
  max-width: 82%;
  text-align: left;
}

.file-down {
  display: flex;
  justify-content: center;
  align-items: center;
}

.file-down>img {
  max-width: 18px;
}

#content {
  height: 100%;
  overflow: hidden !important; /* 부모는 절대로 스크롤이 생기면 안 됩니다 */
  position: relative;
  height: 100vdh;
    /* 안드로이드 스크롤 부드럽게 */
    -webkit-overflow-scrolling: touch;
}

#dropOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 85, 255, 0.363);
  z-index: 9999;
  display: none;
  justify-content: center;
  align-items: center;
  pointer-events: none;
}

.overlay-text {
  color: white;
  font-size: 20px;
  border: 2px dashed white;
  padding: 30px 50px;
  border-radius: 15px;
  text-align: center;
}

/* #fup_progress {
  position: fixed;
  bottom: 60px;
  left: 5%;
  width: 90%;
  height: 8px;
  background-color: #e9ecef;
  border-radius: 4px;
  overflow: hidden;
  z-index: 10000;
}

#uploadProgress {
  width: 0%;
  height: 100%;
  background-color: #007bff;
  transition: width 0.2s ease-in-out;
  border-radius: 4px;
} */

.loading-overlay {
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* 배경을 어둡게 처리 */
    display: flex;            /* 내용물 중앙 정렬을 위한 Flexbox */
    justify-content: center;  /* 가로 중앙 */
    align-items: center;      /* 세로 중앙 */
    z-index: 9999;            /* 다른 요소들보다 가장 위에 보이도록 설정 */
}

.loading-content {
    text-align: center; 
    color: white;       
}

.spinner {
    width: 40px;    /* 너비 */
    height: 40px;   /* 높이 */
    margin: 0 auto 15px; /* 중앙 배치 및 글자와의 간격 띄우기 */
    border: 4px solid rgba(255, 255, 255, 0.3); /* 회색 테두리(기본) */
    border-top: 4px solid #fff; /* 흰색 테두리(회전하는 부분) */
    border-radius: 50%; /* 원형으로 만들기 */
    animation: spin 1s linear infinite; /* 1초 동안 무한히 회전하는 애니메이션 적용 */
}

.loading-content span {
    font-size: 1.2rem; /* 글자 크기 */
    font-weight: bold; /* 굵게 */
}

@keyframes spin {
    0% { transform: rotate(0deg); }   /* 시작: 0도 */
    100% { transform: rotate(360deg); } /* 끝: 360도 회전 */
}
.contact-name ul li h5 {
  overflow-y: auto;
  cursor: pointer;
  display: -webkit-box;
  text-overflow: ellipsis;
  overflow: hidden;
  font-size: 15px;
  transition: max-height 0.3s ease;
  text-align: justify;
  word-break: break-all; /* 단어 중간에서도 줄바꿈이 일어나 간격을 좁힙니다 */
  text-justify: inter-character; /* 글자 사이 간격을 조절하여 정렬 (Chrome/Safari 지원) */
  text-align: left;
  line-height: 1.3em;
}


.contact-name ul li h5.expand {
  -webkit-line-clamp: unset;
  max-height: none;
  overflow-y: visible;
}

.contact-poll {
  display: flex;
}

.contact-poll button span {
  color: #777;
  cursor: pointer;
}
.lazy-bg {
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}

/* 로딩 완료 후 상태 */
.lazy-bg.loaded {
  opacity: 1;
}
.contact-poll button {
  width: fit-content;
  justify-content: center;
  height: 30px !important;
  padding: 0 !important;
  border-radius: 10px !important;
  cursor: pointer;
  color: #636363;
  background-color: transparent !important;
  font-weight: 500;
  display: flex;
  align-items: center;
  border: none !important;
}


/* 채팅 메시지 내 URL 링크 */
.msg-box .chat-link {
  color: #1a73e8;
  text-decoration: underline;
  word-break: break-all;
}
.msg-box .chat-link:hover {
  color: #174ea6;
}
.replies .msg-box .chat-link {
  color: #1a73e8;
}
.replies .msg-box .chat-link:hover {
  color: #174ea6;
}

/* 링크 미리보기 카드 */
.link-preview-container {
  margin-top: 6px;
  max-width: 250px;
}
.link-preview-card {
  display: block;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  background: #fafafa;
  transition: box-shadow 0.15s;
}
.link-preview-card:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
  text-decoration: none;
  color: inherit;
}
.link-preview-img {
  width: 100%;
  max-height: 130px;
  overflow: hidden;
  background: #eee;
}
.link-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.link-preview-body {
  padding: 8px 10px;
}
.link-preview-site {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-bottom: 4px;
}
.link-preview-site span {
  font-size: 11px;
  color: #888;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.link-preview-favicon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}
.link-preview-title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.link-preview-desc {
  font-size: 11px;
  color: #666;
  margin-top: 3px;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* replies(내 메시지) 미리보기 카드 — 수신과 동일 스타일 */
.replies .link-preview-card {
  background: #fafafa;
  border-color: #e0e0e0;
}
.replies .link-preview-title {
  color: #222;
}
.replies .link-preview-desc {
  color: #666;
}
.replies .link-preview-site span {
  color: #888;
}

.msg-box h5.collapsible-text.collapsed {
  max-height: 500px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 25;
  max-width: 250px;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  white-space:normal;
  word-break: break-all;
  text-justify: inter-character;
  text-align: justify;
}
#expand-modal-body{
  font-size: 16.5px;
    word-break: break-word;
    white-space: normal;
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
    /* bot-msg-content 제한 해제 */
    max-width: 100% !important;
    overflow-x: auto !important;
    background: #fff !important;
    border-radius: 0 !important;
    line-height: 1.8;
}
#expand-modal-body .bot-h1 {
    font-size: 20px !important;
    margin: 14px 0 8px !important;
}
#expand-modal-body .bot-h2 {
    font-size: 18px !important;
    margin: 12px 0 6px !important;
}
#expand-modal-body .bot-h3 {
    font-size: 16.5px !important;
    margin: 10px 0 5px !important;
}
#expand-modal-body table.bot-table {
    font-size: 15px !important;
}
#expand-modal-body table.bot-table th,
#expand-modal-body table.bot-table td {
    padding: 8px 12px !important;
}
.msg-box .btn-more {
  background-color: #efefef;
  border: 1px solid #ddd;
  border-radius: 0px 0px 4px 4px;
  cursor: pointer;
  font-size: 12px;
  color: #222;
  position: absolute;
  bottom: 0px;
  width: 100%;
  height: 25px;
}

.msg-box .btn-more:hover {
  background-color: #e9e9e9;
}



.msg-setting-main {
  position: relative;
}

.replies .media .media-body .contact-name .msgtimeWrap {
  flex-direction: row-reverse;
}


.expand-modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10000;
}

.expand-modal-container.is-active {
  display: flex;
}

.expand-modal-background {
  display: none;
}

.expand-modal-wrap {
  background-color: #fff;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.expand-modal-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
  box-sizing: border-box;
}
.expand-modal-header h5 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  margin: 0;
}

.close-expand-modal-btn {
  position: static;
  background: none;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
  font-size: 20px;
  color: #222;
  font-weight: 600;
}

.close-expand-modal-btn:hover {
  color: #000;
}




#image-preview-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

#image-preview-modal .modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#image-preview-modal #preview-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin: 20px 0;
  max-height: 300px;
  overflow-y: auto;
}

#image-preview-modal #preview-container img {
  max-width: 100px;
  max-height: 100px;
  border-radius: 4px;
  border: 1px solid #ddd;
}

#image-preview-modal .modal-buttons button {
  padding: 8px 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 5px;
}

#image-preview-modal #confirm-upload {
  background-color: #007bff;
  color: white;
  border-color: #007bff;
}

/* 공지 바 스타일 */
#notice-bar {
  display: flex;
  justify-content: space-between;
  padding: 4px 15px;
  background-color: #fff;
  border-bottom: 1px solid #d6e4ff;
  font-size: 14px;
  z-index: 101;
  position: fixed;
  top: 7%;
  width: 95%;
  flex-direction: column;
  border-radius: 10px;
  left: 50%;
  transform: translateX(-50%);
  border-top: 1px solid #8080802e;

}

#notice-bar button {
  border: none;
  background-color: transparent;
}

#foldToSpanBtn {
  background-color: white;
  border: 1px solid gray;
  position: fixed;
  top: 10%;
}

.headerWrap .row {
  justify-content: space-between;
}

.notice-text {
 display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    overflow: hidden;
    cursor: pointer;
    word-break: break-word;
    font-size: 16px;
    width: 84%;
    max-height: calc(1.4em * 2);
}

/* 공지 펼침 상태 */
.notice-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
  max-height: none;
  overflow: visible;
  white-space: pre-wrap;
}

#notice-content {
  display: flex;
  align-items: center;
  padding-bottom: 0.1em;
}

#notice-bar .notice-text {
  color: #333;
}
#notice-content #spanbtn{
     width: 8%;
    padding-top: 5px;
}

#noticeBottom ul {
  display: flex;
  align-items: center;
  justify-content: space-around;
  border-top: 1px solid #80808024;
  padding-top: 0.5em;
}

#noticeBottom ul li {
  width: 50%;
  text-align: center;
  font-size: 13.5px;
  cursor: pointer;
}
#notice-content .notice-icon{
    padding-top:0.5em;
    width: 7%;
}
#notice-content span svg{
  width: 17.5px !important;
}
#noticeBottom ul li:first-of-type {
  border-right: 1px solid #80808024;
}

/* 길게 눌렀을 때 나타나는 컨텍스트 메뉴 스타일 */
#long-press-menu {
  position: absolute;
  z-index: 1001;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: none;
}

#long-press-menu ul {
  list-style: none;
  margin: 0;

}

#long-press-menu li {
  padding: 12px 24px;
  cursor: pointer;
}

#long-press-menu li span {
  font-size: 13px;
}

#long-press-menu li:hover {
  background-color: #f5f5f5;
}

#noticeCircleBtn {
  position: fixed;
  top: 9%;
  right: 4%;
  z-index: 100;
  cursor: pointer;
}

#noticeCircleBtn svg {
  width: 40px;
  height: 40px;
  background: #f88d23;
  padding: 8px;
  border-radius: 50%;
}

.contact-chat>ul>li.replies .document {
  padding:10px 15px;
}

.notice-swal-popup{
  width: 80%;
}

#close-msg-btn svg {
  width: 8px;
}

.headerRight .icon-btn {
  width: 35px;
  height: 35px;
}

#chatting_users {
  padding-left: 5px;
  cursor: pointer;
  padding-top:3px;
}

#chatting_users div {
  display: flex;
  align-items: center;
  cursor: pointer;
}

/* 사용자 목록 모달 전체를 덮는 배경 */
.user-list-modal {
  display: none;
  /* 평소에는 숨김 */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  background: #00000030;
  justify-content: center;
  align-items: center;
}

.user-list-header {
  justify-content: space-between;
  margin-bottom: 1em;
}

.user-list-header h4 {
  color: #222 !important;
  font-size: 19px;
  font-weight: 500;
}

.user-list-modal__close-btn {
  cursor: pointer;
}

.user-list-modal__content {
  background-color: white;
  padding: 1.5em;
  border-radius: 8px;
  width: fit-content;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative;
  width: 300px;
}


/* 사용자 이름이 들어갈 목록 */
.user-list-modal__list {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 500px;
  overflow-y: auto;
}

.user-list-modal__list li {
  padding: 3px 0;
}

.user-list-modal__list li span {
  font-size: 15px;
}

.user-list-modal__list li svg {
  width: 12px;
  height: 12px;
  margin-right: 0.25em;
}

.user-list-modal__list li:last-child {
  border-bottom: none;
}

.user-list-modal__content .row {
  align-items: center;
  justify-content: space-between;
  padding: 0 1em;
  margin-bottom: 0.5em;
}

.custom-scroll::-webkit-scrollbar {
  width: 7.5px;
}

.custom-scroll::-webkit-scrollbar-track {
  box-shadow: inset 0 0 6px #bfbfbf;
}

.custom-scroll::-webkit-scrollbar-thumb {
  border-radius: 25px;
  background-color: #93c5fd61;
}

.useraddpop {
  width: 85%;
  transform: translateX(50%);
  left: -35%;
  top: 5%;
  position: absolute;
  background: #fff;
  padding: 0 !important;
  border-top: none !important;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
  z-index: 5;
  border-radius: 8px;
  height: 90vh;
  overflow: auto;
}

.useraddpop .useraddTitle{
  position: sticky;
  top: 0;
  z-index: 500;
  background: #fff;
}
.btn_wrap button {
  border: none;
  padding: 0.7em 1em;
  margin-bottom: 1em;
  background: #4389f9;
  color: #fff;
  border-radius: 5px;
  text-align: center;
}

.btn_wrap {
  text-align: center;
}

.block-content {
  max-height: 165px;
  overflow-x: hidden;
}

.document-list li {
  position: relative;
  width: 95%;
  padding-left: 5px;
}

/* .chat-tabs{
background: #F3F8FF;
} */
#userlist_wrap {
  /* background-color: #ㄹ; */
  height:78vh;
}

.user_tab {
  position: relative;
  width: 85%;
  margin: 0 auto;
  cursor: pointer;
}

.user_tab div {
  margin-right: 0;
  padding: 8px 10px;
  border-radius: 8px 8px 0 0;
  border-bottom: 0px solid #fff;
}

#userName {
  font-size: 16px;
  font-weight: 500;
}

.tab_plus_btn {
  margin-left: 1em;
  width: fit-content;
  background-color: #4389f9;
  border-radius: 20px;
  position: absolute;
  bottom: 5px;
  right: 25px;
}

.tab_plus_btn button {
  background: transparent;
  border: none;
  padding: 7px;
  color: #fff;
}

.tab_plus_btn div {
  background-color: #4389f9;
}

.navTab span {
  text-overflow: ellipsis;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  cursor: pointer;
  display: -webkit-box;
  font-size: 15.5px;
  font-weight: 600;
}

#content2 {
  overflow-y: hidden;
}

.user_tab.flx {
  overflow-x: auto;
  /* 자식 요소가 넘칠 경우 가로 스크롤 허용 */
  overflow-y: hidden;
  /* 세로 스크롤은 항상 숨김 */
  white-space: nowrap;
  /* 탭들이 한 줄로 강제 정렬됨 */

  /* 스크롤바 숨기기 (다양한 브라우저 호환) */
  -ms-overflow-style: none;
  /* IE, Edge */
  scrollbar-width: none;
  /* Firefox */
}

/* 스크롤바 숨기기 (Chrome, Safari, Opera) */
.user_tab.flx::-webkit-scrollbar {
  display: none;
}

.tab-scroll-wrapper {
  display: block;    /* 명시적으로 블록 선언 */
    width: 100%;       /* 가로 너비 전체 차지 */
    clear: both;
}

/* 탭 스크롤 버튼 (공통) */
.tab-scroll-btn {
  position: absolute;
  top: 49%;
  z-index: 10;
  background: transparent;
  border: none;
  box-shadow: none !important;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  cursor: pointer;
  padding: 0;
  display: flex;
  /* SVG 아이콘 중앙 정렬 */
  align-items: center;
  justify-content: center;

  /* 기본값은 display: none; 이지만, JS가 제어하므로 여기서 다시 설정 */
  display: none;
}

.tab-scroll-btn svg {
  width: 35px;
  height: 35px;
  fill: #4389f9;
  border-radius: 50%;
}

.tab-scroll-btn svg:hover path {
  fill: #1e3a8a;
}

.tab-scroll-btn.left {
  left: 0px;
}

.tab-scroll-btn.right {
  right: 10px;
}

.my-swal-title {
  color: #333 !important;
  font-weight: 600 !important;
  font-size: 20px !important;
}

.my-swal-input {
  border: 1px solid #ced4da !important;
  border-radius: 8px;
  height: 2em !important;
}

div:where(#swal2-html-container) .swal2-input {
  width: 100%;
  padding: 0.75em !important;
}

.my-swal-input:focus {
  border-color: #86b7fe !important;
}

.my-swal-confirm-button {
  background-color: #0d6efd !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  padding: 0.5em 1em !important;
}

.my-swal-confirm-button:hover {
  background-color: #0b5ed7 !important;
}

.my-swal-cancle-button {
  background-color: #6c757d !important;
  border-radius: 8px !important;
  font-weight: 500 !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
  padding: 0.5em 1em !important;

}

.my-swal-cancle-button:hover {
  background-color: #5c636a !important;
}

.my-swal-validation-message {
  background-color: #f8d7da !important;
  color: #842029 !important;
  border-radius: 5px !important;
  padding: 10px !important;
}


#dynamic-tab-nav {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  /* border-bottom: 1px solid #dee2e6; */
  padding-bottom: 0px;
}

.my-swal-popup {
  max-width: 85% !important;
}

div:where(.swal2-container) input:where(.swal2-input) {
  font-size: 1em !important;
}
div:where(.swal2-container) div:where(.swal2-popup){
  padding: 1.5em 0 !important;
}

#dynamic-tab-nav div.flx.active {
  /* background-color: #fff; */
  border-bottom: 2px solid #4389f9;
}

#myTabContent {
  padding:0em 1em 4em 1em;
  border-radius: 10px;
}
.navTab{
  cursor: pointer;
}
.user_info_close{
  
  border-radius: 3px;
  font-size: 13px;
  cursor: pointer;
  background-color: #999; 
  padding: 0.5em 1em;
}
.user_info_close a:hover{
  color: #333;
}
.user_info_btn {
  padding: 0.5em 1em;
  background: #4389f9;
  border-radius: 3px;
  font-size: 15px;
  cursor: pointer;
  color: #fff;
  text-align: center;
}
/* 조직도 상단 액션 버튼 */
.org-action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: nowrap;
  padding: 10px 0;
  border: none;
  border-right: 1px solid #eee;
  border-radius: 0;
  font-size: 13px;
  color: #555;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s;
  user-select: none;
}
.org-action-btn:last-child {
  border-right: none;
}
.org-action-btn:hover {
  background: #f5f7fa;
  color: #333;
}
/* 사용자 팝업 액션 버튼 */
.userpop-action-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  padding: 10px 0;
  border: none;
  border-right: 1px solid #eee;
  border-radius: 0;
  font-size: 13px;
  color: #666;
  cursor: pointer;
  background: #fff;
  transition: all 0.15s;
}
.userpop-action-btn:last-child {
  border-right: none;
}
.userpop-action-btn:hover {
  background: #f0f4ff;
  color: #4389f9;
}

#tabBtn li {
  padding: 10px 14px;
  border-bottom: 1px solid #efefef;
}
#tabBtn li img{
  width: 15px;
  height: 15px;
  margin-right: 0.5em;
}
#tabBtn li span{
  cursor: pointer;
}
.document-list li h5 {
  margin-left: 5px;
  color: #636363;
  width: 100%;
  text-overflow: ellipsis;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  font-size: 15px;
}

.swal-custom-label {
  margin: 0 !important;
  font-size: 15px;
  text-align: left;
  width: 80%;
  display: block;
  margin-bottom: 5px !important;
}

.make-chat-popup {
  width: 85%;
  margin: 0 auto;
}

.make-chat-title {
  font-size: 18px;
  padding: 1em 0 !important;
}

.make-input {
  padding: 0 !important;
  margin: 0 !important;
}

.ch-title-wrap {
  padding: 0 !important;
  font-size: 15px;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

#char-counter {
  text-align: left;
  color: #888;
  font-size: 0.9em;

}

.outlineWrap {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: flex-start;
  margin-top: 1em;
  margin-bottom: 1em;
}

.outlineWrap textarea {
  padding: 0.5em !important;
  margin: 0 !important;
  width: 100% !important;
}

.input-outline {
  height: 6.75em;
  padding: 0.75em;
  font-size: 15px;
  padding: 1em !important;
}

#tag-input {
  width: 100%;
  font-size: 14px;
  padding: 0.5em !important;
  border: 1px solid #d9d9d9;
}

.tag-container {
  flex-direction: column;
  align-items: flex-start;
}

.tag {
  padding: 2px 9px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  margin: 5px 0;
  background: #4389f9;
}

.tag span {
  font-size: 15px;
  font-weight: 400;
  color: white;
}

.tag-remove {
  border-radius: 50%;
  color: white;
  padding: 0px 4px;
  margin-left: 0.5em;
  font-size: 13px !important;
}

.make-chat-confirm {
  background-color: #4389f9 !important;
  font-size: 15px !important;
}

.make-chat-cancle {
  background-color: #bfbfbf !important;
  font-size: 15px !important;
  color: #222 !important;
  font-weight: 700;
}

.contact-chat {
    overflow-y: scroll;
    position: relative;
    height: 100%;       /* 높이가 지정되어 있어야 스크롤이 생김 */
}

/* 상단 고정 날짜 표시 영역 - 스크롤 중에만 표시 */
#fixed-date-header {
    position: absolute;
    top: 6.2em;
    left: 0;
    right: 0;
    z-index: 200;
    text-align: center;
    padding: 10px 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

#fixed-date-header.scrolling {
    opacity: 1;
}

#fixed-date-header span {
    background-color: #666;
    font-size: 13px;
    padding: 4px 15px;
    border-radius: 20px;
    display: inline-block;
    color: white;
}
.line {
    opacity: 1;
    transition: opacity 0.3s ease-in-out;
    position: relative;
    z-index: 100;
    width: 100%;
    margin: 15px 0;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.line::before,
.line::after {
    content: '';
    flex: 1;
    height: 1px;
    background: rgba(0, 0, 0, 0.1);
}

.line::before {
    margin-right: 15px;
}

.line::after {
    margin-left: 15px;
}

.line.visible {
    opacity: 1;
}

.line span {
    background-color: #666;
    font-size: 13px;
    padding: 4px 15px;
    border-radius: 15px;
    display: inline-block;
    color: white;
    white-space: nowrap;
}

#loginbtn {
  background: #1e3a8a !important;
  color: #fff !important;
  font-weight: 800;
  padding: 10px 15px;
}

.signBtn {
  color: #1e3a8a !important;
  font-weight: 600;
}

#ch_users_list li {
  padding-bottom: 10px;
}

.recent {
  box-shadow: 0px 0px 1px #ababab;
}

/* 검색폼 576px 이상에서 Bootstrap 오버라이드 */
@media (min-width: 576px) {
  .search-form2 .form-group {
    width: 90%;
    flex: 1;
    flex-wrap: nowrap;
  }
  .search-form2 .form-control-plaintext {
    display: block;
    width: 100%;
  }
}

.form-control-plaintext {
  margin-left: 5px;
  margin-right: 5px;
}

#settingUserName span {
  font-size: 18px;
}

.user_info_title span {
  font-size: 20px;
  font-weight: 500;
}

.user_info_title {
  padding-bottom: 1.5em;
}

.user_info_close {
  font-size: 15px;
}

.login-header-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 8%;
}

#with_bookmark_btn {
  display: flex;
  align-items: center;
}

.msgtimeWrap span {
  font-size: 13.5px;
  /* font-weight: 500; */
  color:#444;
}


.replies, .sent {
  -webkit-user-select: none;  /* iOS/Safari에서 텍스트 선택 방지 */
  -webkit-touch-callout: none; /* iOS에서 롱클릭 시 시스템 메뉴(링크 복사 등) 방지 */
  user-select: none;           /* 표준 텍스트 선택 방지 */
  -moz-user-select: none;
  -ms-user-select: none;
  
  /* 클릭 시 생기는 하이라이트 색상 제거 (선택 사항) */
  -webkit-tap-highlight-color: transparent;
}

.long-btn-wrap{
  align-items: center;
}

.long-btn-wrap div{
  padding:0.3em 1em;
  transition-duration: 400ms;

}
.long-btn-wrap div:hover{
  background-color: #efefef;
  transition-duration: 400ms;
}

.long-btn-wrap div span {
    padding: 0.6em 1em 0.6em 0.25em;
    display: block;
    font-size: 15px;
    cursor: pointer;
    font-weight: 500;
}

.long-btn-wrap div img{
  width: 20px;
  height: 20px;
}

.notice-content>.notice-icon , 
.notice-content>button{
  width: 5%;
}


.tab-plus-btn{
    display: block;
    margin-left: auto;
    margin-right: 5%;
    padding: 0.7em 1em;
    border: none;
    background: #dfdede;
    font-size: 14px;
    color: #333;
    border-radius: 10px;
    font-weight: 500;
}
.set-li-wraps{
  background-color: #fff;
  width: 95%;
  margin:0 auto;
  font-size: 15px;
  padding: 1.5em;
  border-radius: 10px;
}
.set-li:not(:last-child){
  border-bottom: 1px solid #efefef;
}

.set-li img{
  width: 15px;
  height: 15px;
  display: block;
  margin-right: 5px;
}
.set-li b{
  color: #333;
  font-weight: 500;
}
.set-li ul{
  margin:0.5em 0;
}
.set-li h5 span{
  font-size: 16px;
  font-weight: 500;
  color: #333;
}
.set-li ul li span{
  color: #333;
}
.app-inform span{
  cursor: pointer;
}
#settings{
  padding: 0;
 
}
.app-inform-li img{
  width: 13px;
  height: 13px;
}
.logout-btn svg{
  width: 15px;
  height: 15px;
  margin-right: 0.5em;
}
.logout-btn{
  margin-top:1em;
  color: #555;
  cursor: pointer;
}
.logout-btn:hover{
  color: #000;
}
.board_list ul li div pre{
    text-align: justify;
    word-break: break-all;
    white-space: normal;
    padding: 1em;
}
.manager-set ul li span{
  cursor: pointer;
}

.jstree-checkbox {
    display: none !important;
}
.modbtn{
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    position: absolute;
    bottom: 0;
    left: 58%;
    margin: 0 !important;
}
.informModibtn{
  display: flex;
  position: relative;
  align-items: center;
  justify-content: center;
  margin-bottom: 1em;
  flex-direction: column;
}

.msgtimeWrap{
  display: flex;
  align-items: flex-end;
  gap: 6px;
  padding-top: 5px;
}

.msgtimeWrap .msg-box{
  max-width: 240px;
}
#logoimg{
  text-align: center;
}
#logoimg img{
  width:200px;
}


#signEmail::placeholder{
  font-size: 14px;
}
/* form-control.my-input::placeholder  */
#organName {
  -webkit-appearance: none;  /* Chrome, Safari */
  -moz-appearance: none;     /* Firefox */
  appearance: none;          /* Standard */

  /* 2. 새로운 화살표 아이콘 넣기 (SVG 예시) */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236c757d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center; /* 오른쪽에서 15px 떨어진 중앙에 배치 */
  background-size: 14px; 
  padding-right: 35px !important; 
}

/* IE에서 화살표 숨기기 */
#organName::-ms-expand {
  display: none;
}
input#signName::placeholder, 
input#organName::placeholder, 
input#signEmail::placeholder, 
input#signRank::placeholder, 
input#signPosition::placeholder
{
    font-size: 14.5px !important;
}

.login-content-main .signup{
  font-size: 2.3em;
  color:#222;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1em;
  
}

.media .media-body .contact-name .msgtimeWrap .msgbox{
  padding:0;
  margin:0 ;
  list-style: none;
  width: 250px;
}

.sent .media .media-body .contact-name .msgtimeWrap .msg-box .msg-setting-main{
  display: inline-flex;
}
.replies .media .media-body .contact-name .msgtimeWrap .msg-box .msg-setting-main{
  flex-direction: row-reverse;
}
.msg-setting-main{
  /* width: 100%; */
  vertical-align: bottom;
  padding: 0;
  margin: 0;
  overflow: hidden;
  display: inline-flex;
}
#chat-video {
  display: block;           /* 하단 여백 제거를 위해 블록화 */
  width: 100%;              /* 부모(.msg-setting-main) 너비에 꽉 채움 */
  height: auto;
  border-radius: 12px;      /* 디자인에 맞게 곡률 조정 */
}

.headerWrap{
  width: 100%;
  z-index: 10;
  padding: 1em;
}
.chatting_users_img{
  width: 18px;
  height: 18px;
  margin-right: 0.5em;
}
.contact-details .media-right ul {
    display: flex;
    align-items: center;
}
/* 레이지 로딩 대상 초기 상태 */
.lazy-load {
  opacity: 0;
  transition: opacity 0.6s ease-in-out; 
}

/* 로딩 중 애니메이션  */
.lazy-load.loading {
  filter: blur(5px); /* 로딩 중엔 살짝 흐리게 */
}

/* 로딩이 완료되었을 때 추가할 클래스 */
.lazy-load.loaded {
  opacity: 1;
}

.lazy-load:not(.loaded) {
  background-color: #f5f5f5; 
}
 .chat-display-settings ul li {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding-bottom: 5px;
    }
    .chat-display-settings .setting-control {
      display: flex;
      align-items: center;
      gap: 8px;
      width: 120px;
      justify-content: space-between;
    }
    .chat-display-settings input[type="color"] {
      width: 45px;
      height: 30px;
      border: 1px solid #ddd;
      border-radius: 4px;
      cursor: pointer;
      padding: 0;
    }
    .chat-display-settings select {
      padding: 6px 10px;
      border: 1px solid #ddd;
      border-radius: 4px;
      font-size: 13px;
      width: 120px;
    }
    .chat-display-settings .reset-btn {
      padding: 5px 10px;
      font-size: 12px;
      background: #f0f0f0;
      border: 1px solid #ddd;
      border-radius: 4px;
      cursor: pointer;
    }
    .chat-display-settings .reset-btn:hover {
      background: #e0e0e0;
    }
    #noticeWrap-list{
      padding:0 1em;
    }

    /* 멘션 드롭다운 */
    .mention-dropdown {
      position: fixed;
      bottom: auto;
      left: 0; right: 0;
      max-height: 200px;
      overflow-y: auto;
      background: #fff;
      border: 1px solid #e0e0e0;
      border-radius: 8px;
      box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
      z-index: 9999;
    }
    .mention-dropdown .mention-item {
      display: flex; align-items: center; gap: 8px;
      padding: 8px 12px; cursor: pointer;
    }
    .mention-dropdown .mention-item:hover,
    .mention-dropdown .mention-item.active {
      background: #f0f0ff;
    }
    .mention-dropdown .mention-item .bot-badge {
      background: linear-gradient(135deg,#6366f1,#8b5cf6);
      color: #fff; font-size: 10px; padding: 1px 6px;
      border-radius: 4px;
    }
    .mention-dropdown .mention-item .mention-name {
      font-weight: 500; font-size: 14px;
    }
    .mention-dropdown .mention-item .mention-rank {
      font-size: 12px; color: #888;
    }

    /* 메시지 내 멘션 하이라이트 */
    .mention {
      color: #6366f1; font-weight: 600;
      background: rgba(99,102,241,0.1);
      padding: 1px 4px; border-radius: 3px;
    }

/* ============================================================
   데스크톱 채팅 입력 영역 개선 (768px 이상에서만 적용)
   모바일(768px 미만)은 기존 스타일 그대로 유지
   ============================================================ */
@media screen and (min-width: 768px) {
  .withchat-main .message-input {
    background: #e8e8e8 !important;
    border-top: 1px solid #d5d5d5 !important;
    padding: 10px 16px !important;
    padding-bottom: calc(10px + env(safe-area-inset-bottom)) !important;
    box-sizing: border-box !important;
  }

  .withchat-main .message-input .flx.flxCt.input-wrap {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border-radius: 12px !important;
    padding: 6px 10px !important;
  }

  .withchat-main .message-input .flx.flxCt.input-wrap > .attachBtn {
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    flex: 0 0 36px !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .withchat-main .message-input .flx.flxCt.input-wrap > .emojis-main {
    width: 0 !important;
    flex: 1 1 0% !important;
    min-width: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  .withchat-main .message-input .emojis-main > input.setemoj {
    flex: 1 1 0% !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 38px !important;
    font-size: 14px !important;
    padding: 6px 14px !important;
    margin: 0 !important;
    border-radius: 8px !important;
    background: #f2f2f5 !important;
    border: 1px solid transparent !important;
  }
  .withchat-main .message-input .emojis-main > input.setemoj:focus {
    background: #fff !important;
    border-color: #89A8C1 !important;
    outline: none !important;
  }

  .withchat-main .message-input .emojis-main > button#send-msg {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    padding: 0 !important;
    margin: 0 !important;
  }
}