/* Style for the custom chat button icon */
#custom-chat-icon {
    z-index: 40;
    margin-right: 6px;
    margin-bottom: 6px;
    position: fixed;
    right: 0;
    bottom: 10%;
    width: 100px;
    height: 100px;
    border: 2px solid #e2e8f0;
    border-radius: 50%;
    background: none;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    cursor: pointer;
}

#custom-chat-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
}

#custom-chat-icon:hover {
    transform: scale(1.1);
    transition: transform 0.2s ease-in-out;
}

/* Style for the close button */
/*#close-avatar-button {*/
/*    display: none;*/
/*    z-index: 51;*/
/*    position: absolute;*/
/*    top: 10px;*/
/*    right: 10px;*/
/*    background-color: red;*/
/*    color: white;*/
/*    border: none;*/
/*    border-radius: 50%;*/
/*    width: 40px;*/
/*    height: 40px;*/
/*    font-size: 20px;*/
/*    font-weight: bold;*/
/*    cursor: pointer;*/
/*}*/
#close-avatar-button {
  display: none;
  z-index: 51;
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: #ffffff26;
  color: white;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  padding: 0;
}

.chatDiv{position: fixed;
  right: 0px;
  bottom: 0px;
  pointer-events: auto;
  overflow: hidden;
  height: 42px;
  width: 42px;
  z-index: 999999;
}

/* Popover Message */
#chat-popover {
    display: block;
    position: fixed;
    right: 10px;
    bottom: 27%;
    background-color: #2d3748; /* Dark background */
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    z-index: 50;
    opacity: 1;
    transform: translateY(10px);
    transition: opacity 0.2s ease-in-out, transform 0.2s ease-in-out;
}

/* Show popover on hover */
#custom-chat-icon:hover + #chat-popover {
    display: block;
    opacity: 1;
    transform: translateY(0);
}