@charset "utf-8";
/* CSS Document */


/* 공통 */

*{
	margin:0;
	padding:0;
}

body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, p, form, figure, fieldset, input, th, td{margin:0;padding:0;}
/*
*:focus {
    outline: 0;
}
*/
.makechat :focus-visible {
    outline: 5px solid #666;
}

html,body{
	height: 100%;
	width: 100%;
	position: fixed;
	background:#F5F7FA;
	-webkit-overflow-scrolling: touch;
 }

img{border:none;}

.clear{clear:both;}

.btn{cursor:pointer;}

.click{cursor:default;}

button{
	border: none;
}

body{
	font-family: '맑은 고딕', 'notokr-regular', sans-serif;
}


/* Font Awesome 아이콘 스타일 */
.fas {
	font-size: 16px; /* 아이콘 크기 */
	color: #FFF; /* 아이콘 색상 */
}

/* 채팅창 전체 레이아웃 */
.makechat {
    text-size-adjust: 100%;
    font-feature-settings: normal;
    font-family: Söhne, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Ubuntu, Cantarell, "Noto Sans", sans-serif, "Helvetica Neue", Arial, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    font-variation-settings: normal !important;
    line-height: 1.5;
    tab-size: 4;
	display:none;
	letter-spacing:-1px;
}


.makechat {
	float:left;
	width:100%;
}

.makechat_msg{
	padding-left: 20px;
	padding-right: 20px;
	letter-spacing:0;
	font-size:1rem;
	background:#e8e8e8;
	overflow-y: scroll;
	box-sizing: border-box;
	overflow-x: hidden;
}

.makechat,.makechat_msg{
	background:#343541 !important;
}


/* 상단 */
.makechat_top{
    display: flex; /* Flexbox 사용 */
    justify-content: space-between; /* 양 끝에 요소 배치 */
    align-items: center; /* 세로 중앙 정렬 */
    padding-left: 15px; /* 여백 추가 */
    padding-right: 15px; /* 여백 추가 */
	color:#FFF;
	font-weight:bold;
}

.makechat_top_logo {
	font-size:26px;
	margin-left:10px;
	margin-top:32px;
	margin-bottom:20px;
}

.makechat_top_logo_title{
	font-size:1.5rem;
	color:#000;
}

.makechat_top_logo_title_edit{
	font-size:1.5rem;
	color:#000;
	font-weight: bold;
	border:none;
	outline: none; /* 선택 시 생기는 테두리 제거 */
}

.makechat_top_logo_title_edit:focus{
	font-size:1.5rem;
	color:#000;
	font-weight: bold;
	border:none;
	outline: none; /* 선택 시 생기는 테두리 제거 */
}

.makechat_top_logo_createby{
	font-size:0.875rem;
    vertical-align:1px;
	color:#666;
	font-weight:500;
}

.makechat_top_logo_createby img{
	border-radius: 50%;
	margin-right:3px;
}

.makechat_top_logo_createby_username{
	color:#666;
	font-weight:700;
}

#makechat_btn_close {
    background: none;
    border: none;
    cursor: pointer;
}

#makechat_btn_close i {
    font-size: 20px; /* 아이콘 크기 */
}


/* 하단 */
.makechat_bottom{
	background:#FFF;
	padding-top:10px;
	padding-bottom:10px;
    padding-left: 20px; /* 내부 여백 */
    padding-right: 20px; /* 내부 여백 */
	box-sizing: border-box;
}

.makechat_input{
	width:100%;
	position:absolute;
	bottom:20px;
	z-index:10000;
}

.makechat_input {
	width:calc(100% - 40px);
    display: flex; /* Flexbox 사용 */
    align-items: center; /* 세로 중앙 정렬 */
    justify-content: space-between; /* 요소들 사이에 공간 분배 */
}

.makechat_input {
    border: 1px solid #666; /* 경계선 색상 */
    border-radius: 15px; /* 경계선 둥글게 */
    padding-left: 20px; /* 내부 여백 */
    padding-right: 20px; /* 내부 여백 */
    resize: none; /* 크기 조절 기능 비활성화 */
	position:static;
	height:50px;
	width:calc(100% - 40px);
	background:#FFF;
}

.makechat_input textarea{
	width:100%;
	height:30px;
	line-height:20px;
	margin-left:5px;
	margin-right:5px;
	color:#FFF;
	font-size:1rem;
	padding-left:5px;
	padding-right:5px;
	box-sizing: border-box;
	border:none;
	outline: none !important;
	font-family: '맑은 고딕', 'notokr-regular', sans-serif;
    background-color: transparent; /* 배경색 투명 */
	font-size:14px;
	box-sizing:content-box;
	overflow:hidden;
	background:#FFF;
	margin-top: 10px;
}

.makechat_input_msg {
    flex-grow: 1; /* 나머지 공간 채우기 */
    margin: 0 10px; /* 좌우 여백 */
    color: #fff; /* 글자색 (밝은색 권장) */
}

button {
    background: none;
    border: none;
    cursor: pointer;
}

button i {
    color: #FFF; /* 아이콘 색상 */
    font-size: 16px; /* 아이콘 크기 */
}



/*********** msg item ***********/
.makechat_msg_item{
	padding-top:8px;
	padding-bottom:12px;
}
.makechat_msg_item.pinned{
	background: #caf4ff;
}

.makechat_msg_item_msg_conv_name{
	font-weight:900;
}

.makechat_msg_item_msg{
	margin-bottom:10px;
}

/* 개행 표시 */
.makechat_msg_item_msg{
	white-space: pre-wrap;
}

