@charset "utf-8";
@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.8.3/font/bootstrap-icons.css");
@font-face { font-family: '빙그레체'; src: url("../font/Binggrae-Bold.ttf"); }

/*chatGPT*/
.chat-page { 
	
}
.chat-page .container-fluid {
	padding-left: 40px;
	padding-right: 40px;
}
.chat-content { 
	
}
.chat-content-wrap {
	padding: 20px 30px;
	border-radius: 30px;
	background-color: #FFFFFF;
	box-shadow: 0px 4px 6px 0px rgba(26, 26, 26, 0.2);
}
.chat-content-box {
	display: flex;
	flex-wrap: wrap;
	height: 100%;
}
.chat-history {
	
}
.history-list-area { 
	
}
.history-list-area .sub-title {
	margin-bottom: 10px;
	color: #0b0b0b;
	font-weight: bold;
}
.history-list-area .history-list { 
	
}
.history-list-area .chat-btn {
	padding-bottom: 20px;
}

/* 2024.01 추가 */
.chat-title {
	display: flex;
	padding: 5px 10px;
	border: 0;
	background-color: #e6cfd4;
	color: #7F1F2B;
	border-radius: 5px;
	width: 50%;
}
.next-btn {
	padding: 5px 10px;
	border: 0;
	color: #7F1F2B;
	border-radius: 5px;
	width: 100%;
	max-width: 800px;
	margin-bottom: 10px;
}
.next-btn .new {
	display: flex;
	padding: 5px 10px 5px 10px;
	border: 0;
	background-color: #e6cfd4;
	color: #070645;
	border-radius: 5px;
	float: right;
}

.print-btn  {
	padding: 5px 10px;
	border: 0;
	color: #7F1F2B;
	border-radius: 5px;
	width: 100%;
	margin-bottom: 10px;
}

.print-btn .new {
	display: flex;
	padding: 5px 10px 5px 10px;
	border: 0;
	background-color: #e6cfd4;
	color: #070645;
	border-radius: 5px;
	float: right;
}

.topics {
	margin-bottom: 10px;
	border-radius: 10px 10px 10px 0;
	background: #0dcaf0;
	color: #0b0b0b;
}

.write-card {
	margin-bottom: 10px;
	border-radius: 10px 10px 10px 0;
	background: #eaeaea;
	color: #0b0b0b;
}

.border-box {
	background: #1ee57a !important;
	border: 1px solid #1ee57a;
	border-radius: 5px;
}
/*
이전 입력 내용 표시 영역
 */
.user-input-area {
	background-color: #f7f8fa;
	border-radius: 15px;
	border: 1px solid #6c757d;

}



.chat-btn .new {
	display: flex;
	padding: 5px 10px;
	width: 120px;
	border: 0;
	background-color: #e6cfd4;
	color: #7F1F2B;
	border-radius: 5px;
}
.chat-btn .new i {
	font-size: 24px;
	margin-right: 10px;
}

.active {
	color: #7F1F2B;
	font-weight: 800;
}

.history-list-area .chat-list-box {
	
}
.chat-list-box .sub-title {
	font-size: 12px;
	padding: 5px 12px;
}
.chat-list-box ol {
	list-style: none;
	margin: 0;
	padding: 0;
}
.chat-list-box ol li {
	
}
.chat-list-box ol li a {
	display: flex;
	padding: 5px 12px;	
	align-items: center;
	cursor: pointer;
}
.chat-list-box ol li a i {
	margin-right: 10px;
}
.chat-list-box ol li a .txt {
	text-overflow: ellipsis;
}


/* 대화 영역 */
.chat-box-area {
	background-color: #f7f8fa;
	border-radius: 15px;
}
.chat-box-wrap {
	display: flex;
	flex-direction: column;
	-webkit-box-align:center;
	align-items: center;
	-webkit-box-pack: start;
	justify-content: flex-start;
	padding: 20px;
	width: 100%;
	height: 100%;
}

/* 대화창 */
.chat-text-area {
	display: flex;
	flex-direction: column;
	-webkit-box-align:center;
	align-items: center;
	-webkit-box-pack: start;
	justify-content: flex-start;
	flex: 1 1 0%;
	position: relative;
	width: 100%;
}
.chat-text-area .chat-window-box {
	max-width: 800px;
	width: 100%;
	margin: 0 auto;
	padding-top: 30px;
}

/* 말풍선 */
.chat-question-box {
	padding-bottom: 50px;
}
.ballon-wrap-right {
	max-width: 800px;
	width: 100%;
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	-webkit-box-pack: start;
	justify-content: flex-start;
}
.ballon-wrap-left {
	max-width: 800px;
	width: 100%;
	margin-bottom: 20px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	-webkit-box-pack: start;
	justify-content: flex-start;
}
.balloon {
	
}
.balloon .name {
	display: flex;
	flex-direction: row;
	-webkit-box-align: center;
	align-items: center;
	-webkit-box-pack: start;
	justify-content: flex-start;
	margin-bottom: 8px;
}
.balloon .name i {
	margin-right: 4px;
	color: #7F1F2B;
	font-size: 20px;
}
.balloon .name span {
	font-weight: bold;
}
.balloon .txt {
	padding: 14px 20px;
	font-size: 16px;
	line-height: 1.8;
	font-weight: 500;
	max-width: 100%;
	overflow-x: hidden;
	text-align: left;
}
.balloon .txt.question {
	border-radius: 10px 10px 0;
	background: #7F1F2B;
	color: #fff;

}
.balloon .txt.answer {
	margin-bottom: 20px;
	border-radius: 10px 10px 10px 0px;
	background: #e5fff1;
	color: #0b0b0b;
}

