/* General Body Styling */
body {
  margin: 0;
  background: none;
  font-family: Arial, sans-serif;
  padding: 0;
}

/* Floating Chat Button */
#chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #007bff;
  color: white;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* Chat Widget Container */
#chat-widget {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 320px;
  height: 460px;
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 9999;
}

/* Header Styling */
#chat-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Chat Message Area */
#chat-content {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

/* Chat Input Footer */
#chat-footer {
  display: flex;
  align-items: center;
  padding: 10px;
  border-top: 1px solid #ddd;
  background-color: #fff;
}

/* Input Field */
#user-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 14px;
  outline: none;
}

/* Send Button */
#send-btn {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 18px;
  margin-left: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

#send-btn:hover {
  background-color: #0056b3;
}

/* Message Styling */
.user {
  background-color: #f0f0f0;
  color: black;
  text-align: right;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  width: auto;
  max-width: 70%;
  word-wrap: break-word;
  display: inline-block;
}

.bot {
  background-color: #007bff;
  color: white;
  text-align: left;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 10px;
  width: auto;
  max-width: 70%;
  word-wrap: break-word;
  display: inline-block;
}

/* Link Styling */
a {
  color: black;
  text-decoration: none;
}
