@charset "utf-8";

/* 닫기버튼new */
/* 0518 챗봇 위치 수정 */
.chat-box-wrap {
    height: 6.6rem;
    width: 58px;
    box-sizing: border-box;
    position: absolute;
    right: 1.4rem;
    bottom: 0rem;
    z-index: 101;
}

.chat-box-wrap > div {
    width: 100%;
    /*    height: 100%;*/
    height: 66px;
    position: relative;
}

/* .chat-box-wrap > div .btn-close-n {
    width: 1.4rem;
    height: 1.4rem;
    border: none;
    border-radius: 50%;
    background: var(--gray-90);
    font-size: 0;
    margin-left: 90%;
} */

/* .chat-box-wrap > div .btn-close-n::before {
    content: "";
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    background: url(../images/aicc/btn_close.png) no-repeat center;
    background-size: 0.8rem;
} */


/* [2026-06-22 KJH] [WPM-245291997] ER-11 (0-12) | 챗봇 닫기버튼 수정 */
.chat-box-wrap > div .btn-close-n {
  width: 1.4rem;
  height: 1.4rem;
  border: none;
  border-radius: 50%;
  background: var(--gray-90);
  font-size: 0;
  margin-left: 90%;
  /*
  z-index: 102;
  position: absolute;
  right: -0.5rem;
  top: .2rem;
  */
  background: unset;
  position:relative;
  width: 2.4rem;
  height: 2.4rem;
}

.chat-box-wrap > div .btn-close-n::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 1.4rem;
  height: 1.4rem;
  background: var(--gray-90) url(../images/aicc/btn_close.png) no-repeat center / 0.8rem;
  border-radius: 50%;
}




