#vinod-chatbot-widget,
#vinod-chatbot-widget * {
  box-sizing: border-box;
  font-family: 'Nunito Sans', Arial, sans-serif;
}

#vinod-chatbot-widget {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 9999;
}

#vinod-chatbot-widget .vinod-chat-toggle {
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 999px;
  background: #5f4bff;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(30, 41, 59, 0.24);
}

#vinod-chatbot-widget .vinod-chat-panel {
  width: min(360px, calc(100vw - 24px));
  height: 500px;
  max-height: calc(100vh - 100px);
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.24);
  overflow: hidden;
  display: none;
  margin-bottom: 12px;
  border: 1px solid #e6e8ef;
}

#vinod-chatbot-widget .vinod-chat-panel.is-open {
  display: flex;
  flex-direction: column;
}

#vinod-chatbot-widget .vinod-chat-header {
  background: linear-gradient(135deg, #5f4bff, #7a6bff);
  color: #fff;
  padding: 14px 16px;
  font-weight: 800;
}

#vinod-chatbot-widget .vinod-chat-history {
  flex: 1;
  overflow-y: auto;
  padding: 14px;
  background: #f8f9fc;
}

#vinod-chatbot-widget .vinod-chat-message {
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  line-height: 1.4;
  font-size: 14px;
  white-space: pre-wrap;
}

#vinod-chatbot-widget .vinod-chat-message.user {
  margin-left: auto;
  background: #5f4bff;
  color: #fff;
  border-bottom-right-radius: 4px;
}

#vinod-chatbot-widget .vinod-chat-message.bot {
  margin-right: auto;
  background: #fff;
  color: #111827;
  border: 1px solid #e5e7eb;
  border-bottom-left-radius: 4px;
}

#vinod-chatbot-widget .vinod-chat-message.typing {
  font-style: italic;
  color: #4b5563;
}

#vinod-chatbot-widget .vinod-chat-input-wrap {
  border-top: 1px solid #e5e7eb;
  padding: 10px;
  display: flex;
  gap: 8px;
  background: #fff;
}

#vinod-chatbot-widget .vinod-chat-input {
  flex: 1;
  min-width: 0;
  border: 1px solid #d1d5db;
  border-radius: 10px;
  padding: 10px;
  font-size: 14px;
}

#vinod-chatbot-widget .vinod-chat-input:focus {
  outline: none;
  border-color: #5f4bff;
}

#vinod-chatbot-widget .vinod-chat-send {
  border: 0;
  border-radius: 10px;
  padding: 0 14px;
  background: #12b886;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

#vinod-chatbot-widget .vinod-chat-send:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
