
  #chatbot {
    position: fixed;
    bottom: 70px;
    right: 20px;
    width: 320px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    font-family: Arial, sans-serif;
    z-index: 9999;
    display: none; /* Hidden by default */
    flex-direction: column;
    height: 420px;
  }
  #chat-header {
    background: #083c69;
    color: #fff;
    padding: 10px;
    border-radius: 10px 10px 0 0;
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 14px;
  }
  #chat-header img {
    width: 20px;
    height: 20px;
    margin-right: 8px;
  }
  #chat-stream {
    flex: 1;
    padding: 10px;
    overflow-y: auto;
    font-size: 14px;
    word-wrap: break-word;
    white-space: pre-wrap;
    line-height: 1.4;
  }
  #chat-input-area {
    display: flex;
    border-top: 1px solid #ddd;
  }
  #chat-input {
    flex: 1;
    padding: 8px;
    border: none;
    font-size: 14px;
    outline: none;
  }
  #chat-send {
    background: #083c69;
    color: #fff;
    border: none;
    padding: 8px 12px;
    cursor: pointer;
  }
  #chat-icon {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #083c69;
    color: #fff;
    font-size: 22px;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 10000;
  }
  
  .typing-indicator {
  display: flex;
  gap: 4px;
  margin: 8px 0;
}
.typing-indicator span {
  display: block;
  width: 6px;
  height: 6px;
  background: #083c69;
  border-radius: 50%;
  animation: blink 1.4s infinite both;
}
.typing-indicator span:nth-child(2) {
  animation-delay: 0.2s;
}
.typing-indicator span:nth-child(3) {
  animation-delay: 0.4s;
}
@keyframes blink {
  0%, 80%, 100% { transform: scale(0.6); opacity: 0.4; }
  40% { transform: scale(1); opacity: 1; }
}
