.aiq_chat {
    display: flex;
    flex-direction: column;
}
.aiq_chat .aiq_chat_query {
    border: 1px solid #2e94b9;
    border-radius: 5px;
    margin: 15px 25px;
    padding: 5px 15px;
    background: #2e94b9;
    color: #fff !important;
    font-size: 13px;
    max-width: 30%;
    align-self: end;
    margin-bottom: -25px;
    z-index: 9;
}

.aiq_chat .aiq_chat_answer {
    border: 1px solid #e8e7e7;
    border-radius: 10px;
    margin: 15px;
    padding: 15px;
    background: #fff;
    color: #111;
    clear: both;
    transition: all 0.2s linear;
}
.aiq_chat .aiq_chat_answer p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .aiq_chat .aiq_chat_answer {
        font-size: 14px;
    }
    .aiq_chat .aiq_chat_query {
        font-size: 13px;
        max-width: 60%;
    }
}

.aiq_chat_textarea {
    display: block;
    margin: 10px auto;
    height: 40px !important;
    font-size: 90% !important;
}

.aiq_chat_suggestions {
    margin: 5px 0 15px 0;
}
.aiq_chat_suggestion {
    display: inline-block;
    margin-right: 8px;
    margin-bottom: 3px;
    padding: 6px 12px;
    background: #eee;
    border-radius: 3px;
    font-size: 12px;
}

/** mobile **/
@media (max-width: 768px) {    
    .aiq_chat_buttons_container {
        display: flex;
        flex-direction: column-reverse;
    }
    .aiq_chat_buttons_container .btn {
        width: 100%;
        margin-top: 5px;
        font-size: 14px;
    }
    .aiq_chat_suggestion {
        font-size: 10px;
        margin-bottom: 4px;
        padding: 6px 10px;
        margin-right: 2px;
        max-width: 98%;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

/** desktop **/
@media (min-width: 768px) {    
    .aiq_chat_textarea {
        height: 65px !important;
        font-size: 110% !important;
    }
    .aiq_chat_buttons_container {
        display: flex;
        justify-content: space-between;
    }
}