#chatbot {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: auto;
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid #e1e2ee;
    box-shadow: 0 0 10px rgba(0,0,0,.1);
    background: #fff;
    z-index: 9999;
}
#chatbot .chatbot-header {
    height: 48px;
    padding: 0 16px;
    background: #0d81a7;
    position: relative;
    color: #fff;
    font-weight: 700;
    line-height: 48px;
    cursor: pointer;
    display: flex;
    align-items: center;
}
#chatbot .chatbot-header .chatbot-icon {
    width: 24px;
    border-radius: 24px;
    background: #fff;
    margin-right: 8px;
    box-shadow: 0 1px 2px rgba(0,0,0,.5);
    margin-left: -4px;
}
#chatbot .chatbot-header .chatbot-collapse-btn {
    line-height: 1;
    cursor: pointer;
    padding-left: 12px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin-left: auto;
}
#chatbot .chatbot-header .chatbot-collapse-btn svg {
    width: 12px;
    height: 12px;
    fill: #fff;
    transform: rotate(180deg);
}
#chatbot.active .chatbot-header .chatbot-collapse-btn svg {
    transform: rotate(0);
}
#chatbot .chatbot-messages {
    padding: 16px;
    background: #f1f2ff;
    height: 400px;
    max-height: 400px;
    overflow-y: auto;
    position: relative;
}
#chatbot .chatbot-processing {
    font-size: 11px;
    text-align: center;
    opacity: .5;
    margin-top: 8px;
}
#chatbot .chatbot-form {
    padding: 12px 0;
    height: 46px;
    position: relative;
    border-top: 1px solid #e1e2ee;
}
#chatbot .chatbot-form #chatbot-input {
    width: 100%;
    height: 21px;
    border: none;
    outline: none;
    font-size: 13px;
    padding: 0 60px 0 16px;
    margin: 0;
    overflow: hidden;
    line-height: 21px;
    position: absolute;
}
#chatbot .chatbot-form #chatbot-send {
    position: absolute;
    right: 0;
    top: 50%;
    margin-top: -24px;
    width: 60px;
    height: 48px;
    text-align: center;
    cursor: pointer;
}
#chatbot .chatbot-form #chatbot-send svg {
    width: 32px;
    fill: #b1b2bb;
    transition: .2s ease;
    line-height: 1;
}
#chatbot .chatbot-form.active #chatbot-send svg,
#chatbot .chatbot-form #chatbot-send:hover svg {
    fill: #0d81a7;
}
#chatbot .chatbot-message {
    margin-bottom: 16px;
}
#chatbot .chatbot-message-text {
    font-size: 12px;
    line-height: 20px;
    padding: 12px;
    background: #fff;
    display: inline-block;
    max-width: 85%;
    border-radius: 8px;
    box-shadow: 0 0 2px rgba(0,0,0,.1);
    word-wrap: break-word;
}
#chatbot .chatbot-message-sender {
    font-size: 11px;
    color: #999;
}
#chatbot .chatbot-message-sender span {
    color: #444;
}
#chatbot .chatbot-message.bot-message {
    text-align: right;
}
#chatbot .chatbot-message.bot-message .chatbot-message-text {
    text-align: left;
}
#chatbot .chatbot-message.bot-message .chatbot-message-sender {
    text-align: right;
}
#chatbot .chatbot-message.user-message .chatbot-message-text {
    background: #fafadd;
}