.chat-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px 16px;
  height: 48px;
  border-radius: 24px;
  background: #FF8C00;
  color: #fff;
  border: none;
  font-size: 14px;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  z-index: 1000;
}

.chatbox {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 360px;
  height: 520px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0);
  transform-origin: bottom right;
  transition: transform 0.3s ease;
  z-index: 1000;
}

.chatbox.active {
  transform: scale(1);
}

.header {
  background: #457b9d;
  color: #fff;
  padding: 12px;
  font-weight: bold;
  text-align: center;
  position: relative;
  font-size: 16px;
}

.close-chat {
  position: absolute;
  top: 8px;
  right: 12px;
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.msg {
  max-width: 85%;
  padding: 10px;
  border-radius: 10px;
  line-height: 1.3;
  font-size: 14px;
}

.msg.bot {
  align-self: flex-start;
  background: #f1faee;
  color: #333;
  border: 1px solid #dce7e4;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.options button {
  padding: 10px;
  border: none;
  border-radius: 8px;
  background-color: #87CEEB;
  color: white;
  font-size: 16px;
  cursor: pointer;
  text-align: left;
}

.options button:hover {
  background-color: #053743;
}

a.btn-link {
  display: inline-block;
  margin-top: 6px;
  padding: 6px 10px;
  background: #a8dadc;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 14px;
}

a.btn-link:hover {
  background: #6db3b8;
}

.chat-init-message {
  position: fixed;
  bottom: 80px;
  right: 120px;
  background: #f1faee;
  color: #333;
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 999;
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