.makechat_msg_item_msg .receiver{
	color: #009bb4; /* 글자 색상을 파란색으로 설정 */
	background-color: #bbeefa; /* 배경 색상을 흐린 하늘색으로 설정 */
	padding: 0.1rem 0.3rem; /* 내부 여백을 추가하여 텍스트 주변에 공간을 만듭니다 */
	padding-bottom: 0.3rem;
	margin-right:0.3rem;
	border-radius: 0.2rem; /* 모서리를 약간 둥글게 처리하여 Bootstrap5 스타일의 버튼 또는 라벨과 유사하게 만듭니다 */
	font-size:0.875rem;
}

.makechat_msg_item_msg b{
	color:#000;
}

.makechat_msg_item_tools{
	height:20px;
	width:100%;
	color:#999;
}
.makechat_msg_item_tools i{
	cursor:pointer;
	margin-right:5px;
}

.makechat_msg_item_img {
	margin-left:5px;
	width: 20px;  /* 썸네일의 너비 */
	height: 20px; /* 썸네일의 높이 */
	border-radius: 10px; /* 원형 썸네일을 위한 border-radius */
	margin-right: 10px; /* 텍스트와의 여백 */
	margin-top:4px;
	float: left; /* 텍스트 옆에 이미지를 위치시키기 위해 */
}

.makechat_msg_item {
	display: flex;
	align-items: flex-start; /* 이미지를 상단에 고정 */
}


/*********** input ***********/
.makechat_input{
	position:absolute;
	top:500px;
}

.makechat_input {
	width:calc(80% - 40px);
}

.makechat_input_switch{
	min-width:70px;
	overflow:visible;
	font-size: 0.875rem;
	height:30px;
	line-height:30px;
}

.makechat_input_switch label{
	display: inline-block; /* 라벨을 인라인 블록 요소로 만들어 너비가 내용에 따라 변하도록 함 */
	white-space: nowrap; /* 라벨 내용이 줄바꿈 되지 않도록 함 */
	transition: width 0.3s ease-in-out; /* 너비 변경 시 부드러운 전환 효과 */
	font-weight:700;
	color:#666;
}

.makechat_input_switch.to-human label {
	min-width: 70px; /* 'To Human' 텍스트를 수용하기 위한 최소 너비 설정 */
}

.makechat_input_switch .form-check-input{
	margin-top: 8px;
}

.txt_makechat_input_msg{
	height:30px;
	margin-left: 0 !important;
}



/* 코드 블락 */
.msg_block_code_head{
	color: #FFF;
    height: 30px;
    line-height: 30px;
    font-size: 12px;
    font-weight: 300;
    background: #333;
    padding-left: 10px;
    box-sizing: border-box;
	border-top-left-radius:10px;
	border-top-right-radius:10px;
}
.msg_block_code_head_title{
	width:50%;
	float:left;
}
.btn_msg_block_code_copy{
	width:80px;
    height: 30px;
    line-height: 30px;
	margin-right:10px;
	float:right;
	text-align:right;
	color:#FFF;
	cursor:pointer
}
.btn_msg_block_code_copy i{
	font-size:14px;
	margin-right:4px;
}
.msg_block_code_msg{
	color:#FFF;
	font-weight:300;
	background:#000000;
	padding:10px 15px 10px 15px;
	box-sizing: border-box;
	border-bottom-left-radius:10px;
	border-bottom-right-radius:10px;
}







/*********** 메세지 코드 블록 ***********/
.copy-button {
	cursor: pointer;
	background-color: #eee;
	border: none;
	padding: 5px 10px;
	border-radius: 3px;
	margin: 5px;
	font-size: 12px;
	float: right; /* 버튼을 오른쪽에 위치시킵니다 */
}

.copy-button:hover {
	background-color: #ddd;
}

.prism-show-language-label {
	font-size: 0.85em;
	color: #fff;
	padding: 0.5em;
	background-color: #333;
	clear: both; /* float 스타일을 초기화합니다 */
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	position:relative;
}


.prism-show-language-label .btn_msg_block_code_copy{
	width: 80px;
	height: 20px;
	line-height: 20px;
	font-size: 12px;
	float: right;
	text-align: right;
	color: #FFF;
	cursor:pointer
	top:5px;
	right:5px;
}
.prism-show-language-label .btn_msg_block_code_copy i{
	font-size:14px;
	margin-right:4px;
}

pre {
	background:#000;
	border-bottom-left-radius:5px;
	border-bottom-right-radius:5px;
	margin-bottom:0;
	position: relative;
	width:100%;
}
/*********** 메세지 코드 블록 ***********/



/* white 스킨 */
.makechat_white.makechat{
	background:#FFF !important;
}

.makechat_white .makechat_msg{
	background:#FFF !important;
}
.makechat_top{
	color:#333;
}

.makechat_white button i {
	color: #333; /* 아이콘 색상 */
}

.makechat_white .txt_makechat_input_msg {
	color: #333; /* 아이콘 색상 */
}
.pcoded-main-container{
	background:#FFF;
}

/*** 파일 참조 ***/
.file-reference {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 6px 10px;
    margin: 2px 0;
    font-size: 0.9em;
    transition: all 0.2s ease;
    max-width: 100%;
    overflow: hidden;
}

.file-reference:hover {
    background: #e9ecef;
    cursor: pointer;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.file-icon {
    margin-right: 8px;
    color: #495057;
    font-size: 1.1em;
}

.file-category {
    color: #495057;
    background: #e9ecef;
    padding: 2px 6px;
    border-radius: 3px;
    margin-right: 8px;
    font-weight: 500;
    font-size: 0.85em;
    white-space: nowrap;
}

.file-name {
    color: #228be6;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* 파일 형식별 아이콘 색상 */
.fa-file-pdf {
    color: #dc3545;
}

.fa-file-word {
    color: #0d6efd;
}