#xploreChatbot {
    position: fixed;
    top: 80px;
    left: 50%;
    width: 90%;
    max-width: 600px;
    background: #000000;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
    z-index: 10000;
}

  #chatHeader {
    background: #0015ff;
    color: white;
    padding: 12px 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
  }

  #closeChat {
    font-size: 22px;
    font-weight: bold;
    cursor: pointer;
  }

  #chatBox {
    max-height: 300px;
    overflow-y: auto;
    background: #a8c2ff;
    padding: 10px 15px;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .chat-bubble {
    padding: 10px 14px;
    border-radius: 16px;
    max-width: 80%;
    font-size: 14px;
    line-height: 1.4;
    display: inline-block;
    word-wrap: break-word;
  }

  .user-message {
    align-self: flex-end;
    background-color: #dcf8c6;
    color: #000;
    border-bottom-right-radius: 0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  }

  .bot-message {
    align-self: flex-start;
    background-color: #fff;
    color: #000;
    border-bottom-left-radius: 0;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.2);
  }

  #chatInputArea {
    display: flex;
    gap: 10px;
    padding: 12px;
    background: #f0f0f0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  #chatInputArea input {
    flex: 1;
    padding: 8px 12px;
    border-radius: 15px;
    border: 1px solid #ccc;
    outline: none;
  }

  #chatInputArea button {
    padding: 8px 16px;
    border-radius: 20px;
    border: none;
    background: #0015ff;
    color: white;
    cursor: pointer;
    font-weight: bold;
  }

#chatBoardBtn {
  position: fixed;
  bottom: 45px;
  right: 20px;
  background: #0015ff;
  color: white;
  padding: 12px 18px;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 9999;
  font-weight: bold;
  font-family: Arial, sans-serif;

  opacity: 0;           /* Start hidden */
  pointer-events: none; /* Prevent clicks when hidden */
  transition: opacity 0.3s ease;
}
#chatBoardBtn.show {
  opacity: 1;
  pointer-events: auto;
}
/* Initial hidden state */
#xploreChatbot {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -40px);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 9999;
}

#xploreChatbot.open {
  opacity: 1;
  transform: translate(-50%, -50%);
}
@media (max-width: 768px) {
    #xploreChatbot {
    position: fixed;
    left: 50%;
    width: 90%;
    max-width: 600px;
    background: #000000;
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    font-family: Arial, sans-serif;
    z-index: 10000;
        transform: translateX(-50%);
    }
}
