/* cc-chatbot widget styles */
#cc-chatbot-wrapper {
  position: fixed;
  bottom: 20px;
  z-index: 999999 !important; /* stay above all elements */
}
#cc-chatbot-wrapper.right { right: 20px; }
#cc-chatbot-wrapper.left { left: 20px; }

#cc-chatbot-bubble {
  width: 55px;
  height: 55px;
  border-radius: 50%;
  color: #fff !important;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  background: inherit;
}

.cc-chatbot-panel {
  width: 320px;
  max-width: 90%;
  background: #fff !important;
  border-radius: 10px;
  overflow: hidden !important;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  display: none;
  flex-direction: column !important;
  height: 400px;
  position: relative;
}

.cc-chatbot-panel.active { display: flex !important; }

.cc-chatbot-panel .cc-header {
  color: #fff !important;
  padding: 10px;
  font-weight: bold;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#cc-close { cursor: pointer; }

.cc-chatbot-panel .cc-messages {
  flex: 1;
  padding: 10px;
  overflow-y: auto !important;
  background: #f9f9f9 !important;
}

.cc-chatbot-panel .cc-messages .cc-msg {
  margin: 6px 0;
  padding: 8px 12px;
  border-radius: 6px;
  max-width: 80%;
  font-size: 14px !important;
  white-space: pre-wrap;
}

.cc-chatbot-panel .cc-messages .cc-user {
  background: #d8e6ff !important;
  margin-left: auto;
}

.cc-chatbot-panel .cc-messages .cc-bot {
  background: #eee !important;
}

.cc-chatbot-panel .cc-input {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  border-top: 1px solid #ddd !important;
  background: #fff !important;
  min-height: 50px !important;
  padding: 0 !important;
  margin: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.cc-chatbot-panel .cc-input input {
  flex: 1 !important;
  border: none !important;
  padding: 10px !important;
  outline: none !important;
  display: block !important;
  background: #fff !important;
  color: #000 !important;
  font-size: 14px !important;
  line-height: normal !important;
  height: auto !important;
  min-height: 40px !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 999999 !important;
  position: relative !important;
}

.cc-chatbot-panel .cc-input button {
  background: none !important;
  border: none !important;
  font-size: 18px !important;
  cursor: pointer !important;
  padding: 0 15px !important;
  color: inherit !important;
  line-height: normal !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Force chatbot input text to always be visible */
#cc-chatbot-wrapper .cc-input input {
  all: unset !important;
  display: inline-block !important;
  width: 100% !important;
  height: 40px !important;
  padding: 10px !important;
  margin: 0 !important;
  border: none !important;
  outline: none !important;
  background: #fff !important;
  color: #000 !important;                /* text ka rang black */
  font-size: 14px !important;
  font-family: Arial, sans-serif !important;
  line-height: normal !important;
  box-sizing: border-box !important;
  caret-color: #000 !important;          /* cursor visible */
  text-indent: 0 !important;             /* text hidden na ho */
  text-align: left !important;
  visibility: visible !important;
  opacity: 1 !important;
  filter: none !important;
  z-index: 999999 !important;
  position: relative !important;

  /* kabhi kabhi theme ye property lagati hai */
  -webkit-text-fill-color: #000 !important;
}
