/* chatbot */

.chatbot__header {
    height: 39px;
    background: linear-gradient(180deg, #ffc6c1 0.24%, #ff573d 99.76%);
    border-radius: 0px 0px 30px 30px;
    font-family: "BMJUA";
    font-size: 18px;
    line-height: 39px;
    color: #fff;
    text-align: center;
}

.chatbot__container {
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    height: 180px;
    max-height: 180px;
    padding: 21px 16px;
}

.chat-message {
    display: flex;
}

.chat-message.user {
    justify-content: flex-end;
}

.chat-message.bot {
    flex-direction: column;
    gap: 8px;
}

.chat-message .message {
    display: inline-block;
    padding: 8px 16px;
    font-size: 14px;
    line-height: 19px;
    color: #2e3a59;
    font-weight: 400;
}

.chat-message.user .message {
    border-radius: 10px 0px 10px 10px;
    background: #fdf2ed;
}

.chat-message.bot .message {
    border-radius: 0px 10px 10px 10px;
    background: #e8f2f4;
}

.chat-message .message--text {
    font-family: "Noto Sans KR", sans-serif;
}

.bot__profile {
    width: 33px;
    height: 33px;
    padding-left: 41px;
    font-family: "BMJUA";
    font-size: 14px;
    line-height: 33px;
    color: #000;
    border-radius: 50%;
    background: url("../../images/study/img_bot.png") no-repeat center left /
        33px 33px;
}

.chatbot__footer {
    position: relative;
    padding: 14px 16px 0;
}

.chatbot__footer:before {
    content: "";
    position: absolute;
    top: -12px;
    left: 0;
    width: 100%;
    height: 14px;
    background: linear-gradient(to top, #fff 10%, transparent 80%);
}

.input-group {
    position: relative;
    height: 38px;
    padding: 8px 76px 8px 19px;
    border-radius: 50px;
    border: 1px solid #b2b7c8;
    background-color: #fff;
}

.input-group input {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
}

.input-group input[type="text"] {
    padding: 0 !important;
    border: none !important;
    font-family: "Noto Sans KR", sans-serif;
}

.input-group #chat-input::placeholder {
    color: #b2b7c8;
}

.input-group .btn-send {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    padding: 4px 12px;
    font-family: "Pretendard Variable";
    color: #fff;
    font-size: 14px;
    line-height: 17px;
    font-weight: 700;
    border-radius: 41px;
    background: linear-gradient(90deg, #ffc6c1 0.2%, #ff573d 99.8%);
}
