* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

html {
  height: 100%;
  font-family: Arial, Helvetica, sans-serif;
  background: rgb(22, 44, 34);
  background-image: linear-gradient(180deg, rgb(22, 44, 34) 20%, rgb(10, 10, 10) 80%);
  color: white;
  padding-top: 32px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: transparent;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  height: 100vh;
  /* height: 100%; */
  padding-top: 32px;
  overflow: hidden;
}

header {
  background-color: rgb(22, 44, 34);
  padding: 16px 100px;
  font-size: 24px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.2);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
}

/* Chat Widget Styling */
#chat-widget-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 350px;
  height: 500px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  display: none;
  flex-direction: column;
  z-index: 1000;
  overflow: hidden;
}
#chat-widget-header {
  background: #854fff;
  color: white;
  padding: 20px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 18px;
}
#chat-widget-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  color: rgb(43, 43, 43);
}
/* Increased spacing between messages */
#chat-widget-body p {
  margin-bottom: 15px; /* Adjust spacing between messages */
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  word-wrap: break-word;
}
#chat-widget-footer {
  padding: 12px;
  border-top: 1px solid #ddd;
  display: flex;
  gap: 10px;
}
#chat-widget-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 8px;
  outline: none;
}
#chat-widget-send {
  background: #854fff;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
}
/* Make the chat bubble a perfect circle */
#chat-widget-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #854fff;
  color: white;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 20px;
  z-index: 1001;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#chat-widget-close {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  cursor: pointer;
}
