#chat-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: #fdc90f;
  color: black;
  border: none;
  border-radius: 50px;
  padding: 12px 20px;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

#chat-box {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 300px;
  max-height: 400px;
  background-color: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

#chat-header {
  background-color: #fdc90f;
  color: black;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-weight: bold;
}

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

#chat-input {
  display: flex;
  border-top: 1px solid #ccc;
}

#chat-input input {
  flex: 1;
  padding: 10px;
  border: none;
  border-bottom-left-radius: 10px;
  font-size: 14px;
}

#chat-input button {
  padding: 10px;
  background-color: #fdc90f;
  color: black;
  border: none;
  border-bottom-right-radius: 10px;
  cursor: pointer;
}
#chat-close:hover {
  color: white;
}

.message {
  max-width: 80%;
  margin: 5px 0;
  padding: 10px;
  border-radius: 12px;
  clear: both;
  word-wrap: break-word;
  font-size: 14px;
}

.message.user {
  background-color: #dcf8c6;
  align-self: flex-end;
  margin-left: auto;
  text-align: right;
  border-bottom-right-radius: 0;
}

.message.admin {
  background-color: #f1f0f0;
  align-self: flex-start;
  margin-right: auto;
  text-align: left;
  border-bottom-left-radius: 0;
}

#chat-messages {
  display: flex;
  flex-direction: column;
  padding: 10px;
  flex: 1;
  overflow-y: auto;
}
