@charset "utf-8";

@import url('../css/reset.css');
@import url('../fonts/font.css');

.wrap {
    max-width:1284px;
    width:100%;
    margin:0 auto;
    height:100vh;
    padding:25px;
    display:flex;
    box-sizing: border-box;
    background-image:url(../images/chatbot_bg.png);
    background-size:cover;
    background-repeat:no-repeat;
    position:relative;
    overflow: hidden;
    box-sizing: border-box;
}

.wrap::after {
    content:"";
    display:block;
    width:1234px;
    height:115px;
    background-image:url(../images/chatbot_bg_txt.png);
    position:absolute;
    left:50%;
    bottom:0;
    transform: translateX(-50%);
    background-repeat:no-repeat;
}

.wrap::before {
    content:"";
    display:block;
    width:350px;
    height:356px;
    background-image:url(../images/chatbot_robot.png);
    position:absolute;
    background-size:100%;
    left:-30px;
    bottom:-80px;
}

.moren-chatbot-info {
    padding:25px;
    box-sizing: border-box;
    max-width:420px;
}

.moren-chatbot-info .chatbot-name {
    font-family:"SBAggro","Pretendard",sans-serif;
    font-weight:600;
    font-size:34px;
    letter-spacing: -0.025em;
    color:#ffffff;
    margin-bottom:20px;
}

.moren-chatbot-info p {
    font-size:16px;
    letter-spacing: -0.025em;
    word-break: keep-all;
    color:#ffffff;
    margin-bottom:2em;
}

.moren-chatbot-info p strong {
    font-weight:800;
    font-size:20px;
    color:#ffd255;
}

.moren-chatbot-info p b {
    font-weight:700;
} 

.moren-chatbot-info p:last-of-type {
    margin-bottom:0;
}

.moren-chatbot-q-ex-list {
    max-width:350px;
    min-width:350px;
}

.moren-chatbot-q-ex-list dl dt {
    font-size:22px;
    font-weight:800;
    letter-spacing: -0.025em;
    color:#ffffff;
    margin-bottom:15px;
}

.moren-chatbot-q-ex-list dl dd ul {
    display:flex;
    align-items: center;
    flex-wrap:wrap;
}

.moren-chatbot-q-ex-list dl dd ul li button {
    display:flex;
    justify-content: center;
    align-items: center;
    padding:0 12px;
    background-color:#ffffff;
    border:1px solid #005aab;
    height:34px;
    border-radius:17px;
    color:#0069ba;
    font-weight:15px;
    letter-spacing: -0.01em;
    font-weight:600;
    margin:4px 8px 4px 0;
}

.moren-chatbot-q-ex-list dl dd ul li button:hover {
    background-color:#ffd255;
    color:#1f447e;
    font-weight:800;
}

#moren-chatbot {
    font-family:"Pretendard",sans-serif;
    width:100%;
    height:calc(100vh - 50px);
    max-width:380px;
    box-shadow:0 0 13px rgba(184,184,184,0.44);
    z-index:19999999;
    background-color:#000000;
    border-radius:36px;
    margin: 0 auto;
    padding:0 10px 10px 10px;
    position:relative;
}

#moren-chatbot.active {
    display:block;
}

#moren-chatbot .chatbot-top {
    height:40px;
    display:flex;
    align-items: center;
    justify-content: center;
    padding:0 30px;
    border-radius:36px 36px 0 0;
    background-color:#000000;
}

#moren-chatbot .chatbot-top .chatbot-top-left,
#moren-chatbot .chatbot-top .chatbot-top-right {
    display:flex;
    align-items: center;
}

#moren-chatbot .chatbot-name {
    font-family:"GmarketSans","Pretendard",sans-serif;
    letter-spacing: -0.05em;
    font-size:15px;
    color:#333333;
    font-weight:700;
}

#moren-chatbot .chatbot-top .chatbot-top-left .chatbot-name {
    color:#ffffff;
    font-size:16px;
    padding-top:4px;
}

#moren-chatbot .chatbot-name span {
    color:#fcd61f
}

#moren-chatbot .chatbot-top-ico {
    background-color:#ffffff;
    border-radius:50%;
    width:41px;
    height:41px;
    display:flex;
    align-items: center;
    justify-content: center;
}

#moren-chatbot .chatbot-top-right { 
    margin-left:12px;
}

#moren-chatbot .chatbot-chatbox {
    border-radius:26px;
    background-color:#ffffff;
    padding:10px;
    box-sizing: border-box;
    display:flex;
    flex-direction: column;
    gap: 10px;
    height: calc(100% - 40px);
}

#moren-chatbot .chatbot-chatbox .chat-area {
    flex-grow: 1;
    overflow-y: auto;
    display:flex;
    flex-direction:column
}

