/* ═══════════════════════════════════════════════════════════════
   XMPro AI Chatbot - COMPLETE CSS v3.3
   Theme-Resistant with !important flags
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════
   BASE STYLES & WRAPPER
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper,
.xmpro-ai-chatbot-wrapper * {
  box-sizing: border-box !important;
}

.xmpro-ai-chatbot-wrapper {
  max-width: 900px !important;
  margin: 0 auto !important;
  padding: 0 20px !important;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
  position: relative !important;
}

/* ═══════════════════════════════════════
   EMBEDDED UI - FORMS & INPUTS
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper .xmpro-ai-form {
  margin-bottom: 0 !important;
  animation: fadeInUp 0.5s ease !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-initial {
  transition: all 0.3s ease !important;
  margin-bottom: 0 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-initial.hidden {
  max-height: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom {
  margin: 0 !important;
  padding: 20px 24px 24px 24px !important;
  background: transparent !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
}

/* Input Wrapper - Initial Form */
.xmpro-ai-chatbot-wrapper .xmpro-ai-input-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(5px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 14px 18px !important;
  border-radius: 28px !important;
  transition: all 0.3s ease !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-input-wrapper:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-input-wrapper:focus-within {
  background: #a7a7a740 !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 20px rgba(0, 201, 255, 0.1) !important;
  transform: translateY(-1px) !important;
}

/* Sparkle Icon */
.xmpro-ai-chatbot-wrapper .xmpro-ai-input-sparkle {
  flex-shrink: 0 !important;
  color: #00C9FF !important;
  opacity: 0.6 !important;
  transition: opacity 0.2s ease !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-input-wrapper:focus-within .xmpro-ai-input-sparkle {
  opacity: 1 !important;
  color: #009fde57 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-input-sparkle svg {
  width: 20px !important;
  height: 20px !important;
}

/* AI Avatar Alternative */
.xmpro-ai-chatbot-wrapper .xmpro-ai-input-avatar {
  flex-shrink: 0 !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  object-fit: cover !important;
  opacity: 0.8 !important;
  transition: opacity 0.2s ease !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-input-wrapper:focus-within .xmpro-ai-input-avatar {
  opacity: 1 !important;
}

/* Bottom Form Input Wrapper */
.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input-wrapper {
  background: #00395280 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input-wrapper:hover {
  background: #009fde57 !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input-wrapper:focus-within {
  background: #00395280 !important;
  border: none !important;
  outline: none !important;
  box-shadow: 0 4px 16px rgba(0, 201, 255, 0.12) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input-sparkle {
  color: #00C9FF !important;
  opacity: 0.7 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input-wrapper:focus-within .xmpro-ai-input-sparkle {
  opacity: 1 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input-avatar {
  opacity: 0.9 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input-wrapper:focus-within .xmpro-ai-input-avatar {
  opacity: 1 !important;
}

/* Text Input Field */
.xmpro-ai-chatbot-wrapper .xmpro-ai-input {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: white !important;
  font-size: 1.05rem !important;
  padding: 8px 4px !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  appearance: none !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-input:focus {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input {
  color: white !important;
  font-weight: 700 !important;
  font-size: 1.05rem !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  margin: 0 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-input:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

/* Submit Button */
.xmpro-ai-chatbot-wrapper .xmpro-ai-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  background: linear-gradient(135deg, #00C9FF 0%, #0091CC 100%) !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-submit:hover:not(:disabled) {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0, 201, 255, 0.4) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-submit:active:not(:disabled) {
  transform: scale(0.98) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-submit:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-submit:focus-visible {
  outline: 3px solid rgba(0, 201, 255, 0.5) !important;
  outline-offset: 2px !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-submit svg {
  width: 20px !important;
  height: 20px !important;
}

/* ═══════════════════════════════════════
   SUGGESTIONS CAROUSEL
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestions-wrapper {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding-bottom: 20px !important;
  animation: fadeInUp 0.6s ease !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestions-wrapper p,
.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestions-wrapper * {
  margin: 0 !important;
  padding-top: 10px !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestions-carousel {
  flex: 1 !important;
  overflow: hidden !important;
  position: relative !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestions {
  display: flex !important;
  gap: 10px !important;
  overflow-x: auto !important;
  scroll-behavior: smooth !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  padding: 4px 0 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestions::-webkit-scrollbar {
  display: none !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestion {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding-bottom: 10px !important;
  min-height: 0px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 18px !important;
  color: white !important;
  font-size: 0.75rem !important;
  font-weight: 400 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  white-space: nowrap !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  line-height: 1 !important;
  vertical-align: middle !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestion p {
  margin: 0 !important;
  padding: 0 !important;
  display: inline !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestion:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  border-color: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestion:active {
  transform: translateY(0) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-suggestion:focus-visible {
  outline: 2px solid white !important;
  outline-offset: 2px !important;
}

/* Carousel Navigation Buttons */
.xmpro-ai-chatbot-wrapper .xmpro-ai-carousel-btn {
  flex-shrink: 0 !important;
  width: auto !important;
  height: auto !important;
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  align-self: center !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-carousel-btn svg {
  width: 28px !important;
  height: 28px !important;
  stroke: white !important;
  stroke-width: 3 !important;
  fill: none !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.5)) !important;
  transition: all 0.2s ease !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-carousel-btn:hover:not(:disabled) svg {
  stroke: rgba(255, 255, 255, 0.8) !important;
  transform: scale(1.2) !important;
  filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.6)) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-carousel-btn:active:not(:disabled) svg {
  transform: scale(1.1) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-carousel-btn:disabled {
  opacity: 0.3 !important;
  cursor: not-allowed !important;
}

/* ═══════════════════════════════════════
   NEW CHAT BUTTON
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-wrapper {
  display: flex !important;
  justify-content: center !important;
  margin-top: 20px !important;
  margin-bottom: 20px !important;
  animation: fadeInUp 0.6s ease 0.1s both !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-carousel {
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 5px 14px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 18px !important;
  color: white !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
  line-height: 1 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-carousel:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-carousel:active {
  transform: translateY(0) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-carousel svg {
  flex-shrink: 0 !important;
  width: 16px !important;
  height: 16px !important;
}

/* ═══════════════════════════════════════
   CONVERSATION CONTAINER
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper .xmpro-ai-conversation-container {
  display: none !important;
  background: #7797a42e !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 32px !important;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  margin-bottom: 24px !important;
  overflow: hidden !important;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
  max-height: 0 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-conversation-container.active {
  display: block !important;
  max-height: 700px !important;
  animation: expandContainer 0.5s ease forwards !important;
}

@keyframes expandContainer {
  from {
    max-height: 0 !important;
    opacity: 0 !important;
  }
  to {
    max-height: 700px !important;
    opacity: 1 !important;
  }
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-conversation {
  height: 100% !important;
  max-height: 520px !important;
  overflow-y: auto !important;
  padding: 32px !important;
  scroll-behavior: smooth !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-conversation::-webkit-scrollbar {
  width: 8px !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-conversation::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-conversation::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 10px !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-conversation::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

/* ═══════════════════════════════════════
   MESSAGE BUBBLES
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper .xmpro-ai-message {
  display: flex !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
  animation: fadeIn 0.3s ease !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message.user {
  flex-direction: row-reverse !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message-avatar {
  flex-shrink: 0 !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-width: 42px !important;
  max-height: 42px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message-avatar img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message-timestamp {
  font-size: 0.7rem !important;
  color: #757575 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message-content {
  display: flex !important;
  flex-direction: column !important;
  max-width: 85% !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message-bubble {
  padding: 14px 18px !important;
  border-radius: 20px !important;
  line-height: 1.7 !important;
  font-size: 0.95rem !important;
  word-wrap: break-word !important;
  position: relative !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  white-space: pre-wrap !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message.user .xmpro-ai-message-bubble {
  background: rgba(0, 201, 255, 0.85) !important;
  color: white !important;
  border-bottom-right-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(0, 201, 255, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message.assistant .xmpro-ai-message-bubble {
  background: rgba(255, 255, 255, 0.7) !important;
  color: #003952 !important;
  border-bottom-left-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  text-align: left !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message.assistant .xmpro-ai-message-bubble * {
  text-align: left !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message.assistant .xmpro-ai-message-bubble,
.xmpro-ai-chatbot-wrapper .xmpro-ai-message.assistant .xmpro-ai-message-bubble p,
.xmpro-ai-chatbot-wrapper .xmpro-ai-message.assistant .xmpro-ai-message-bubble span,
.xmpro-ai-chatbot-wrapper .xmpro-ai-message.assistant .xmpro-ai-message-bubble div {
  color: #003952 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message.assistant .xmpro-ai-message-bubble p {
  margin: 0 0 12px 0 !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message.assistant .xmpro-ai-message-bubble p:last-child {
  margin-bottom: 0 !important;
}

/* Links */
.xmpro-ai-chatbot-wrapper .xmpro-ai-message-link {
  color: #0091CC !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  word-break: break-all !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message-link:hover {
  color: #00C9FF !important;
  text-decoration: none !important;
  border-radius: 4px !important;
  padding: 2px 4px !important;
  margin: -2px -4px !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-message-link:focus-visible {
  outline: 2px solid #00C9FF !important;
  outline-offset: 2px !important;
  border-radius: 4px !important;
}

/* ═══════════════════════════════════════
   LOADING ANIMATION
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper .xmpro-ai-loading {
  display: flex !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
  animation: fadeIn 0.3s ease !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-loading-bubble {
  padding: 14px 18px !important;
  border-radius: 20px !important;
  background: rgba(255, 255, 255, 0.7) !important;
  border-bottom-left-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-loading-dots {
  display: flex !important;
  gap: 6px !important;
  align-items: center !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-loading-dot {
  display: inline-block !important;
  width: 8px !important;
  height: 8px !important;
  border-radius: 50% !important;
  background: #003952 !important;
  animation: typing 1.4s infinite !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-loading-dot:nth-child(2) {
  animation-delay: 0.2s !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-loading-dot:nth-child(3) {
  animation-delay: 0.4s !important;
}

@keyframes typing {
  0%, 60%, 100% {
    transform: translateY(0);
    opacity: 0.7;
  }
  30% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

/* Loading indicator with animated dots */
.xmpro-ai-loading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 16px;
  animation: fadeIn 0.3s ease-in;
}

.xmpro-ai-loading-bubble {
  background: rgba(119, 151, 164, 0.18);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(119, 151, 164, 0.3);
  border-radius: 18px;
  padding: 12px 20px;
  max-width: 80%;
}

.xmpro-ai-loading-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  height: 20px;
}

.xmpro-ai-loading-dot {
  width: 8px;
  height: 8px;
  background: #7797a4;
  border-radius: 50%;
  animation: dotPulse 1.4s infinite ease-in-out;
}

.xmpro-ai-loading-dot:nth-child(1) {
  animation-delay: 0s;
}

.xmpro-ai-loading-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.xmpro-ai-loading-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotPulse {
  0%, 80%, 100% {
    transform: scale(0.8);
    opacity: 0.5;
  }
  40% {
    transform: scale(1.2);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slow warning message */
.xmpro-ai-slow-warning {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  background: #009fde9c;
  border: #009fde;
  border-radius: 12px;
  color: #ffff;
  font-size: 14px;
  animation: fadeIn 0.3s ease-in;
}

.xmpro-ai-slow-warning svg {
  flex-shrink: 0;
  color: #ffff;
}

/* ═══════════════════════════════════════
   SLOW WARNING MESSAGE
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper .xmpro-ai-slow-warning {
  text-align: center !important;
  padding: 12px 16px !important;
  color: #ffffff !important;
  font-size: 0.85rem !important;
  font-style: italic !important;
  margin-bottom: 16px !important;
  background: rgba(0, 201, 255, 0.2) !important;
  border-radius: 12px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  animation: fadeIn 0.3s ease !important;
  backdrop-filter: blur(8px) !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-slow-warning svg {
  flex-shrink: 0 !important;
}

/* ═══════════════════════════════════════
   ERROR MESSAGE
   ═══════════════════════════════════════ */

.xmpro-ai-chatbot-wrapper .xmpro-ai-error {
  display: none !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 16px !important;
  background: rgba(239, 68, 68, 0.1) !important;
  border: 1px solid rgba(239, 68, 68, 0.3) !important;
  border-radius: 12px !important;
  color: #dc2626 !important;
  margin-top: 16px !important;
  animation: shake 0.5s !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-error[style*="display: flex"],
.xmpro-ai-chatbot-wrapper .xmpro-ai-error[style*="display: block"] {
  display: flex !important;
}

.xmpro-ai-chatbot-wrapper .xmpro-ai-error svg {
  flex-shrink: 0 !important;
  color: #dc2626 !important;
}

@keyframes shake {
  0%, 100% { transform: translateX(0) !important; }
  10%, 30%, 50%, 70%, 90% { transform: translateX(-4px) !important; }
  20%, 40%, 60%, 80% { transform: translateX(4px) !important; }
}

/* ═══════════════════════════════════════
   ANIMATIONS
   ═══════════════════════════════════════ */

@keyframes fadeIn {
  from {
    opacity: 0 !important;
    transform: translateY(10px) !important;
  }
  to {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0 !important;
    transform: translateY(20px) !important;
  }
  to {
    opacity: 1 !important;
    transform: translateY(0) !important;
  }
}

/* ═══════════════════════════════════════
   FLOATING BAR (Bottom Center)
   ═══════════════════════════════════════ */

/* Floating bar avatar */
.xmpro-ai-floating-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-right: 12px;
}

.xmpro-ai-floating-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.xmpro-ai-floating-bar {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(100%) !important;
  width: 90% !important;
  max-width: 1380px !important;
  background: rgba(255, 255, 255, 0.18) !important;
  backdrop-filter: blur(20px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
  border-radius: 28px 28px 28px 28px !important;
  padding: 16px 20px !important;
  border: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s !important;
  z-index: 999997 !important;
}

.xmpro-ai-floating-bar.visible {
  transform: translateX(-50%) translateY(-15%) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

.xmpro-ai-form-floating {
  margin: 0 !important;
  padding: 0 !important;
}

.xmpro-ai-floating-input-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #00395296 !important;
  backdrop-filter: blur(10px) saturate(150%) !important;
  -webkit-backdrop-filter: blur(10px) saturate(150%) !important;
  border-radius: 28px !important;
  padding: 14px 18px !important;
  transition: all 0.3s ease !important;
		margin-bottom: 0px !important;
}

.xmpro-ai-floating-input-wrapper:hover {
  background: #00395296 !important;
}

.xmpro-ai-floating-input-wrapper:focus-within {
  background: #00395296 !important;
  transform: translateY(-1px) !important;
}

.xmpro-ai-input-floating {
  flex: 1 !important;
  border: none !important;
  background: transparent !important;
  color: #fff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  padding: 8px 4px !important;
  outline: none !important;
  font-family: inherit !important;
  box-shadow: none !important;
	margin-bottom: 0px !important;
}

.xmpro-ai-input-floating::placeholder {
  color: #fff !important;
  font-weight: 500 !important;
  font-size: 1.2rem !important;
}

.xmpro-ai-input-floating:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.xmpro-ai-submit-floating {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  background: linear-gradient(135deg, #00C9FF 0%, #0091CC 100%) !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  color: white !important;
		margin-bottom: 0px !important;
}

.xmpro-ai-submit-floating:hover:not(:disabled) {
  transform: scale(1.05) !important;
}

.xmpro-ai-submit-floating:active:not(:disabled) {
  transform: scale(0.98) !important;
}

.xmpro-ai-submit-floating:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.xmpro-ai-submit-floating svg {
  width: 20px !important;
  height: 20px !important;
}

/* ═══════════════════════════════════════
   DOCKED CONVERSATION PANEL
   ═══════════════════════════════════════ */

.xmpro-ai-floating-conversation-docked {
  position: fixed !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) translateY(100%) !important;
  width: 90% !important;
  max-width: 900px !important;
  max-height: 60vh !important;
  z-index: 999998 !important;
  background: #7797a42e !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border-radius: 32px 32px 0 0 !important;
  border: none !important;
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.xmpro-ai-floating-conversation-docked.active {
  transform: translateX(-50%) translateY(0) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Header */
.xmpro-ai-floating-conversation-docked .xmpro-ai-floating-header {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 20px 32px 16px 32px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  flex-shrink: 0 !important;
	background-color: #003952b3;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-floating-header-left {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

/* New Chat Button */
.xmpro-ai-floating-conversation-docked .xmpro-ai-new-chat-floating {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 8px 16px !important;
  background: rgba(255, 255, 255, 0.2) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 18px !important;
  color: white !important;
  font-size: 0.75rem !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.3px !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-new-chat-floating:hover {
  background: rgba(255, 255, 255, 0.3) !important;
  border-color: rgba(255, 255, 255, 0.45) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15) !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-new-chat-floating svg {
  width: 16px !important;
  height: 16px !important;
}

/* Minimize Button */
.xmpro-ai-floating-conversation-docked .xmpro-ai-minimize-floating {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 36px !important;
  height: 36px !important;
  background: rgba(255, 255, 255, 0.15) !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  border-radius: 50% !important;
  color: white !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  flex-shrink: 0 !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-minimize-floating:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: rotate(180deg) !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-minimize-floating svg {
  width: 20px !important;
  height: 20px !important;
}

/* Messages Area */
.xmpro-ai-floating-conversation-docked .xmpro-ai-conversation {
  flex: 1 !important;
  overflow-y: auto !important;
  padding: 24px 32px !important;
  scroll-behavior: smooth !important;
  -webkit-overflow-scrolling: touch !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
		background-color:#003952b3;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-conversation::-webkit-scrollbar {
  width: 8px !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-conversation::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1) !important;
  border-radius: 10px !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-conversation::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3) !important;
  border-radius: 10px !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-conversation::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

/* Bottom Form */
.xmpro-ai-floating-conversation-docked .xmpro-ai-form-bottom {
  margin: 0 !important;
  padding: 20px 32px 24px 32px !important;
  background: transparent !important;
  border-top: 1px solid rgba(0, 0, 0, 0.05) !important;
  flex-shrink: 0 !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  background: #00395280 !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  padding: 14px 18px !important;
  border-radius: 28px !important;
  transition: all 0.3s ease !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input-wrapper:hover {
  background: #009fde57 !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input-wrapper:focus-within {
  background: #00395280 !important;
  box-shadow: 0 4px 16px rgba(0, 201, 255, 0.12) !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input-sparkle {
  flex-shrink: 0 !important;
  color: #00C9FF !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s ease !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input-wrapper:focus-within .xmpro-ai-input-sparkle {
  opacity: 1 !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input-sparkle svg {
  width: 20px !important;
  height: 20px !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input {
  flex: 1 !important;
  border: none !important;
  outline: none !important;
  background: transparent !important;
  color: white !important;
  font-size: 1.05rem !important;
  padding: 8px 4px !important;
  margin: 0 !important;
  font-family: inherit !important;
  font-weight: 700 !important;
  line-height: 1.5 !important;
  box-shadow: none !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input::placeholder {
  color: rgba(255, 255, 255, 0.7) !important;
  font-weight: 500 !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-input:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-submit {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  background: linear-gradient(135deg, #00C9FF 0%, #0091CC 100%) !important;
  border-radius: 50% !important;
  border: none !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  padding: 0 !important;
  margin: 0 !important;
  color: white !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-submit:hover:not(:disabled) {
  transform: scale(1.05) !important;
  box-shadow: 0 4px 12px rgba(0, 201, 255, 0.4) !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-submit:active:not(:disabled) {
  transform: scale(0.98) !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-submit:disabled {
  opacity: 0.6 !important;
  cursor: not-allowed !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-submit svg {
  width: 20px !important;
  height: 20px !important;
}

/* ═══════════════════════════════════════
   FLOATING PANEL MESSAGE STYLING FIX
   ═══════════════════════════════════════ */

/* Ensure messages in floating docked panel get same styling */
.xmpro-ai-floating-conversation-docked .xmpro-ai-message {
  display: flex !important;
  gap: 12px !important;
  margin-bottom: 24px !important;
  animation: fadeIn 0.3s ease !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message.user {
  flex-direction: row-reverse !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message-avatar {
  flex-shrink: 0 !important;
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  background: rgba(255, 255, 255, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message-avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message-content {
  display: flex !important;
  flex-direction: column !important;
  max-width: 85% !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message-bubble {
  padding: 14px 18px !important;
  border-radius: 20px !important;
  line-height: 1.7 !important;
  font-size: 0.95rem !important;
  word-wrap: break-word !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  white-space: pre-wrap !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message.user .xmpro-ai-message-bubble {
  background: rgba(0, 201, 255, 0.85) !important;
  color: white !important;
  border-bottom-right-radius: 6px !important;
  box-shadow: 0 2px 12px rgba(0, 201, 255, 0.3) !important;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message.assistant .xmpro-ai-message-bubble {
  background: rgba(255, 255, 255, 0.7) !important;
  color: #003952 !important;
  border-bottom-left-radius: 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  border: 1px solid rgba(255, 255, 255, 0.4) !important;
  text-align: left !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message.assistant .xmpro-ai-message-bubble * {
  text-align: left !important;
  color: #003952 !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message.assistant .xmpro-ai-message-bubble p {
  margin: 0 0 12px 0 !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message.assistant .xmpro-ai-message-bubble p:last-child {
  margin-bottom: 0 !important;
}

/* Links in floating messages */
.xmpro-ai-floating-conversation-docked .xmpro-ai-message-link,
.xmpro-ai-floating-conversation-docked .xmpro-ai-message-bubble a {
  color: #0091CC !important;
  text-decoration: underline !important;
  font-weight: 500 !important;
  transition: all 0.2s ease !important;
  word-break: break-all !important;
}

.xmpro-ai-floating-conversation-docked .xmpro-ai-message-link:hover,
.xmpro-ai-floating-conversation-docked .xmpro-ai-message-bubble a:hover {
  color: #00C9FF !important;
  text-decoration: none !important;
}

/* Mobile - hide avatars in floating too */
@media (max-width: 768px) {
  .xmpro-ai-floating-conversation-docked .xmpro-ai-message-avatar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
  }
  
  .xmpro-ai-floating-conversation-docked .xmpro-ai-message {
    gap: 0 !important;
  }
  
  .xmpro-ai-floating-conversation-docked .xmpro-ai-message-content {
    max-width: 100% !important;
  }
  
  .xmpro-ai-floating-conversation-docked .xmpro-ai-message.user .xmpro-ai-message-content {
    max-width: 85% !important;
  }
}

/* ═══════════════════════════════════════
   MOBILE RESPONSIVE - EMBEDDED UI
   ═══════════════════════════════════════ */

@media (max-width: 768px) {
  .xmpro-ai-chatbot-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }
  
  /* Hide suggestions on mobile */
  .xmpro-ai-chatbot-wrapper .xmpro-ai-suggestions-wrapper,
  .xmpro-ai-chatbot-wrapper .xmpro-ai-suggestions-carousel,
  .xmpro-ai-chatbot-wrapper .xmpro-ai-carousel-btn,
  .xmpro-ai-chatbot-wrapper #carousel-prev,
  .xmpro-ai-chatbot-wrapper #carousel-next {
    display: none !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-form-initial {
    padding: 12px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-input-wrapper {
    padding: 12px 14px !important;
    border-radius: 24px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-input {
    font-size: 14px !important;
    padding: 12px 16px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-submit {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-conversation-container {
    border-radius: 24px !important;
    width: 100% !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-conversation-container.active {
    max-height: 650px !important;
    min-height: 500px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-conversation {
    padding: 20px 16px !important;
    max-height: 480px !important;
    -webkit-overflow-scrolling: touch !important;
  }
  
  /* Hide avatars on mobile */
  .xmpro-ai-chatbot-wrapper .xmpro-ai-message-avatar,
  .xmpro-ai-chatbot-wrapper .xmpro-ai-input-avatar,
  .xmpro-ai-chatbot-wrapper .xmpro-ai-loading .xmpro-ai-message-avatar {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;
    max-width: 0 !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    visibility: hidden !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-message {
    gap: 0 !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-message-content {
    max-width: 100% !important;
    width: 100% !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-message-bubble {
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    padding: 14px 16px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-message.user {
    display: flex !important;
    justify-content: flex-end !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-message.user .xmpro-ai-message-content {
    max-width: 85% !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-wrapper {
    padding: 12px 16px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-carousel {
    padding: 10px 18px !important;
    font-size: 0.9rem !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-carousel svg {
    width: 16px !important;
    height: 16px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-new-chat-carousel span {
    display: inline !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom {
    padding: 10px !important;
    padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-form-bottom .xmpro-ai-input-wrapper {
    padding-left: 16px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-loading {
    gap: 0 !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-loading-bubble {
    padding: 14px 16px !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-message-bubble a {
    text-decoration: underline !important;
    font-weight: 500 !important;
  }
  
  /* Floating Bar Mobile */
  .xmpro-ai-floating-bar {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 24px 24px 24px 24px !important;
    padding: 12px 16px !important;
  }
  
  /* Docked Panel Mobile */
  .xmpro-ai-floating-conversation-docked {
    width: 100% !important;
    max-width: 100% !important;
    max-height: 70vh !important;
    border-radius: 24px 24px 0 0 !important;
  }
  
  .xmpro-ai-floating-conversation-docked .xmpro-ai-floating-header {
    padding: 16px 20px 12px 20px !important;
  }
  
  .xmpro-ai-floating-conversation-docked .xmpro-ai-conversation {
    padding: 20px 16px !important;
  }
  
  .xmpro-ai-floating-conversation-docked .xmpro-ai-form-bottom {
    padding: 12px 16px !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom)) !important;
  }
  
  /* Prevent iOS zoom */
  .xmpro-ai-floating-conversation-docked .xmpro-ai-input,
  .xmpro-ai-input-floating,
  #xmpro-ai-input-initial,
  #xmpro-ai-input-bottom {
    font-size: 16px !important;
  }
  
  /* Hide New Chat text on mobile */
  .xmpro-ai-floating-conversation-docked .xmpro-ai-new-chat-floating span,
  #xmpro-ai-new-chat span {
  }
}

/* ═══════════════════════════════════════
   TABLET RESPONSIVE
   ═══════════════════════════════════════ */

@media (min-width: 481px) and (max-width: 768px) {
  .xmpro-ai-floating-conversation-docked {
    max-height: 65vh !important;
  }
  
  .xmpro-ai-chatbot-wrapper .xmpro-ai-conversation-container.active {
    max-height: 550px !important;
  }
}

/* ═══════════════════════════════════════
   LARGE DESKTOP
   ═══════════════════════════════════════ */

@media (min-width: 1400px) {
  .xmpro-ai-chatbot-wrapper .xmpro-ai-conversation-container.active {
    max-height: 700px !important;
  }
}

/* ============================================
   END OF XMPro AI Chatbot 
   ============================================ */


/* Hand Pointer For Opening Chatbot Buttons */

.open-xmpro-ai {
  cursor: pointer;
}
