
.chatbot-demo-panel{
  max-width: 860px;
  margin: 0 auto;
}

.chatbot-demo-shell{
  background: #ffffff;
  border: 1px solid #dce6ef;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 18px 36px rgba(24, 49, 79, 0.08);
}

.chatbot-demo-head{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 22px;
  background: #f7fbff;
  border-bottom: 1px solid #e1eaf2;
}

.chatbot-demo-head strong{
  display: block;
  margin-bottom: 4px;
}

.chatbot-demo-head p{
  margin: 0;
  color: #688097;
  font-size: 0.95rem;
}

.chatbot-demo-status{
  display: inline-block;
  padding: 7px 12px;
  border-radius: 999px;
  background: #eef8ff;
  border: 1px solid #c9dff3;
  color: #1f4d79;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.chatbot-demo-body{
  padding: 22px;
  background: #fcfeff;
  min-height: 260px;
  max-height: 360px;
  overflow-y: auto;
}

.chatbot-msg{
  max-width: 82%;
  padding: 12px 14px;
  border-radius: 16px;
  margin-bottom: 12px;
  line-height: 1.7;
  font-size: 0.97rem;
}

.chatbot-msg.bot{
  background: #eef5fb;
  color: #2b4764;
  border: 1px solid #d7e4ef;
}

.chatbot-msg.user{
  background: #1f4d79;
  color: #ffffff;
  margin-left: auto;
}

.chatbot-demo-suggestions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 22px 18px;
  background: #fcfeff;
}

.chatbot-chip{
  border: 1px solid #d9e4ee;
  background: #f5f9fc;
  color: #304a63;
  border-radius: 999px;
  padding: 9px 14px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.chatbot-chip:hover{
  border-color: #bdd0e2;
  background: #edf4fa;
}

.chatbot-demo-input{
  display: flex;
  gap: 10px;
  padding: 18px 22px 22px;
  background: #ffffff;
  border-top: 1px solid #e2eaf1;
}

.chatbot-demo-input input{
  flex: 1;
  min-width: 0;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid #d7e2ec;
  font-size: 0.96rem;
  outline: none;
}

.chatbot-demo-input input:focus{
  border-color: #9cb9d6;
  box-shadow: 0 0 0 3px rgba(31, 77, 121, 0.08);
}

.chatbot-demo-input button{
  border: none;
  border-radius: 14px;
  padding: 14px 18px;
  background: #1f4d79;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.chatbot-demo-input button:hover{
  background: #173a5c;
}

@media (max-width: 720px){
  .chatbot-demo-head{
    flex-direction: column;
    align-items: flex-start;
  }

  .chatbot-msg{
    max-width: 100%;
  }

  .chatbot-demo-input{
    flex-direction: column;
  }

  .chatbot-demo-input button{
    width: 100%;
  }
}
.demo-badge-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.demo-note {
  font-size: 0.85rem;
  opacity: 0.7;
}

.chatbot-msg.typing {
  display: flex;
  gap: 6px;
  align-items: center;
  padding: 10px 14px;
}

.chatbot-msg.typing span {
  width: 6px;
  height: 6px;
  background: #888;
  border-radius: 50%;
  animation: typingDot 1.2s infinite ease-in-out;
}

.chatbot-msg.typing span:nth-child(2) {
  animation-delay: 0.2s;
}

.chatbot-msg.typing span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes typingDot {
  0%, 80%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
    transform: translateY(-4px);
  }
}


