#nl-chatbot{
    position: fixed !important;
    right: 25px !important;
    bottom: 25px !important;
    left: auto !important;

    z-index: 999999 !important;
}

/* button */
#chat-toggle {
    width: 65px;
    height: 65px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(
        135deg,
        #ff9800,
        #ffb300
    );
    cursor: pointer;
    box-shadow:
        0 8px 25px rgba(0,0,0,.25);
    position: relative;
    transition: .3s;
}

#chat-toggle:hover {
    transform: scale(1.08);
}

.chat-icon {
    font-size: 28px;
}

.chat-ping {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background: #00e676;
    border-radius: 50%;
}

/* popup */
#chat-box{
    position: absolute;
    right: 0 !important;
    left: auto !important;
    bottom: 85px;

    width: 380px;
    height: 600px;

    background: #fff;
    border-radius: 24px;
    overflow: hidden;

    display: none;

    box-shadow:
        0 20px 50px rgba(0,0,0,.22);
}

/* header */
.chat-header {
    background:
        linear-gradient(
            135deg,
            #111,
            #1f1f1f
        );

    color: #fff;

    padding: 16px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    border-bottom:
        3px solid #ff9800;
}

.chat-header h3 {
    margin: 0;
    color: #ffb300;
}

#chat-close {
    border: none;
    background: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
}

/* messages */
#chat-messages {
    height: 410px;
    overflow-y: auto;
    padding: 15px;
    background: #fafafa;
}

.bot-message,
.user-message {
    padding: 12px 15px;
    margin-bottom: 12px;
    border-radius: 18px;
    max-width: 80%;
    line-height: 1.5;
    font-size: 14px;
}

.bot-message {
    background: #fff;
    border: 1px solid #eee;
}

.user-message {
    background: #ff9800;
    color: #fff;
    margin-left: auto;
}

/* input */
.chat-input {
    border-top: 1px solid #eee;
    display: flex;
    padding: 12px;
    background: #fff;
}

#chat-text {
    flex: 1;
    border: 1px solid #ddd;
    border-radius: 50px;
    padding: 12px 16px;
    outline: none;
}

#chat-send {
    width: 48px;
    border: none;
    margin-left: 8px;
    border-radius: 50%;
    background: #ff9800;
    color: #fff;
    cursor: pointer;
}

/* mobile */
@media(max-width:768px){

    #chat-box{
        width: calc(100vw - 20px);
        height: 70vh;
        right: -10px;
    }
}

.bot-message,
.user-message{

    word-break: break-word;
    white-space: normal;

    padding: 14px 16px;
    border-radius: 18px;
    line-height: 1.6;
    font-size: 14px;
}

.bot-message{
    background: #fff;
    border: 1px solid #ececec;
    color: #222;
}

.user-message{
    background: #ff9800;
    color: #fff;
    margin-left: auto;
}