#mxchat-chatbot-wrapper p {
  font-size: 14px;
  color: unset;
}

#mxchat-chatbot #chat-container #input-container #chat-input{
  font-family: "Poppins", sans-serif;
  font-size: 14px;	
  color: #fff;
  padding: 0.5em 0.8em;
  background: rgba(255,255,255,0.5);
}


#mxchat-chatbot #chat-container #input-container{
	padding-right: 50px;
	border: 1px solid #cccccc59;
}

input:focus-visible, textarea:focus-visible, select:focus-visible, button:focus-visible, a:focus-visible {
  outline: 0 none !important;
}

/* Position + general glass container */
#floating-chatbot {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 360px;
  max-height: 80vh;
  z-index: 9999;  
}

#mxchat-chatbot-wrapper {
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(22px) saturate(180%);
  -webkit-backdrop-filter: blur(22px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.35);
}

/* Top bar – translucent, subtle gradient */
.chatbot-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: linear-gradient(
    135deg,
    rgba(30, 30, 30, 0.85),
    rgba(20, 20, 20, 0.75)
  ) !important;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.chatbot-title {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.chat-mode-indicator {
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 11px;
  background-color: rgba(255, 255, 255, 0.16) !important;
  color: #fff !important;
}

/* Minimize button */
.exit-chat {
  border: none;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 4px 10px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  cursor: pointer;
  color: #fff;
  transition: background 0.18s ease, transform 0.15s ease;
}

.exit-chat:hover {
  background: rgba(255, 255, 255, 0.18);
  transform: translateY(-1px);
}

/* Main chatbot body */
#mxchat-chatbot {
  background: transparent !important;
}

#chat-container {
  display: flex;
  flex-direction: column;
  height: 100%;
}

#chat-box {
  padding: 12px;
  max-height: 55vh;
  overflow-y: auto;
  background: radial-gradient(
    circle at top left,
    rgba(255, 255, 255, 0.20),
    transparent 55%
  );
  scrollbar-color: rgb(255, 255, 255) rgba(255, 255, 255, 0.14);
  scrollbar-width: thin;	
}

/* Scrollbar (subtle) */
#chat-box::-webkit-scrollbar {
  width: 6px;
}
#chat-box::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

/* Messages – iOS-style bubbles */
.user-message,
.bot-message {
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 18px;
  margin: 6px 0;
  font-size: 13px;
  line-height: 1.35;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* User bubble (right, light) */
.user-message {
  margin-left: auto;
  background: linear-gradient(135deg,#8844a1,#62167f,#724fa7) !important;
  color: #fff !important;
}

/* Bot bubble (left, dark-ish frosted) */
.bot-message {
  margin-right: auto;
  background: rgba(32, 32, 32, 0.85) !important;
  color: #f9f9f9 !important;
}

/* Links in messages */
.bot-message a,
.user-message a {
  color: #0a84ff;
  text-decoration: none;
}
.bot-message a:hover,
.user-message a:hover {
  text-decoration: underline;
}

/* Input area – glass bar with rounded corners */
#input-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px 12px;
  background: rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

#chat-input {
  flex: 1;
  resize: none;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 8px 10px;
  font-size: 13px;
  outline: none;
  background: rgba(255, 255, 255, 0.18);
  color: #111;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#chat-input::placeholder {
  color: rgba(0, 0, 0, 0.35);
}

/* Send button – circular & glassy */
#send-button {
  border: none;
  border-radius: 999px;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(10, 132, 255, 0.9);
  box-shadow: 0 10px 25px rgba(10, 132, 255, 0.5);
  transition: transform 0.12s ease, box-shadow 0.15s ease, background 0.15s ease;
}

#send-button svg {
  fill: #fff !important;
}

#send-button:hover {
  transform: translateY(-1px);
  background: rgba(10, 132, 255, 1);
  box-shadow: 0 12px 26px rgba(10, 132, 255, 0.65);
}

#send-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(10, 132, 255, 0.45);
}

/* Quick questions toolbar area can stay subtle */
.chat-toolbar,
#mxchat-popular-questions {
  background: transparent;
}

#mxchat-chatbot-wrapper .chatbot-top-bar button.exit-chat{
	margin-top: 10px;
}

.exit-chat svg {	 
	width: 14px;
	height: 14px;
}

/* Mobile tweaks */
@media (max-width: 600px) {
  #floating-chatbot {
    right: 12px;
    left: 12px;
    bottom: 12px;
    width: auto;
    max-height: 80vh;
  }
}
