.modal-window {
  position: fixed;
  background-color: rgb(0 0 0 / 54%);
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 999;/*
  visibility: hidden;
  opacity: 0;*/
  /*pointer-events: none;*/
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal-window:target {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}
.modal-window > div {
  width: 400px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  padding: 0px;
  background: #ffffff;
}
.modal-window header {
  font-weight: bold;
}
.modal-window h1 {
  font-size: 150%;
  margin: 0 0 15px;
}

.modal-close {
  color: #aaa;
  line-height: 50px;
  font-size: 80%;
  position: absolute;
  right: 0;
  text-align: center;
  top: 0;
  width: 70px;
  text-decoration: none;
}
.modal-close:hover {
  color: black;
}
.modal-window .modal-header{padding: 12px 15px;
    border-bottom: 1px solid #ccc;}
.modal-window .modal-header h4{margin: 0px;
    font-weight: normal;
    color: #000;
    font-size: 16px;
    float: left;
}
.modal-window .modal-header i{float: right;
    color: #0574b3;
    font-size: 20px;
    cursor: pointer;}
.modal-window .modal-header .modal-close{}
.modal-window .modal-set-body{padding: 15px;}
.modal-window .modal-set-body p{margin: 0px;
    text-align: left;
}
.modal-window .modal-set-footer{padding: 15px;
    border-top: 1px solid #ccc;
    text-align: right;
    margin-top: 10px;
  }
.modal-window .modal-set-footer button{background: #0574b3;
    border: 0px;
    color: #fff;
    font-weight: normal;
    padding: 6px 15px;
    border-radius: 2px;}
.chat-scroll{
max-height: 192px;
overflow-y: scroll;
scrollbar-width: thin;
overflow-x: hidden;
padding-right: 4px;
}
.chat-scroll::-webkit-scrollbar {
width: 6px;
border-radius: 4px;
}

/* Track */
.chat-scroll::-webkit-scrollbar-track {
background: #fff; 
}

/* Handle */
.chat-scroll::-webkit-scrollbar-thumb {
background: #d2d2d16e; 
}

/* Handle on hover */
.chat-scroll::-webkit-scrollbar-thumb:hover {
background: #555; 
}