body{margin-top:20px;}

.chat-online {
    color: #34ce57
}

.chat-offline {
    color: #e4606d
}

.chat-messages {
    display: flex;
    flex-direction: column;
    max-height: 580px;
    overflow-y: scroll
}

.chat-message-left,
.chat-message-right {
    display: flex;
    flex-shrink: 0
}

.chat-message-left {
    margin-right: auto
}

.chat-message-right {
    flex-direction: row-reverse;
    margin-left: auto
}
.py-3 {
    padding-top: 1rem!important;
    padding-bottom: 1rem!important;
}
.px-4 {
    padding-right: 1.5rem!important;
    padding-left: 1.5rem!important;
}
.flex-grow-0 {
    flex-grow: 0!important;
}
.border-top {
    border-top: 1px solid #dee2e6!important;
}

.bg-success{
    background-color: #90b834 !important;
    color: white;
}

.tracking-header{
    padding: 5px;
    font-size: 1.2rem;
}

.message-input{
    border-radius: 2rem;
}

.btn-message{
    background-color: #90b834;
    border-color: #90b834;
    color: white;
}

.btn-message:hover{
    opacity: 0.8;
}


/* Target the scrollbar element */
::-webkit-scrollbar {
    width: 10px; /* Change the width of the scrollbar */
    height: 5px;  /* Change the height of the scrollbar (optional) */
}

/* Style the scrollbar track */
::-webkit-scrollbar-track {
    background: #f1f1f1; /* Change the background color of the track */
}

/* Style the scrollbar thumb */
::-webkit-scrollbar-thumb {
    background: #90b834; /* Change the background color of the thumb */
    border-radius: 5px; /* Add a border radius to the thumb */
}

/* Style the thumb when hovering over the scrollbar */
::-webkit-scrollbar-thumb:hover {
    background: #666; /* Change the background color of the thumb on hover */
}

.chat-message-right .avatar-name{
    text-align: right;
}
