body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 20px;
}

.chatbox {
  position: fixed;
  bottom: 80px; /* Moved up so it doesn’t overlap the chatbot button */
  right: 20px;
  width: 400px;
  max-width: 100%;
}

.chatbox__support {
  display: none;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  flex-direction: column;
  height: 500px;
  max-height: 80vh;
}

.chatbox__support.chatbox--active {
  display: flex;
}

.chatbox__header {
  display: flex;
  align-items: center;
  background-color: #007bff;
  color: white;
  padding: 15px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
}

.chatbox__image--header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 15px;
}

.chatbox__messages {
  flex-grow: 1;
  overflow-y: auto;
  padding: 15px;
  display: flex;
  flex-direction: column;
}

.message {
  max-width: 80%;
  margin-bottom: 10px;
  clear: both;
}

.message--user {
  align-self: flex-end;
}

.message--user .message__content {
  background-color: #007bff;
  color: white;
  border-radius: 15px;
  padding: 10px;
  margin-left: auto;
}

.message--bot {
  align-self: flex-start;
}

.message--bot .message__content {
  background-color: #e9ecef;
  color: black;
  border-radius: 15px;
  padding: 10px;
  margin-right: auto;
}

.chatbox__footer {
  display: flex;
  padding: 15px;
  background-color: #f8f9fa;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
}

.chatbox__footer input {
  flex-grow: 1;
  padding: 10px;
  border: 1px solid #ced4da;
  border-radius: 5px;
  margin-right: 10px;
}

.chatbox__footer button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
}

.chatbox__footer button:disabled {
  background-color: #6c757d;
  cursor: not-allowed;
}

/* Chatbox toggle button */
.chatbox__button {
  position: fixed;
  bottom: 20px;
  right: 20px;
}

.chatbox__button button {
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.chatbox__button button img {
  width: 30px;
  height: 30px;
}
