/* Chatbutton container - wrapper that holds both the chat button and unread counter bubble */
/* This allows for proper positioning of the counter relative to the button */
#chatButtonContainer {
  position: fixed;
  bottom: 40px;
  right: 40px;
  z-index: 4;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Updated Chatbutton - Now positioned relative to its container */
/* This allows the unread counter to be positioned correctly relative to the button */
#chatButton {
  position: relative; /* Changed from fixed to relative since it's inside container now */
  box-sizing: border-box;
  outline: none;
  cursor: pointer;
  font-family: "NHaasGroteskTXPro-55Rg", "Helvetica" !important;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  border: 0;
  border-radius: 56px;
  text-decoration: none;
  text-align: center;
  background: #000000;
  box-shadow: 0px 0px 32px 0px rgb(0 0 0 / 5%);
  height: 56px;
  width: 56px;
  transition: all 0.3s ease-in-out;
  z-index: 4;
}

/* Chatbutton hoover color */
#chatButton:hover {
  background: #383838;
}

/* Icon for the chatbutton */
div.chatIcon:before {
  background: url("https://stchatscripts.blob.core.windows.net/images/weekday-customerservice-icon.svg")
    no-repeat;
  content: "";
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  display: block;
  height: 25px;
  left: 16px;
  top: 17px;
  position: absolute;
  width: 24px;
}

/* Unread messages counter bubble for chat button */
.unread-counter-bubble {
  display: none;
  position: absolute;
  top: -14px;
  right: -9px;
  -webkit-backdrop-filter: blur(1px);
  backdrop-filter: blur(1px);
  cursor: pointer;
  border: 3px solid #ff7b67;
  border-radius: 14px;
  background: #fff;
  padding: 0 6px;
  color: #000;
  font-weight: 700;
  font-size: 14px;
  line-height: 20px;
  font-family: sans-serif;
  z-index: 1001;
}
