.accordion-body{
    min-height: 50vh;
    max-height: 50vh;
    overflow: hidden;
    position: relative;
    padding-bottom: 60px;
}
.chatroom-input-container,
.chat-input{
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border-top: solid 1px #ccc;
}
.chatroom-window,
.chat-window{
    /* position: absolute; */
    top: 0px;
    left: 20px;
    right: 15px;
    bottom: 58px;
    overflow: auto;
    overflow-anchor: none;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.chat-scroll{
    position: absolute;
    top: 0;
    bottom: 60px;
    overflow: auto;
    right: 10px;
    left: 10px;
}

.chat-scroll .me-4{
    padding-bottom: 5px;
}

.chat-anchor{
    overflow-anchor: auto;
    height: 1px;
}

.chat-bubble{
    border: solid 1px #ccc;
    border-radius: 5px;
}

.chat-bubble.msg-received{
    background-color: #eee;
}

.accordion-button{
    border-bottom: solid 1px #ccc;
}

h4.accordion-header{
    position: sticky;
    top: 00px;
    z-index: 3;
}

.max-width-600{
    max-width: 600px;
    margin:auto;
}

.sysMsg{
    font-style: italic;
    color: #666;
    padding: 0px 5px;
    text-align: center;
}

.current-users{
    padding: 10px;
    border: solid 1px #ccc;
    box-shadow: 0 0 5px rgba(0,0,0,.25);
    border-radius: 5px;
    background-color: white;
    position: absolute;
    z-index: 10;
    left: calc(100% - 20px);
    padding-right: 50px;
    height: 42vh;
    max-height: 42vh;
    min-width: 50vw;
    overflow: auto;
}

.current-users.open{
    left: initial;
    right: -25px;
}

.current-users > :first-child{
    font-weight: bold;
}

.current-users div {
    text-wrap: nowrap;
}

.chat-message{
    margin-left:30px;
}


/* ////////////// */
.accordion-body {
    min-height: 50vh;
    max-height: 50vh;
    overflow: auto;
    position: relative;
    padding-bottom: 60px;
}

.chatroom-input-container,
.chat-input {
    position: absolute;
    bottom: 0px;
    left: 0px;
    right: 0px;
    border-top: solid 1px #ccc;
}

.chatroom-window,
.chat-window {
    /* position: absolute; */
    top: 0px;
    left: 20px;
    right: 15px;
    bottom: 58px;
    overflow: auto;
    overflow-anchor: none;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
}

.chat-scroll {
    position: absolute;
    top: 0;
    bottom: 60px;
    overflow: auto;
    right: 20px;
    left: 22px;
}

.chat-anchor {
    overflow-anchor: auto;
    height: 1px;
}

.chat-bubble {
    border: solid 1px #ccc;
    border-radius: 5px;
}

.chat-bubble.msg-received {
    background-color: #eee;
}

.accordion-button {
    border-bottom: solid 1px #ccc;
}

.accordion-button i {
    position: absolute;
    right: 50px;
    opacity: 0;
    visibility: hidden;
}

.accordion-button .i2 {
    right: 80px;
}

.accordion-button:not(.collapsed) i {
    opacity: 1;
    visibility: visible;
}

h4.accordion-header {
    position: sticky;
    top: -20px;
}

.max-width-600 {
    max-width: 600px;
    margin: auto;
}

.sysMsg {
    font-style: italic;
    color: #666;
}

.chat-profile-img {
    aspect-ratio: 1 / 1;
    object-fit: cover;
    overflow: hidden;
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border-radius: 100px;
}