.chat {
    background: var(--primary);
    min-height: 650px;
    border-radius: 6px;
    padding: 15px !important;
    box-shadow: 0px 3px 21px 0px var(--boxshadow);
    display: flex;
    flex-direction: column;
    max-width: 324px;
    flex-flow: column;
    position: sticky;
    top: 10px;
    max-height: 800px;

}

.settings,
.settings>* {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.settings>* {
    justify-content: center;
}

.chatBtn,
.tradesBtn,
.sendBtn {
    color: #FFF;
    font-weight: bold;
    font-size: 13px;
    border: none;
    height: 32px;
    padding: 5px 15px;
    border-radius: 6px;
    background-image: -moz-linear-gradient(0deg, rgb(48, 209, 150) 0%, rgb(35, 231, 68) 100%);
    background-image: -webkit-linear-gradient(0deg, rgb(48, 209, 150) 0%, rgb(35, 231, 68) 100%);
    background-image: -ms-linear-gradient(0deg, rgb(48, 209, 150) 0%, rgb(35, 231, 68) 100%);
    box-shadow: 0px 3px 13px 0px rgba(175, 189, 215, 0.29);
    margin-right: 10px;
    cursor: pointer;
    width: 95px;
}

.tradesBtn i,
.chatBtn i {
    color: white;
}

.sendBtn {
    text-align: center;
    margin-right: 0;
}

.settings i {
    margin-right: 10px;
}

/* Messages */
.messagesContainer {
    margin-top: 10px;
    flex: 1 1 auto;
}

.message {
    border-radius: 6px;
    background: var(--bc-secondary);
    width: 100%;
    font-size: 12px;
    margin-bottom: 5px;
    padding: 10px;
}

.message span {
    font-weight: bolder;
}


.chatInputs input {
    border-radius: 6px;
    background: var(--bc-secondary);
    width: 100%;
    height: 36px;
    border: none;
    padding: 5px 15px;
    font-weight: bold;
    font-size: 13px;
}

.inputButtons {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.inputButtons i {
    margin-right: 5px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.inputButtons i:hover {
    color: #2FD290;
}

.leave:hover i,
.close:hover i {
    color: #FF0000;
    cursor: pointer;
}

/* Chat For Low Width Devices*/
.chatOpenIcon {
    position: fixed;
    right: 0;
    bottom: 5%;
    border-radius: 6px 0 0 6px;
    display: none;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background: var(--primary);
    box-shadow: 0px 3px 21px 0px var(--boxshadow);
    transition: color 0.2s ease;
    cursor: pointer;
}

.chatOpenIcon:hover i {
    color: #2FD290;
}

#chatOverlay {
    z-index: 1000;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.479);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 10;
}

@media (max-width: 1300px) {
    .chatOpenIcon {
        display: flex;
        z-index: 5;
    }

    .chat {
        position: fixed;
        height: 100%;
        width: 350px;
        margin: 0;
        right: -350px;
        top: 0;
        border-radius: 0;
        max-height: 100%;
        transition: right 0.5s;
        -webkit-transition: right 0.5s ease-in-out;
        -moz-transition: right 0.5s ease-in-out;
        -o-transition: right 0.5s ease-in-out;
        transition: right 0.5s ease-in-out;
        z-index: 11;
    }
}