@charset "UTF-8";

.chatbot{
	/* display:flex; */
	display:none;
	justify-content: right;
	align-items:center;
	height: 100%;
    width: 100%;
    position: absolute;
    pointer-events: none;
}
.main-profil{
	position: fixed;
	width: 80px;
    background: white;
    height: 80px;
    border-radius: 50%;
    z-index: 999;
    border: 5px solid #14C224;
    cursor: pointer;
    box-shadow: 0px 0px 5px 5px rgb(0 0 0 / 50%);
    pointer-events: auto;
    right: 5px;
}	
.main-profil img{
	width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: circle(50%);
    cursor: pointer;
}
.chatbot-container{
	position: fixed !important;
	bottom: 20px;
	right: 20px;
	display:none;
	background: white;
    /* width: 20%; */
    width: 380px;
    height: 65%;
    border-radius: 18px;
    flex-direction: column;
    z-index: 999;
    box-shadow: 0px 12px 30px rgb(0,0,0,0.2);
    /* transform: scale(0.2) translate(100vw, 0); */
    pointer-events: auto;
    /* font-family: 'koroadBold'; pretendard-Medium으로 대체*/
}
.chatbot #chat-header{
	display: flex;
	flex-direction: column;
    background-color: #1ea56e;
    color: white;
    padding: 16px 20px;
    text-align: left;
    border-radius: 0;
    height: auto;
    align-items: flex-start;
    font-size: 16px;
    line-height: 1.4;
    justify-content: center;
    border-top-left-radius:10px;
	border-top-right-radius:10px;
}
.chatbot #chat-header #collapse-button{
	position: absolute;
	left: 90%;
	cursor: pointer;
	font-size: 20px;
}
.chatbot #chat-window{
    flex:1;
    padding:10px;
    overflow-y:auto;
    display:flex;
    flex-direction:column;
    height:80%;
    overflow-x: hidden;
}
.chatbot #chat-window .response-box{
	display: flex;
}
.chatbot #chat-window .response-profil{
	width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid #14C224;
}
.chatbot #chat-window .response-profil img{
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 50%
}
.chatbot #chat-window .request{
	align-self: flex-end;
	background-color: #1790f6;
	color: white;
	padding: 10px 14px;
	border-radius: 19px;
	margin: 5px;
	max-width: 70%;
	line-height: 1.5;
	position: relative;
}
.chatbot #chat-window .request::after{
	content: "";
	position: absolute;
	right: -26px;
	bottom: 0px;
	width: 28px;
	height: 24px;
	background: #1790f6;
	clip-path: path("M0 3 Q25 18 0 17 Z");
	display: none;
}
.chatbot #chat-window .response{
	align-self: flex-start;
	background-color: #f5f5f5;
	color: black;
	padding: 10px 14px;
	border-radius: 19px;
	margin: 5px;
	max-width: 70%;
	line-height: 1.5;
	position: relative;
}
.chatbot #chat-window .response::after{
	content: "";
	position: absolute;
	left: -14px;
	bottom: 0px;
	width: 28px;
	height: 24px;
	background: #f5f5f5;
	clip-path: path("M0,14 C5,2 18,0 26,6 C30,10 30,18 22,20 C12,22 4,20 0,14 Z");
	display: none;
}
.chatbot #chat-window .information{
	width: 100%;
    background: white;
    border: 1px solid white;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.chatbot #chat-window .information .info-link{
	background-color: white;
    color: #0069EC;
    padding: 4px 8px;
    border-radius: 15px;
    margin: 5px;
    line-height: 1.5;
    text-decoration: underline;
    cursor: pointer;
    height: 100%;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
}
.chatbot #chat-window .information .info-link:hover{
	/* border: 1px solid; */
}
.chatbot #chat-window .waiting{
	align-self: flex-start;
	background-color: #e1e1e1;
	color: black;
	padding: 8px 12px;
	border-radius: 15px;
	margin: 5px;
	max-width: 70%;
	line-height: 1.5;
	display: flex;
	gap: 5px;
}
.chatbot #chat-window .waiting span{
	width: 8px;
	height: 8px;
	background-color: white;
	border-radius: 50%;
	animation: typing 1.5s infinite ease-in-out;
}
.chatbot #chat-window .waiting span:nth-child(1){
	animation-delay: 0s;
}
.chatbot #chat-window .waiting span:nth-child(2){
	animation-delay: 0.2s;
}
.chatbot #chat-window .waiting span:nth-child(3){
	animation-delay: 0.4s;
}
@keyframes typing {
	0% { opacity: 0.2; }
	50% { opacity: 1; }
	100% { opacity: 0.2; }
}
.chatbot #chat-input {
	display: flex;
	border-top: 1px solid #ddd;
	padding: 10px;
	background-color: white;	
	border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}
.chatbot #chat-input #question{
	flex: 1;
	padding: 6px;
	border: 1px solid #ccc;
	border-radius: 10px;
	margin: 5px;
}
.chatbot #chat-input #question::placeholder{
	letter-spacing: -1px;
}
.chatbot #chat-input #chat-button{
	padding: 0 20px;
	background-color: #1691F7;
	color: white;
	border-radius: 10px;
	cursor: pointer;
	margin: 5px;
	font-size: 14px;
}
.chatbot #chat-input #chat-button:hover{
	background-color: #14C224;
}
@media screen and (max-width: 640px) {
	
}