.balloon .txt.query {
	margin-bottom: 10px;
	border-radius: 10px 10px 10px 0px;
	background: #ffe5e5;
	color: #0b0b0b;
}

/* 답변 중 */
.balloon .loading {
	margin-bottom: 10px;
	padding: 14px 20px;
	border-radius: 10px 10px 10px 0px;
	background: #ffe5e5;
	max-width: 100%;
	overflow-x: hidden;
}
.loader:before{
  content: "";
  position: absolute;
  top: 0px;
  left: -25px;
  height: 12px;
  width: 12px;
  border-radius: 12px;
  -webkit-animation: loader10g 3s ease-in-out infinite;
      animation: loader10g 3s ease-in-out infinite;
}
.loader{
	position: relative;
	width: 12px;
	height: 12px;
	top: 45%;
	left: 45%;
	border-radius: 12px;
	-webkit-animation: loader10m 3s ease-in-out infinite;
	animation: loader10m 3s ease-in-out infinite;
}
.loader:after{
  content: "";
  position: absolute;
  top: 0px;
  left: 25px;
  height: 10px;
  width: 10px;
  border-radius: 10px;
  -webkit-animation: loader10d 3s ease-in-out infinite;
      animation: loader10d 3s ease-in-out infinite;
}
@-webkit-keyframes loader10g{
  0%{background-color: rgba(127, 31, 43, .2);}
  25%{background-color: rgba(127, 31, 43, 1);}
  50%{background-color: rgba(127, 31, 43, .2);}
  75%{background-color: rgba(127, 31, 43, .2);}
  100%{background-color: rgba(127, 31, 43, .2);}
}
@keyframes loader10g{
  0%{background-color: rgba(127, 31, 43, .2);}
  25%{background-color: rgba(127, 31, 43, 1);}
  50%{background-color: rgba(127, 31, 43, .2);}
  75%{background-color: rgba(127, 31, 43, .2);}
  100%{background-color: rgba(127, 31, 43, .2);}
}
@-webkit-keyframes loader10m{
  0%{background-color: rgba(127, 31, 43, .2);}
  25%{background-color: rgba(127, 31, 43, .2);}
  50%{background-color: rgba(127, 31, 43, 1);}
  75%{background-color: rgba(127, 31, 43, .2);}
  100%{background-color: rgba(127, 31, 43, .2);}
}
@keyframes loader10m{
  0%{background-color: rgba(127, 31, 43, .2);}
  25%{background-color: rgba(127, 31, 43, .2);}
  50%{background-color: rgba(127, 31, 43, 1);}
  75%{background-color: rgba(127, 31, 43, .2);}
  100%{background-color: rgba(127, 31, 43, .2);}
}
@-webkit-keyframes loader10d{
  0%{background-color: rgba(127, 31, 43, .2);}
  25%{background-color: rgba(127, 31, 43, .2);}
  50%{background-color: rgba(127, 31, 43, .2);}
  75%{background-color: rgba(127, 31, 43, 1);}
  100%{background-color: rgba(127, 31, 43, .2);}
}
@keyframes loader10d{
  0%{background-color: rgba(127, 31, 43, .2);}
  25%{background-color: rgba(127, 31, 43, .2);}
  50%{background-color: rgba(127, 31, 43, .2);}
  75%{background-color: rgba(127, 31, 43, 1);}
  100%{background-color: rgba(127, 31, 43, .2);}
}

/* 질문 입력란 */
.chat-input-area {
	display: flex;
	flex-direction: column;
	-webkit-box-align:center;
	align-items: center;
	-webkit-box-pack: start;
	justify-content: flex-start;
	width: 100%;
	
}
.chat-input-area .text-box {
	display: flex;
	flex-direction: column;
	position: relative;
	border-radius: 10px;
	max-width: 800px;
	width: 100%;
	border: 1px solid #ebd3d3;
	background: #fff;
	padding: 16px 16px 16px 20px;
}

.chat-input-area .text-box .text-input {
	width: 100%;
	border: none;
	background: none;
	font-size: 18px;
	line-height: 1.6;
	font-weight: bold;
	color: #0b0b0b;
	resize: none;
}
.text-box .send-text {
	position: absolute;
	bottom: 15px;
	right: 16px;
}
.text-box .send-text button {
	height: 40px;
	border: none;
	background: none;
}
.text-box .send-text button i {
	color: #7F1F2B;
	font-size: 40px;
}
.text-box .clear-text {
	position: absolute;
	right: 10px;
	top: -50px;
}
.text-box .clear-text button {
	display: flex;
	align-items: center;
	height: 40px;
	border: 1px solid #7F1F2B;
	border-radius: 4px;
	background: none;
	font-size: 18px;
	color: #7F1F2B;
}
.text-box .clear-text button i {
	margin-right: 4px;
	color: #7F1F2B;
}

@media only screen and (max-width: 425px) {
	.history-list-area {
		margin-bottom: 20px;
	}
}