#chatbot-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #00c9a7;
  color: white;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18);
  font-size: 22px;
  z-index: 9999;
  border: none;
  transition: all .2s ease;
}

#chatbot-button:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(0,0,0,.22);
}

#chatbot-window {
  position: fixed;
  bottom: 90px;
  right: 20px;
  width: 340px;
  max-width: calc(100vw - 30px);
  height: 470px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  font-family: "Nunito", sans-serif;
  z-index: 9999;
}

.chat-header {
  background: #00c9a7;
  color: #fff;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chat-header-title {
  display: flex;
  flex-direction: column;
}

.chat-header-title strong {
  font-size: 15px;
  line-height: 1.2;
}

.chat-header-title span {
  font-size: 12px;
  opacity: .9;
}

#chatbot-close {
  background: transparent;
  color: #fff;
  border: none;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.chat-body {
  flex: 1;
  padding: 12px;
  overflow-y: auto;
  background: #f5f7fb;
}

.msg-row {
  display: flex;
  margin: 6px 0;
}

.msg-row.user {
  justify-content: flex-end;
}

.msg-row.bot {
  justify-content: flex-start;
}

.msg {
  padding: 9px 12px;
  border-radius: 12px;
  max-width: 78%;
  font-size: 13px;
  line-height: 1.45;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

.msg.bot {
  background: #fff;
  color: #2f3a4b;
  border: 1px solid #e7ebf3;
}

.msg.user {
  background: #00c9a7;
  color: #fff;
}

.chat-typing {
  padding: 0 14px 8px;
  font-size: 12px;
  color: #6f7b8f;
  background: #f5f7fb;
}

.chat-quick-replies {
  padding: 0 12px 10px;
  background: #f5f7fb;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chat-chip {
  background: #fff;
  color: #00a88c;
  border: 1px solid rgba(0, 201, 167, .25);
  border-radius: 18px;
  padding: 7px 10px;
  font-size: 12px;
  cursor: pointer;
  transition: all .2s ease;
}

.chat-chip:hover {
  background: #eafffa;
}

.chat-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  border-top: 1px solid #edf1f7;
  padding: 10px;
  background: #fff;
}

#chat-input {
  flex: 1;
  border: 1px solid #dbe3ef;
  padding: 10px 12px;
  font-size: 13px;
  border-radius: 10px;
  font-family: "Nunito", sans-serif;
}

#chat-input:focus {
  outline: none;
  border-color: #00c9a7;
}

#chat-send {
  background: #00c9a7;
  color: white;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  cursor: pointer;
  transition: background .2s ease;
}

#chat-send:hover {
  background: #00b89a;
}

@media (max-width: 480px) {
  #chatbot-window {
    right: 12px;
    bottom: 84px;
    width: calc(100vw - 24px);
    height: 70vh;
  }

  #chatbot-button {
    right: 12px;
    bottom: 16px;
  }
}


.chatbot-branding {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    margin: 1px 0 6px 0;
    opacity: 0.7;
    font-family: "Nunito", sans-serif;

}

.chatbot-branding a {
    /* color: #00c9a7; */
    color: #212529;

    text-decoration: none;
    transition: opacity 0.2s ease;
}

.chatbot-branding a:hover {
    opacity: 1;
    text-decoration: underline;
}
