/* Lane CHAT2: the staff console's styles (legacy Views/Home/ActiveChat.aspx <style> block, unchanged). */

#overlay-progress-bar {
  display: none;
  margin: 15px;
}

#send-message {
  width: 100px;
  text-align: center;
}

#active-users {
  width: 250px;
  float: left;
}
#active-users ul {
  list-style: none;
  margin-right: 5px;
}
#active-users li {
  border-radius: 5px;
  background-color: #999999;
  border: solid 3px #999999;
  color: #fff;
  font-weight: bold;
  margin-bottom: 5px;
  padding: 4px;
  cursor: pointer;
}

@keyframes unread-flash {
  0% {
    background-color: #32a0ee;
  }
  50% {
    background-color: #bfdfff;
  }
  100% {
    background-color: #32a0ee;
  }
}

#active-users li.active {
  border-color: #ffcbb9;
  background-color: #ff7a4d;
}
#active-users li.unread {
  border: solid 3px #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  background-color: #32a0ee;
  animation-name: unread-flash;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}
#active-users li span {
  display: block;
  width: 100%;
  color: #fff;
  font-weight: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-style: italic;
}
#nomessages {
  display: none;
}

.connectionError {
  color: red;
}
#disabledOverlay {
  display: none;
  position: absolute;
  width: 580px;
  height: 52px;
  background-color: gray;
  padding: 10px;
  opacity: 0.8;
  color: #fff;
  text-align: center;
  font-weight: bold;
  font-size: 1.3em;
}
#typingStatus {
  height: 20px;
}
#typingStatusLabel {
  display: none;
  font-style: italic;
  padding-left: 10px;
  color: #999;
}
#no-conversations {
  display: none;
}

/* Lane CHAT2: the header icon's badge (the legacy toast's count of waiting customers). */
.activechat-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: #bf1e2d;
  color: #fff;
  border-radius: 8px;
  padding: 0 5px;
  font-size: 11px;
  font-weight: bold;
}

/* Lane CHAT2: the new-customer-message toast (legacy Bootstrap.Master showToast, ripToastChat). */
.activechat-toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #2c3742;
  color: #fff;
  padding: 10px 14px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 2000;
  max-width: 320px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
