@charset "utf-8";
/* CSS Document */

.chatbot-widget {
    position: fixed;
    bottom: 10px;
    right: 4px;
    width: 350px;
    border: 1px solid #ddd;
    border-radius: 15px;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.7);
    z-index: 1000;
}

.chatbot-header {
    background-color: #007bff;
    color: #fff;
    padding: 15px 10px;
    border-radius: 15px 15px 0 0;
    text-align: center;
}

.chatbot-messages {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.chatbot-input {
    width: calc(100% - 30px);
    padding: 10px;
    border: none;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 14px;
}

.chatbot-send {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    position: absolute;
    font-size: 0;
    right: -1px;
    bottom: -1px;
    border-radius: 0 0 15px 0;
    width: 40px;
    height: 40px;
}

.chatbot-send:hover {
    background-color: #0056b3;
}

.chatbot-input:focus, .chatbot-send:focus {
    outline: none;
}

.chatbot-send:before {
    display: block;
    content: '';
    font-size: 10px;
    width: 15px;
    height: 12px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    margin-bottom: 7px;
    margin-top: 0px;
    position: absolute;
    top: 10px;
    right: 13px;
}

.chatbot-send:after {
    display: block;
    content: '';
    margin-left: 10px;
    font-size: 10px;
    width: 5px;
    height: 5px;
    border-right: 1px solid #fff;
    border-bottom: 1px solid #fff;
    transform: rotate(135deg);
    position: absolute;
    top: 19px;
    left: 1px;
}

.chatbot-messages div {
    text-align: right;
    margin: 10px 0px 10px 10px;
}

.chatbot-messages .answer {
    text-align: left;
    margin: 0 20px 0 0;
}

.chatbot-messages div span {
    display: inline-block;
    padding: 10px;
    background: #87c1ff;
    border-radius: 10px;
    font-size: 14px;
    line-height: 21px;
    color: #111;
}

.chatbot-messages div.answer span {
    background: #5ba1ed;
}

.chatbot-messages div.answer span a {
    color: #fff;
    word-break: break-all;    
}
