.message-container {
    max-height: 100%;
    overflow-y: auto;
    height: 30px;
    overflow: hidden;

}

.message,
#chatWithUser {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.message-field {
    margin: 5px;
}

.message-field .row:hover {
    background-color: #ddd;
    cursor: pointer;
}

/* General styles for messages */
.inner-message {
    display: block;
    padding: 10px;
    margin: 0px 10px;
    border-radius: 10px;
    max-width: 75%;
    clear: both;
    word-wrap: break-word;
    overflow-wrap: break-word;
    overflow: hidden;
}

/* Sent messages aligned to the right */
.inner-message.sent {
    background-color: #d1e7dd;
    margin-left: auto;
    color: #332347;

}

/* Received messages aligned to the left */
.inner-message.received {
    background-color: #f8d7da;
    margin-right: auto;
    color: #332347;
}

#chatMessages {
    max-height: 100%;
    overflow-y: auto;
    overflow: hidden;
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

#chatMessages::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari, and Opera */
}