/* Chatbot & page styles */
#chatbot-bubble {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: linear-gradient(45deg, #007bff, #00c6ff);
  color: white;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 30px;
  z-index: 1000;
  caret-color: transparent;
}
#chatbot-bubble img {
  width: 40px;
  height: 40px;
}
#chatbot-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 400px;
  max-height: 600px;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  display: none;
  flex-direction: column;
  z-index: 1000;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
}
@media (max-width: 480px) {
  #chatbot-window {
    width: 90%;
    right: 5%;
  }
}
#chatbot-window header {
  background: linear-gradient(45deg, #007bff, #00c6ff);
  color: #fff;
  padding: 10px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-weight: bold;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
#chatbot-window header .header-logo {
  width: 200px;
  height: 80px;
  margin-bottom: 8px;
}
#chatbot-close {
  position: absolute;
  right: 10px;
  top: 10px;
  color: #fff;
  cursor: pointer;
  font-weight: bold;
}
#chatbot-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.chatbot-message {
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 10px;
  max-width: 80%;
  word-wrap: break-word;
  display: flex;
  align-items: center;
}
.chatbot-message.bot {
  background-color: #f1f1f1;
  color: #000;
  align-self: flex-start;
}
.chatbot-message.user {
  background-color: #007bff;
  color: #fff;
  align-self: flex-end;
}
#chatbot-input {
  display: flex;
  border-top: 1px solid #ccc;
}
#chatbot-input input {
  flex: 1;
  border: none;
  padding: 10px;
  border-bottom-left-radius: 10px;
}
#chatbot-input button {
  border: none;
  background-color: #007bff;
  color: #fff;
  padding: 10px 15px;
  cursor: pointer;
  border-bottom-right-radius: 10px;
}
/* Modal styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1500;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 500px;
  border-radius: 10px;
  position: relative;
}
.close {
  color: #aaa;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
}
.close:hover,
.close:focus {
  color: black;
}
