/* Floating Chat Button */
#chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #031e41;
  color: rgb(190, 177, 177);
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 26px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 9999;
}

/* Chat Box Window */
#chat-box {
  position: fixed;
  bottom: 85px;
  right: 20px;
  width: 350px;
  height: 380px;
  background: #0f1724;
  border-color: #1877f2;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgb(31, 150, 51);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}

#chat-header {
  background: rgba(255, 255, 255, 0.04);
  color: white;
  padding: 12px;
  font-size: 16px;
  display: flex;
  justify-content: space-between;
}

#chat-header button {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

#chat-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 14px;
}

.message {
  margin-bottom: 8px;
  padding: 6px 10px;
  background: #5e5c17;
  border-radius: 6px;
  max-width: 80%;
}

.user-message {
  background: #063186;
  margin-left: auto;
}

#chat-input-area {
  padding: 10px;
  display: flex;
  border-top: 1px solid #4d1818;
}

#chat-input {
  flex: 1;
  padding: 8px;
  border-radius: 4px;
  border: 1px solid #817f7f;
}

#send-btn {
  padding: 8px 14px;
  background: #042550;
  color: white;
  border: none;
  border-radius: 4px;
  margin-left: 5px;
  cursor: pointer;
}