:root {
    --linear-bg: linear-gradient(135deg, #04c1ba 0%, #00a49d 100%);
    --chat-border: 0.2rem solid #00a49d;
    --chat-msg-bg: #f5ffff;
    --chat-bg: #00a49d;
}
/*
.chat-floating-wrap { 
    position: relative;
}
*/

/* 230726 챗봇 이미지 영역 크기 수정 */
.chat-floating-wrap img {
    width: calc(100% + 0.4rem);
    height: calc(100% + 0.4rem);
    position: absolute;
    left: -0.2rem;
    top: -0.2rem;
    /*border-radius: 50%;*/
}
/* wrap */
/* 0518 챗봇 위치 수정 */
.chat-floating-wrap {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 5.4rem;
    height: 5.4rem;
    margin-top: -4px;
    border: var(--chat-border);
    border-radius: 5.4rem;
    background-color: var(--chat-msg-bg);
    position: absolute;
    right: 0;
    /*    bottom: -0.5rem; */
    bottom: 0rem;
    /*    z-index: 100;*/
    overflow: hidden;
}

/* 챗봇 */
.chat-floating-wrap.load .motion-show {
    display: inline-block;
    width: 5.4rem;
    height: 5.4rem;
}

.chat-floating-wrap.load .btn-chatbot {
    display: none;
    margin-left: 0.2rem;
}

/*  */
.chat-floating-wrap.no-msg .motion-show {
    display: inline-block;
    width: 5.4rem;
    height: 5.4rem;
}

.chat-floating-wrap.no-msg.spread .btn-chatbot {
    display: inline-block;
}

.chat-floating-wrap.no-msg .motion-show > img {
    display: inline-block;
}

.chat-floating-wrap.no-msg .btn-chatbot {
    display: none;
}
/*  */

.chat-floating-wrap .btn-chatbot {
    outline: none;
    width: 5.4rem;
    height: 5.4rem;
    border: none;
    border-radius: 50%;
    font-size: 0;
    background-color: var(--chat-msg-bg);
    position: absolute;
    right: 0;
    z-index: 105;
}

.chat-floating-wrap .btn-chatbot > img {
    /*width: 5.4rem; height: 5.4rem;
    position: absolute; top: 0; bottom: 0; right: 0;
    border-radius: 50%;*/
    width: calc(100% + 0.4rem);
    height: calc(100% + 0.4rem);
    position: absolute;
    left: -0.2rem;
    top: -0.2rem;
    /*border-radius: 50%;*/
}

.chat-floating-wrap.hide .btn-chatbot > img {
    display: none;
}

/* ********* */

/* ********* */

.chat-floating-wrap.open {
    overflow: visible;
    animation: msg-open 7s;
    animation-delay: 0.8s; /* 231123 ??? ?????? ??????? ????? ????? */
}

.chat-floating-wrap.open .chat-msg {
    display: inline-block;
    animation: msg-show 7s;
    animation-delay: 1s;
    opacity: 0;
}

.chat-floating-wrap.open .btn-chatbot {
    border: none;
    background-color: transparent;
    bottom: 0;
    display: inline-block;
}

.chat-floating-wrap.open .btn-chatbot > img {
    display: inline-block;
    position: absolute;
    animation: chat-wave 7s;
    animation-delay: 1s;
}

@keyframes msg-open {
    0% {
        width: 5.4rem;
        height: 5.4rem;
    }
    15% {
        width: 32rem;
        height: 4rem;
    }
    85% {
        width: 32rem;
        height: 4rem;
    }
    0% {
        width: 5.4rem;
        height: 5.4rem;
    }
}

@keyframes msg-show {
    0% {
        opacity: 0;
        width: 5.4rem;
    }
    10% {
        opacity: 1;
    }
    30% {
        width: 32rem;
    }
    50% {
        opacity: 1;
        width: 32rem;
    }
    80% {
        opacity: 1;
    }
    85% {
        opacity: 0;
        width: 32rem;
    }
    98% {
        opacity: 0;
        width: 32rem;
    }
    100% {
        opacity: 0;
        width: 5.4rem;
    }
}

@keyframes chat-wave {
    0% {
        transform: scale(1);
    }
    20% {
        transform: scale(1.2);
    }
    85% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/*
.chat-floating-wrap.spread{
	width: 18.2rem; 
	display: flex; gap: 1rem;
	border: 0.2rem solid transparent;
	background-color: transparent;
	animation: spread 2s;
}

.chat-floating-wrap.closed.spread .btn-chatbot{
	display: inline-block;
}

.chat-floating-wrap.spread .btn-close{
	display: inline-block;
}
.chat-floating-wrap.spread .btn-lucent{
	display: inline-block;
	position: absolute;
	right: 6.4rem;
}

.chat-floating-wrap.spread .btn-chatbot {
	background:var(--linear-bg);
	animation: none;
    display: inline-block;
}

.chat-floating-wrap.open.spread .btn-chatbot>img {
	animation: none;
}
.chat-floating-wrap.load.spread .btn-chatbot {
	display: inline-block;
}

.chat-floating-wrap.load.spread .btn-chatbot>img {
	display: inline-block;
}

.chat-floating-wrap.spread .btn-chatbot>img{
	display: inline-block;
	background: var(--linear-bg);
}

.chat-floating-wrap.spread .chat-msg{
	opacity: 0 !important;
}

.chat-floating-wrap.spread .motion{
	background: var(--linear-bg);
	border-radius: 50%;
}

@keyframes spread {
	0%{opacity: 0;}
	50%{opacity: 1;}
	100%{opacity: 1;}
}
*/

/* lucent
.chat-floating-wrap.lucent {
	background-color: var(--chat-bg);
	opacity: .5;
}

.chat-floating-wrap.lucent .motion{
	background: transparent;
}

.chat-floating-wrap.lucent .btn-chatbot>img{
	display: inline-block;
}

.chat-floating-wrap.lucent.spread {
	background-color: transparent;
	opacity: 1;
}

.chat-floating-wrap.lucent.spread .btn-chatbot{
	right: 6.4rem;
}

.chat-floating-wrap.lucent.spread .btn-lucent{
	right: 0;
}
*/

.chat-box-wrap.none {
    display: none;
}

/* ********* */

.chat-floating-wrap .chat-msg {
    font-size: 1.5rem;
    color: #111;
    text-decoration: none;
    display: none;
    padding: 0 1.5rem;
    position: absolute;
    bottom: 1rem;
    left: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    overflow: hidden;
    width: 5.4rem;
    opacity: 0;
}

/*  */
.chat-floating-wrap.closed .btn-chatbot {
    display: none;
}

/*  */

/* 닫기버튼 */
.chat-floating-wrap .btn-close {
    display: none;
    width: 5.4rem;
    height: 5.4rem;
    border: none;
    border-radius: 50%;
    background: var(--linear-bg);
    font-size: 0;
    /*	z-index: 102;*/
}

.chat-floating-wrap .btn-close::before {
    content: "";
    display: inline-block;
    width: 2.4rem;
    height: 2.4rem;
    background: url(../images/aicc/btn_close.png) no-repeat;
    background-size: 2.4rem;
    animation: btn-rotate 1s ease;
}

@keyframes btn-rotate {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}
/* ********* */

/* 반투명 */
.chat-floating-wrap .btn-lucent {
    display: none;
    width: 5.4rem;
    height: 5.4rem;
    border: none;
    border-radius: 50%;
    font-size: 0;
    background: url(../images/aicc/lucent_01.png) no-repeat;
    background-size: contain;
    opacity: 0.5;
    background-color: var(--chat-bg);
}
/* ********* */
/* 0518 챗봇 위치 수정 */
.chat-floating-wrap .motion {
    width: 5.4rem;
    height: 5.4rem;
    position: absolute;
    bottom: 0rem;
    right: 0rem;
    border-radius: 50%;
}

.chat-floating-wrap.spread .motion {
    z-index: 99;
}

.chat-floating-wrap .motion-show > img {
    display: none;
}
.chat-floating-wrap .motion-hide > img {
    display: none;
}

.chat-floating-wrap.closed .motion-hide > img {
    display: inline-block;
}

.chat-floating-wrap.load .motion-show > img {
    display: inline-block;
}

/* 230523 */
/* 230707 */
.layout-chat-bot {
    position: fixed;
    top: 0;
    right: 10px;
    width: 1px;
    height: calc(100vh - 370px);
    margin-top: 150px;
    /*    background-color: black;*/
    z-index: 100;
}

/* 230726 챗봇 이미지 영역 크기 수정 부분 접근성 배포 후 추가 개발계 반영 필요 */

/* === 240105 검색페이지 챗봇 === */
.layout-chat-bot-search-page {
    position: fixed;
    bottom: 50px;
    right: 24px;
    /* width: 5.4rem;
    height: 5.4rem; */
    z-index: 1000;
}
.layout-chat-bot-search-page .btn-chat-bot-search-page {
    position: relative;
    width: 5.4rem;
    height: 5.4rem;
    max-width: 40rem;
    border: var(--chat-border);
    border-radius: 5.4rem;
    /* background-color: var(--chat-msg-bg); */
    background-color: #00a49d;
    overflow: hidden;
}
.layout-chat-bot-search-page .btn-chat-bot-search-page.msg-open-ani {
    width: 5.4rem;
    height: 5.4rem;
    animation: search-msg-open 0.25s forwards;
    animation-timing-function: ease-in;
}
.layout-chat-bot-search-page .cumi-icon-image-box {
    position: absolute;
    right: 0rem;
    top: 0rem;
    width: 5.4rem;
    height: 5.4rem;
    background-color: var(--chat-msg-bg);
    border-radius: 50%;
}
.layout-chat-bot-search-page .cumi-icon-image-box img{
  width: 100%;
}
.layout-chat-bot-search-page
    .btn-chat-bot-search-page
    .chat-bot-search-msg-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    opacity: 0;
    width: 100%;
    height: 100%;
    padding: 0 60px 0 22px;
    font-size: 1.7rem;
    color: #111;
    box-sizing: border-box;
    line-height: 2rem;
}
.layout-chat-bot-search-page
    .btn-chat-bot-search-page
    .chat-bot-search-msg-box
    .chat-bot-search-msg {
    display: block;
    width: 100%;
    height: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.9rem;
    color: #fff;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.layout-chat-bot-search-page
    .btn-chat-bot-search-page
    .chat-bot-search-msg-box.msg-show-ani {
    animation: search-msg-show 0.2s ease-in-out forwards;
    /* animation-delay: 0.2s; */
}
@keyframes search-msg-open {
    0% {
        width: 5.4rem;
    }
    100% {
        width: calc(100vw - 50px);
    }
}

@keyframes search-msg-show {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

/* === //240105 검색페이지 챗봇 === */

/* 24.03.15 검색페이지 챗봇 닫기버튼 추가 */
.layout-chat-bot-search-page .btn-close-n {
    width: 1.4rem;
    height: 1.4rem;
    border: none;
    border-radius: 50%;
    background: var(--gray-90);
    font-size: 0;
    margin-left: 90%;
    position: absolute;
    right: -0.5rem;
    top: -1.2rem;

}

.layout-chat-bot-search-page .btn-close-n::before {
    content: "";
    display: inline-block;
    width: 0.8rem;
    height: 0.8rem;
    background: url(../images/aicc/btn_close.png) no-repeat center;
    background-size: 0.8rem;
}
.layout-chat-bot-search-page.chat-box-wrap {
    width: auto;
}

/* [2024-07-04 검색페이지 챗봇 영역 추가 : HDH] */
.layout-chat-bot-on-page {
    position: relative;
    left: 0;
    top: 0;
    margin-top: 16px;
    z-index: auto;
}
.layout-chat-bot-on-page .btn-chat-bot-search-page {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: 4rem;
    background-color: #d8f3f2;
    border-color: #d8f3f2;
    border-radius: 5.4rem;
    overflow: hidden;
}
.layout-chat-bot-on-page .cumi-icon-image-box {
    position: absolute;
    left: 0.3rem;
    top: 0.3rem;
    width: 3.4rem;
    height: 3.4rem;
    background-color: var(--chat-msg-bg);
    border-radius: 50%;
}
.layout-chat-bot-on-page .cumi-icon-image-box img{
    width: 100%;
}
.layout-chat-bot-on-page
    .btn-chat-bot-search-page
    .chat-bot-search-msg-box {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    padding: 0 2.2rem 0 5rem;
    opacity: 1;
    font-size: 1.7rem;
    color: #111;
    box-sizing: border-box;
    line-height: 2rem;
}
.layout-chat-bot-on-page
    .btn-chat-bot-search-page
    .chat-bot-search-msg-box
    .chat-bot-search-msg {
    display: block;
    width: 100%;
    height: 20px;
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 1.9rem;
    color: #111;
    box-sizing: border-box;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* [2025-04-08 KJH] [WPM-10625] 마이-명세서 팝업 챗봇 노출 */
.chat-floating-wrap .motion.full {
    width: 100%;
    height: 100%;
}