
#chatsContainer {
    position: fixed;
    bottom: 5rem;
    right: 20px;
    z-index: 10;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}


.messages::-webkit-scrollbar {
    width: 10px;
}

/* Track */
.messages::-webkit-scrollbar-track {
    background: #FFFFFF;
}

/* Handle */
.messages::-webkit-scrollbar-thumb {
    background: #EFF3F6;
    border-radius: 0.2rem;
}

/* Handle on hover */
.messages::-webkit-scrollbar-thumb:hover {
    background: #d1d9de;
}

.is-dark .messages::-webkit-scrollbar-track {
    background: #1e203d;
}


.chatContainer {
    display: inline-block;
    width: 400px;
    height: 50vh;
    border: 1px solid rgba(0, 0, 0, 0.104223);
    background: #FFFFFF;
    border-radius: 0.2rem;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.is-dark .chatContainer {
    background: #212559;
}

.chatContainer.ngbox {
    width: 30vw;
}

.chatContainer .messages {
    flex-grow: 1;
    padding: 10px;
    overflow-y: auto;
    background: #FFFFFF;
}

.is-dark .chatContainer .messages {
    background: #26262a;

}

.message.user {
    align-self: flex-end;
    margin-bottom: 10px;
    max-width: 80%;
    float: right;
    background-color: #EFF3F6;
    color: #3F4C5C;
}

.message.other {
    align-self: flex-start;
    margin-bottom: 10px;
    max-width: 80%;
    float: left;
    background-color: #737373;
    color: #FFFFFF;
}

.message.ngbox {
    align-self: flex-start;
    margin-bottom: 10px;
    width: 100%;
    line-break: anywhere;
    padding: 0.5rem;
    overflow: hidden;
    background-color: #EFF3F6;
    color: black;
}

.chatContainer .header {
    color: white;
    padding: 0.5rem 0 0 0.5rem;
    background: #eff3f6;
    border: 1px solid rgba(0, 0, 0, 0.104223);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.043365);
    border-radius: 2px;
}

.is-dark .chatContainer .header {
    color: white;
    background: #14141b;
    border: 1px solid rgba(0, 0, 0, 0.104223);
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.043365);
}

.chatContainer .header .title {
    font-style: normal;
    font-weight: 700;
    font-size: 14px;
    line-height: 1rem;
    color: #3F4C5C;
}

.is-dark .chatContainer .header .title {
    color: white;
}

.message.user, .message.other {
    padding: 10px;
    border-radius: 0.5rem;
    line-height: 1.7;
    overflow-y: hidden;
    margin: 5px;
    font-size: 1em;
}

.is-dark .message.other {
    background-color: #1c1c1c;
}

.message.user {
    margin-right: 5px;
}

.message.other {
    margin-left: 5px;
}

.message.other a {
    color: white;
    font-weight: bold;
}

.message.user a {
    color: black;
    font-weight: bold;
}

.message.ngbox a {
    color: black;
    font-weight: bold;
}

.is-dark .message.ngbox a {
    color: white;
    font-weight: bold;
}

.is-dark .message.ngbox {
    background-color: #1c1c1c!important;
    color: white;
}

.chatContainer input[type="text"] {
    padding: 10px;
    border: none;
    width: 100%;
    background: #eff3f6;
    color: white;
}

.is-dark .chatContainer input[type="text"] {
    border-top: 1px solid #434666;
    background: #1c1c1c;
    color: white!important;
}

.is-dark .chatContainer input[type="text"]::placeholder {
    color: white!important;
}

#NGBoxinput:focus, #NabotInput:focus {
    border-top: 1px solid #ccc;
    outline: none;
}

#buttonContainer {
    position: fixed;
    bottom: 20px;
    z-index: 99999999;
    left: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 0.5rem;
}

.openButton {
    border-radius: 0.375rem;
    display: inline-block;
    cursor: pointer;
    color: #fff;
}
.openButton.close{
    border: none;
    background: transparent;
    color: #2d4d79;
    font-size:1.2rem
}

.openButton:hover {
    color: #fff;
}

.chatContainer .suggestion-button {
    margin: 5px 2px;
    background-color: #434343;
    border: none;
    color: white;
    padding: 5px 10px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin: 4px 2px;
    cursor: pointer;
    border-radius: 12px;
}

.is-dark .chatContainer .suggestion-button {
    background-color: #434343;
}

@media (max-width: 576px) {
    .chatContainer {
        width: 90vw !important;
        height: 50vh;
        border-radius: 0;
        bottom: 0;
        z-index: 999999;
        right: 0;
    }
    .openButton{
        width:100vw;
        margin-bottom:0.5rem;
    }
    #buttonContainer{
        display: relative;
        z-index:0;
        position:sticky;
    }
}