@charset "UTF-8";

/* 팝업 : S */

/* 공통 팝업 딤처리 */
.popup_dim, .sidebar_dim { position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.2); z-index: 9999; display: none; }

/* 팝업 레이어 */
.popup_wrap { position: fixed; top: 50%; left: 50%; transform: translate(-50%, -50%); z-index: 10000; min-width: 500px; background: #fff; border-radius: 10px; border: 1px solid #d7d7d7; box-shadow: 0px 3px 15px rgba(199, 199, 199, 0.2); width: 400px; display: none; }

/* 팝업 내부 */
.popup_header { display: flex; justify-content: space-between; align-items: center; padding: 13px 20px; border-bottom: 1px solid #ddd; color: #333; font-size: 20px; font-weight: 600; }
.confirm_popup_close i,
.popup_close i { color: #777; font-size: 20px; }
.popup_body { max-height: 56vh; overflow: auto; padding: 20px; }
.popup_body input { width: 100%; }
.popup_footer { display: flex; gap: 10px; justify-content: flex-end; margin-top: 16px; }
.btn_cancel, .btn_confirm { padding: 8px 16px; border-radius: 6px; border: none; cursor: pointer; }
.btn_cancel { background: #ccc; color: #fff; }

/* 아이디 비밀번호 찾기 팝업 */
.id_pw_message { font-weight: 400; color: #666; font-size: 18px; text-align: center; line-height: 28px; font-weight: 400; }
.id_pw_message p b { color: #444; font-weight: 600; border-bottom: 1px solid #bbb; }
.id_pw_contact { display: flex; padding: 10px 0; border-radius: 5px; gap: 10px; margin-top: 14px; background: #e6f1ee; justify-content: center; color: #338f76; font-weight: 500; }
.id_pw_contact span:first-of-type::after { content: ''; display: inline-block; width: 4px; height: 4px; margin-bottom: 4px; margin-left: 10px; background: #a1b9b3; border-radius: 100%; }
.id_pw_contact b { margin-right: 6px; color: #406057; font-weight: 600; }

/* 이름 변경 팝업 */
.popup_wrap.rename_popup { z-index: 10020; }

/* 대화내역 검색 팝업 */
.popup_wrap.search_popup { width: 700px; }
.search_popup .disbetween { flex-wrap: wrap; }
.search_popup .chat_history_wrap { max-height: 41dvh; }
.search_popup .chat_history > ul > li > div i img { vertical-align: middle; }
/* .popup_history { display: flex; flex-direction: column; max-height: 50vh; } */
.search_wrap { position: relative; margin-bottom: 16px; }
.search_wrap .popup_search_btn { position: absolute; position: absolute; top: 50%; right: 18px; transform: translateY(-50%); }
.search_wrap .popup_search_btn i { color: #777; font-size: 17px; }
.info_message { color: #5e7da9; font-size: 16px; font-weight: 400; }
.search_result_none { margin: 16px 0 3px; padding: 10px; background: #f5f5f5; border-radius: 0px; color: #888; text-align: center; font-weight: 400; }
.delete_all { display: inline-block; color: #888; font-size: 16px; border-bottom: 1px solid #ccc; padding-bottom: 2px; }
.delete_all:hover { font-weight: 600; }
.delete_all i img { width: 17px; filter: invert(69%) sepia(3%) saturate(6%) hue-rotate(314deg) brightness(120%) contrast(90%); }
.delete_all i { vertical-align: bottom; margin-right: 2px; }

/* 알림 팝업 */
.popup_wrap.alert_popup { position: absolute; top: 46px; left: unset; right: 0; transform: unset; min-width: 400px; }
.popup_wrap.alert_popup .popup_header { font-size: 19px; }
.popup_wrap.alert_popup .popup_body { padding: 0; }
.popup_wrap.alert_popup .info_message { padding: 14px 20px; border-top: 1px solid #eee; }

.alert_list_wrap { max-height: 459px; overflow: auto; }
.alert_list { width: 100%; }
.alert_list li { width: 100%; padding: 10px 20px; border-bottom: 1px solid #eee; cursor: pointer; }
.alert_list li:last-of-type{ border-bottom: none; }
.alert_list li:hover { background: rgba(177, 177, 177, .1); }
.alert_list .alert_type { display: inline-block; margin-bottom: 5px; color: #999; font-size: 16px; }
.alert_list .alert_text { display: -webkit-box; width: 100%; text-overflow: ellipsis; overflow: hidden; -webkit-box-orient: vertical; -webkit-line-clamp: 1; word-break: break-all; margin-bottom: 2px; color: #888; }
.alert_list .alert_date { display: inline-block; color: #ccc; font-size: 15px; font-weight: 400; }
.alert_list .on .alert_type { color: #e16819; }
.alert_list .on .alert_text { color: #333; }
.alert_list .on .alert_date { color: #999; }
.alert_list .alert_none { padding: 16px 20px; color: #999; font-weight: 400; cursor: auto; }
.alert_list .alert_none:hover { background: unset; }

/* 대화내역 삭제 팝업 */
.popup_wrap.delete_popup { z-index: 10020; }
.delete_popup p,
.check_popup p { color: #666; font-size: 19px; }

/* 전문가 피드백 팝업 */
.feedback_tit { display: flex; align-items: flex-start; gap: 8px; flex-direction: column; margin-bottom: 12px; }
.popup_wrap.feedback_popup { width: 870px; font-weight: 400; line-height: 26px; }
.feedback_popup h3 { display: inline-block; font-size: 19px; font-weight: 600; line-height: 1; }
.feedback_popup mark { color: #d94848; font-weight: 500; background: #fff27f; }
.feedback_popup .popup_footer { justify-content: center; }
.feedback_popup_wrap { display: flex; flex-direction: column; max-height: 86vh; }
.feedback_popup_wrap .popup_body { flex: 1 1 auto; }
.feedback_popup_wrap .popup_body .wrapper { padding: 0; }
.feedback_popup .info_message { font-size: 17px; font-weight: 500; line-height: 22px; }
.feedback_options { margin-bottom: 20px; }
.feedback_options ul { display: flex; flex-wrap: wrap; gap: 8px; }
.feedback_options li span { display: inline-block; padding: 2px 12px; border: 1px solid #ccc; border-radius: 20px; cursor: pointer; background-color: #f8f8f8; color: #777; transition: all 0.2s ease; }
.feedback_options li span:hover { border-color: #93c9ba; color: #02936c; background: #fff; }
.feedback_options li.on span { background-color: #eafaf6; border-color: #93c9ba; color: #02936c; font-weight: 500; }
.feedback_question_list { display: flex; flex-direction: column; gap: 5px; }
.feedback_question_list input[type="radio"] { display: none; }
.feedback_question_list input[type="radio"] + label { display: flex; align-items: center; cursor: pointer; color: #555; font-size: 18px; }
.feedback_question_list input[type="radio"] + label span { display: inline-block; min-width: 19px; min-height: 19px; border: 1px solid #ccc; border-radius: 50%; margin-right: 8px; position: relative; box-sizing: border-box; }
.feedback_question_list input[type="radio"] + label span::after { content: ''; position: absolute; top: 2px; left: 5px; width: 5px; height: 8px; border: solid #ccc; border-radius: unset; background: none; border-width: 0 2px 2px 0; transform: rotate(45deg); transition: 0.2s; }
.feedback_question_list input[type="radio"]:checked + label span { border-color: #78ad9f; background: #eafaf6; }
.feedback_question_list input[type="radio"]:checked + label span::after { border-color: #02936c; }
.feedback_question_list input[type="radio"]:checked + label { text-decoration: underline; color: #333; font-weight: 500; }
.feedback_popup .answer_bubble_inner { margin-top: 10px; }
.feedback_input_wrap { padding: 0 20px 20px; }

.self_input_area { display: flex; gap: 6px; margin-top: 6px; }
.self_input_area input { width: 70%; height: 38px; padding: 0 12px; line-height: 38px; }

.check_popup .popup_footer { justify-content: flex-end; }


/* 팝업 : E */




/* Small PC */
@media screen and (max-width: 1500px){
	
}

/* Tablet */
@media screen and (max-width: 1023px){
	
	/* 알림팝업 */
	.popup_wrap.alert_popup { z-index: 999; }
	
	/* 피드백 진행 팝업 */
	.popup_wrap.feedback_popup { max-width: 90%; min-width: 90%; }
	.feedback_popup_wrap { max-height: 80vh; }
}

/* Tablet */
@media screen and (max-width: 839px){
	
	/* 팝업 */
	.popup_wrap { min-width: 80%; max-width: 80%; }
	.popup_wrap.id_pw_popup,
	.popup_wrap.search_popup { min-width: 90%; width: 90%; }
	.popup_wrap.rename_popup,
	.popup_wrap.delete_popup,
	.popup_wrap.check_popup { min-width: 80%; width: 80%; }
	
	/* 피드백 진행 팝업 */
	.self_input_area input { width: unset; flex: 1; }
	
}


/* small Tablet */
@media screen and (max-width: 768px){
	
	/* 팝업 */
	.popup_header { padding: 11px 18px !important; }
	.popup_body { padding: 18px; }
	.popup_footer { margin-top: 14px; }
	
	/* 알림팝업 */
	.popup_wrap.alert_popup { position: fixed; top: 56px; left: 50%; transform: translateX(-50%); right: unset; min-width: 90%; width: 90%; }
	.alert_list_wrap { max-height: 50dvh; }
	
	/* 피드백 진행 팝업 */
	.feedback_btn_wrap { margin-top: 18px; padding-top: 16px; }
	.feedback_popup h3 { font-size: 18px; }
	.feedback_input_wrap { padding: 0 18px 18px; }
	
	/* 대화내역 삭제 팝업 */
	.delete_popup p, .check_popup p { font-size: 18px; }
}

/* Tablet */
@media screen and (max-width: 620px){
	
	/* 대화내역 검색팝업 */
	.popup_wrap .chat_history_wrap { max-height: 37dvh; }
	
}


/* Mobile */
@media screen and (max-width: 480px){
	
	/* 팝업 */
	.popup_wrap { border-radius: 7px; }
	.popup_header { padding: 8px 14px !important; font-size: 17px !important; }
	.popup_body { padding: 14px; }
	.popup_footer { gap: 6px; margin-top: 12px; }
	.confirm_popup_close i,
	.popup_close i { font-size: 16px; }
	
	/* 아이디 비밀번호 찾기 팝업 */
	.id_pw_message { line-height: 22px; font-size: 16px; }
	.id_pw_contact { flex-direction: column; align-items: center; padding: 7px 0; gap: 4px; margin-top: 12px; font-size: 15px; }
	.id_pw_contact span:first-of-type::after { display: none; }
	
	/* 대화내역 검색 팝업 */
	.search_wrap .popup_search_btn { right: 14px; }
	.search_wrap .popup_search_btn i { font-size: 16px; }
	.search_wrap { margin-bottom: 12px; }
	.search_popup .chat_history > ul > li > div > i { display: block; }
	.search_popup .disbetween { flex-direction: column; align-items: unset; gap: 8px; }
	.info_message { font-size: 14px; }
	.delete_all { font-size: 15px; }
	
	/* 알림팝업 */
	.popup_wrap.alert_popup { top: 42px; }
	.popup_wrap.alert_popup .info_message { padding: 12px 14px; }
	.alert_list li { padding: 8px 14px; }
	.alert_list .alert_type { font-size: 15px; }
	.alert_list .alert_date { font-size: 14px; }
	.alert_list .alert_none { padding: 12px 14px; }
	
	/* 피드백 진행 팝업 */
	.feedback_tit { margin-bottom: 10px; gap: 5px; }
	.feedback_popup h3 { font-size: 17px; }
	.feedback_popup .info_message { font-size: 16px; }
	.feedback_options { margin-bottom: 16px; }
	.feedback_options li span { padding: 0px 10px; font-size: 15px; }
	.feedback_options ul { gap: 6px; }
	.feedback_question_list { gap: 6px; }
	.feedback_question_list input[type="radio"] + label { font-size: 16px; }
	.feedback_question_list input[type="radio"] + label span { min-width: 18px; min-height: 18px; }
	.feedback_question_list input[type="radio"] + label span::after { width: 4px; height: 7px; }
	.feedback_input_wrap { padding: 0px 14px 14px; }
	.self_input_area { gap: 5px; margin-top: 4px; }
	.self_input_area input { height: 34px; line-height: 34px; padding: 0 10px; }
	
	/* 대화내역 삭제 팝업 */
	.delete_popup p,
	.check_popup p { font-size: 16px; }
}