#moren-chatbot .chatbot-chatbox .chat-area ul li.chat-aqwrap {
    padding-top:15px;
    border-top:1px dashed #dddddd;
}

#moren-chatbot .chatbot-chatbox .chat-area ul li.chat-aqwrap:first-of-type {
    padding-top:0;
    border-top:0;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a {
    position:relative;
    align-self:flex-start;
    box-sizing: border-box;
    max-width:calc(100% - 25px);
    margin:12px 12px 12px 12px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a::before {
    content:"";
    display:block;
    position:absolute;
    width:47px;
    height:47px;
    background-image:url(../images/chatbot_a_before.png);
    background-repeat:no-repeat;
    background-position:center;
    left:0px;
    top:0px;
    border-radius:50%;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .bot-name {
    padding-left:54px;
    font-size:15px;
    font-weight:800;
    letter-spacing: -0.03em;
    color:#464646;
    line-height:47px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box {
    background-color:#f2f2f2;
    border-radius:18px;
    padding:15px;
    letter-spacing: -0.05em;
    color:#555555;
    line-height:1.4;
    word-break: keep-all;
    font-size:14px;
    margin-top:8px;
    position:relative;
    border:1px solid #dadada;
    background-origin: border-box;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box::before {
    content:"";
    display:block;
    width:14px;
    height:10px;
    background-image:url(../images/abox_before.png);
    background-repeat:no-repeat;
    position:absolute;
    top:-10px;
    left:47px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .fix {
    display:none;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .fix p strong  {
    color:#005aab;
    font-size:15px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ex {
    margin-top:12px;
    display:none;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ex ul {
    display:flex;
    flex-wrap:wrap;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ex ul li {
    margin:3px 5px 3px 0;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ex ul li button {
    font-size:13px;
    font-weight:600;
    letter-spacing: -0.05em;
    color:#005aab;
    display:flex;
    align-items: center;
    background-color:#ffffff;
    border-radius:15px;
    height:30px;
    border:1px solid #005aab;
    padding:0 12px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ex ul li button:hover {
    background-color:#ffd255;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ing {
    display:flex;
    align-items: center;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ing p {
    margin-right:8px;
    color:#005aab;
    font-size:14px;
    font-weight:700;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ing .load {
  display: flex;
  border-radius: 50%;
  flex-direction: row;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ing .load .progress {
  width: 12px;
  height: 12px;
  margin: 1px;
  scale: 0;
  opacity:0;
  border-radius: 50%;
  background-color: #005aab;
  animation: loading_492 1.4s ease infinite;
}

@keyframes loading_492 {
  50% {
    scale: 1;
    opacity:1;
  }
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ing .load .progress:nth-child(2) {
  animation-delay: 0.1s;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ing .load .progress:nth-child(3) {
  animation-delay: 0.2s;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box > ul {
    margin-top:10px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box > ul li {
    padding-left:8px;
    position:relative;
    color:#555555;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box a {
    position:relative;
    color:#248af0;
    display:inline-block;
    vertical-align: middle;
    text-decoration: underline;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box a[target=_blank]::after {
    content:"";
    display:inline-block;
    width:12px;
    height:12px;
    background-image:url(../images/blank_ico.png);
    margin-left:4px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box > ul li::before {
    content:"";
    display:block;
    width:3px;
    height:3px;
    background-color:#999999;
    position:absolute;
    left:0;
    top:8px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey {
    word-break: keep-all;
    font-size:14px;
    letter-spacing: -0.025em;
    margin-top:12px;
    display:flex;
    align-items: center;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey p {
    width:calc(100% - 50px);
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey .survey-btn {
    display:flex;
    margin-top:6px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey .survey-btn button {
    margin-right:8px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey .survey-btn button:last-of-type {
    margin-right:0;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey .survey-btn button img {
    margin-right:3px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey .survey-btn button {
    position:relative;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey .survey-btn button dotlottie-wc {
    width:65px;
    height:35px;
    position:absolute;
    left:50%;
    top:50%;
    transform: translateX(-50%) translateY(-50%);
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-survey .survey-btn button.good.selected img {
    animation: thumb 0.5s;
}

@keyframes thumb {
    0% {
        transform: rotate(0deg) scale(1);
    }

    50% {
        transform: rotate(-10deg) scale(1.1);
    }

    100% {
        transform: rotate(0deg) scale(1);
    }
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-a .time {
    color:#c3c3c3;
    letter-spacing: -0.01em;
    font-size:12px;
    margin-top:8px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-q {
    align-self: flex-end;
    margin:12px 12px 12px 12px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-q .q-box {
    background-color:#005aab;
    color:#ffffff;
    font-weight:600;
    padding:12px 15px;
    letter-spacing: -0.025em;
    line-height:1.4;
    word-break: keep-all;
    font-size:14px;
    box-sizing: border-box;
    border-radius:23.5px 0 23.5px 23.5px;
}

#moren-chatbot .chatbot-chatbox .chat-area .chat-q .time {
    text-align: right;
    color:#c3c3c3;
    letter-spacing: -0.01em;
    font-size:12px;
    margin-top:8px;
}

#moren-chatbot .chatbot-chatbox .chat-input {
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
    background-color:#f3f3f3;
    height:47px;
    border-radius:23.5px;
    display:flex;
    align-items: center;
    padding-left:20px;
}

#moren-chatbot .chatbot-chatbox .chat-input input[type=text] {
    width:calc(100% - 50px);
    height:100%;
    background-color:#f3f3f3;
    border:none;
    font-family:"Pretendard",sans-serif;
    letter-spacing: -0.05em;
    color:#333333;
    font-weight:600;
    box-sizing: border-box;
    font-size:15px;
}

#moren-chatbot .chatbot-chatbox .chat-input input[type=text]::placeholder {
    color:#c3c3c3;
}

#moren-chatbot .chatbot-chatbox .chat-input button[type=submit] {
    width:47px;
    height:47px;
    border-radius:50%;
    background-color:#005aab;
    border:none;
    margin-left:3px;
    display:flex;
    align-items: center;
    justify-content: center;
}

#moren-chatbot .chatbot-chatbox .chat-input button[type=submit] img {
    padding-left:3px;
}


#moren-chatbot .chatbot-notice {
    position:absolute;
    width:100%;
    height:100%;
    background-color:rgba(0,0,0,0.6);
    left:0;
    top:0;
    border-radius:36px 30px 0 36px;
    opacity:0;
    display:none;
    transition: all 0.2s;
}

#moren-chatbot .chatbot-notice.active {
    display:block;
    opacity:1;
    transition: all 0.2s;
}

#moren-chatbot .chatbot-notice .chatbot-notice-con-wrap {
    padding:15px;
    box-sizing: border-box;
    position:absolute;
    top:50%;
    transform: translateY(-50%);
    width:100%;
}

#moren-chatbot .chatbot-notice .chatbot-notice-con {
    border-radius:30px;
    background-color:#ffffff;
    width:100%;
}

#moren-chatbot .chatbot-notice .chatbot-notice-con .chatbot-notice-con-top {
    display:flex;
    align-items: center;
    justify-content: space-between;
    height:60px;
    padding:0 25px;
    border-bottom:1px solid #f0f0f0;
}

#moren-chatbot .chatbot-notice .chatbot-notice-con .chatbot-notice-con-top strong {
    color:#005aab;
    font-weight:800;
    letter-spacing: -0.03em;
    font-size:18px;
}

#moren-chatbot .chatbot-notice .chatbot-notice-con .chatbot-notice-con-top .chatbot-notice-close {
    width:27px;
    height:27px;
    border-radius:50%;
    background-color:#363636;
    border:none;
    display:flex;
    align-items: center;
    justify-content: center;
}

#moren-chatbot .chatbot-notice .chatbot-notice-con .chatbot-notice-con-txt {
    padding:25px 30px;
    box-sizing: border-box;   
}

#moren-chatbot .chatbot-notice .chatbot-notice-con .chatbot-notice-con-txt strong {
    color:#262626;
    letter-spacing: -0.03em;
    font-size:15px;
}

#moren-chatbot .chatbot-notice .chatbot-notice-con .chatbot-notice-con-txt p {
    margin-top:10px;
    color:#555555;
    letter-spacing: -0.05em;
    font-size:14px;
    word-break: keep-all;
}

@media (max-width:1200px) {
    .wrap {
        padding:15px;
    }

    .moren-chatbot-info {
        padding:15px;
        max-width:380px;
    }

    #moren-chatbot {
        margin:0 15px;
    }
    
    .moren-chatbot-q-ex-list {
        max-width:320px;
        min-width:320px;
    }
}

@media (max-width:1024px) {

    .wrap {
        justify-content: space-between;
    }

    .moren-chatbot-q-ex-list {
        display:none;
    }

    #moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .a-ex {
        display:block;
    }
    
}

@media (max-width:768px) {

    .wrap::before {
        display:none;
    }

    .moren-chatbot-info {
        display:none;
    }

    #moren-chatbot {
        margin:0 auto;
    }

    #moren-chatbot .chatbot-chatbox .chat-area .chat-a .a-box .fix {
        display:block;
    }

}