/* ============================================================
   BookEventz AI Chatbot – Base legacy styles (preserved)
   ============================================================ */
.chatbot-container {
  display: flex;
  flex-direction: column;
  width: 385px;
  height: 590px;
  background: #1a0a2e;
  border-radius: 24px;
  position: fixed;
  border: 1px solid rgba(255,255,255,0.08);
  bottom: 16px;
  right: 16px;
  z-index: 1000;
  box-shadow: 0 24px 64px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.04);
  overflow: hidden;
}
#top-bots-section {
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
#dont_show {
  display: none;
}
#ops {
  padding: 16px 0 16px 40px;
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 16px;
  align-items: center;
}
#doa9 {
  padding-right: 30px;
  font-size: 41px;
  cursor: pointer;
}
#top-bots-section img {
  height: 40px;
  width: 40px;
}
#top-bots-section span {
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  font-family: "Metropolis", sans-serif;
}
#message_wrapper {
  flex: 1;
  background: #f4f5f9;
  overflow-y: auto;
  padding: 16px 14px 12px;
  scroll-behavior: smooth;
  width: 100%;
}
.message {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 16px 16px 0;
  gap: 16px;
}
#buio_wrapper {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 16px;
  opacity: 0;
  animation: fadeIn 1s both;
}
@-webkit-keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#bot_icon img {
  height: 22px;
  width: 22px;
  object-fit: cover;
  border-radius: 100%;
}
#bot_response {
  color: #333;
  background: #fff;
  padding: 8px;
  border-radius: 8px;
  line-height: 18px;
  font-family: "Metropolis", sans-serif;
  font-weight: 400;
  font-size: 14px;
}
.buttons {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  opacity: 0;
  animation: myButtonsAnimation 1s both;
}
.buttons button {
  flex: 0 0 48%;
  height: 40px;
  border-radius: 30px;
  border: none;
  background: #4a266e;
  color: #fff;
  cursor: pointer;
  font-size: 12px;
  font-family: "Metropolis", sans-serif;
  font-weight: 500;
}
@-webkit-keyframes myButtonsAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes myButtonsAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#trying {
  width: 100%;
  display: flex;
  flex-direction: row;
  background: #fff;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  justify-content: center;
  align-items: center;
  padding: 12px 14px 16px;
  flex-shrink: 0;
  /* REMOVED position: absolute — that was causing messages to be hidden */
}
#input_one {
  display: flex;
  width: 85%;
  gap: 10px;
  border: 1px solid #f04e58;
  border-radius: 5px;
  justify-content: space-between;
  position: relative;
}
#input_one ul,
#input_empty ul {
  position: absolute;
  height: 200px;
  overflow: auto;
  background: #fff;
  width: 100%;
  top: -203px;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  padding: 16px;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#area_name {
  font-size: 14px;
  font-weight: 500;
  font-family: "Metropolis", sans-serif;
  cursor: pointer;
}
#input_one input {
  padding: 16px;
  width: 60%;
  border: none;
  background: #fff;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  border-radius: inherit;
  font-family: "Metropolis", sans-serif;
  outline: none;
}
#input_one button {
  width: 90px;
  padding: 16px;
  background: none;
  border: none;
  color: #f04e58;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Metropolis", sans-serif;
}
#input_empty {
  display: flex;
  width: 85%;
  gap: 10px;
  border: 1px solid red;
  border-radius: 5px;
  animation: vibrate 0.3s ease;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
#input_empty img {
  height: 30px;
  width: 30px;
  border-radius: 100%;
  padding-right: 10px;
  cursor: not-allowed;
}
@keyframes vibrate {
  0% {
    transform: translateX(0);
  }
  20% {
    transform: translateX(-2px) rotate(1deg);
  }
  40% {
    transform: translateX(2px) rotate(-1deg);
  }
  60% {
    transform: translateX(-2px) rotate(1deg);
  }
  80% {
    transform: translateX(2px) rotate(-1deg);
  }
  100% {
    transform: translateX(0);
  }
}
#input_empty input {
  padding: 16px;
  width: 60%;
  border: none;
  background: #fff;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  border-radius: inherit;
  font-family: "Metropolis", sans-serif;
  outline: none;
}
#input_empty button {
  width: 90px;
  padding: 16px;
  background: none;
  border: none;
  color: red;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: "Metropolis", sans-serif;
}
.example-custom-input {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  border-radius: 5px;
  border: none;
  background: #fff;
  color: #333;
  cursor: pointer;
  font-size: 14px;
  font-family: "Metropolis", sans-serif;
  font-weight: 500;
  height: 40px;
  gap: 5px;
  width: 130px;
}
#final_venue {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
#message_wrapper::-webkit-scrollbar {
  width: 5px;
}
#message_wrapper::-webkit-scrollbar-track {
  background: transparent;
}
#message_wrapper::-webkit-scrollbar-thumb {
  background: rgba(74, 38, 110, 0.2);
  border-radius: 4px;
}
#pick_date {
  width: 100%;
  display: flex;
  justify-content: center;
  opacity: 0;
  animation: dateAnimation 1s both;
}
@-webkit-keyframes dateAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
@keyframes dateAnimation {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#loader_198 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  flex-direction: column-reverse;
  gap: 16px;
  background: #00000052;
  box-shadow: 0 8px 32px 0 #1f26875e;
  backdrop-filter: blur(4px);
  border: 1px solid #ffffff2e;
  height: 100%;
  color: #fff;
}
.loader4 {
  width: 30px;
  height: 30px;
  display: inline-block;
  padding: 0;
  border-radius: 100%;
  border: 5px solid;
  animation: loader4 1s ease-in-out infinite;
  border-color: #f04e58 #4a266e #4a266e #f04e58;
}
@keyframes loader4 {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes loader4 {
  from {
    -webkit-transform: rotate(0deg);
  }
  to {
    -webkit-transform: rotate(360deg);
  }
}
#buio_wrapper_user {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  flex-direction: row-reverse;
  gap: 16px;
}
#buio_wrapper_user #bot_icon {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  height: 25px;
  width: 25px;
}
#buio_wrapper_user #bot_response {
  background: #4a266e;
  color: #fff;
}
.ty87 {
  z-index: 1 !important;
}
.ty87 input,
.ty87 button {
  cursor: not-allowed !important;
}
.ty87 #input_one {
  opacity: 0.5 !important;
}
.loader32 {
  width: 60px;
  aspect-ratio: 2;
  --_g: no-repeat radial-gradient(circle closest-side, #000 90%, #0000);
  background:
    var(--_g) 0 50%,
    var(--_g) 50% 50%,
    var(--_g) 100% 50%;
  background-size: calc(100% / 3) 50%;
  animation: l3 1s infinite linear;
}
@keyframes l3 {
  20% {
    background-position:
      0 0%,
      50% 50%,
      100% 50%;
  }
  40% {
    background-position:
      0 100%,
      50% 0%,
      100% 50%;
  }
  60% {
    background-position:
      0 50%,
      50% 100%,
      100% 0;
  }
  80% {
    background-position:
      0 50%,
      50% 50%,
      100% 100%;
  }
}
#chat-icon-section {
  position: fixed !important;
  bottom: 20px !important;
  right: 20px !important;
  cursor: pointer !important;
  z-index: 1000 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
@media only screen and (max-width: 768px) {
  #chat-icon-section.venue-product-chat-icon,
  .venue-product-chat-icon#chat-icon-section {
    bottom: 70px !important;
    right: 15px !important;
  }
}
._3curk {
  border-radius: 46px !important;
}
#end_button {
  width: 130px;
  display: flex;
  align-self: center;
  justify-content: center;
  height: 40px;
  align-items: center;
  background: #4a266e;
  border: none;
  font-size: 14px;
  font-weight: 500;
  font-family: "Metropolis", sans-serif;
  border-radius: 5px;
  cursor: pointer;
  color: #fff;
}
#c097 {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
#choose-vendors {
  width: 200px;
  height: 100%;
  border: none;
}
#category_options {
  height: 100%;
  width: 100%;
  border: none;
  outline: none;
  font-family: "Metropolis", sans-serif;
  cursor: pointer;
}
._1hglr,
._NWZcI,
._38Og6,
._3KAu7 {
  font-size: 1.3rem !important;
}
#event_id_check {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #00000052;
  box-shadow: 0 8px 32px 0 #1f26875e;
  backdrop-filter: blur(4px);
  z-index: 9;
  border-radius: inherit;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
#event_id_check img {
  height: 30px;
  width: 30px;
}
#event_id_check_new {
  background: #fff;
  display: flex;
  flex-direction: column;
  height: 150px;
  width: 80%;
  border-radius: 10px;
  justify-content: center;
  align-items: center;
  gap: 5px;
  position: relative;
}
#event_id_check_new span {
  font-family: "Metropolis", sans-serif;
  font-size: 14px;
  font-weight: 700;
}
.loaderr43 {
  width: 500px;
  height: 54px;
  position: relative;
  display: flex;
  align-items: center !important;
  justify-content: center;
}
#onki-body {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff40;
  box-shadow: 0 8px 32px 0 #1f26875e;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  border: 1px solid #ffffff2e;
  bottom: 0;
  z-index: 99999;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
}
.loader-text {
  position: absolute;
  top: 0;
  padding: 0;
  margin: 0;
  color: #333;
  animation: text_713 3.5s ease both infinite;
  font-size: 1.6rem;
  letter-spacing: 1px;
  font-family: "Metropolis", sans-serif;
  font-weight: 600;
}
.load {
  background-color: #f04e58;
  border-radius: 50px;
  display: block;
  height: 10px;
  bottom: 0;
  position: absolute;
  transform: translateX(64px);
  animation: loading_713 3.5s ease both infinite;
  width: 100px !important;
}
.load::before {
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  background-color: #4a266e;
  border-radius: inherit;
  animation: loading2_713 3.5s ease both infinite;
}
@keyframes text_713 {
  0% {
    letter-spacing: 1px;
    transform: translateX(0px);
  }
  40% {
    letter-spacing: 2px;
    transform: translateX(26px);
  }
  80% {
    letter-spacing: 1px;
    transform: translateX(32px);
  }
  90% {
    letter-spacing: 2px;
    transform: translateX(0px);
  }
  100% {
    letter-spacing: 1px;
    transform: translateX(0px);
  }
}
@keyframes loading_713 {
  0% {
    width: 16px;
    transform: translateX(0px);
  }
  40% {
    width: 100%;
    transform: translateX(0px);
  }
  80% {
    width: 16px;
    transform: translateX(64px);
  }
  90% {
    width: 100%;
    transform: translateX(0px);
  }
  100% {
    width: 16px;
    transform: translateX(0px);
  }
}
@keyframes loading2_713 {
  0% {
    transform: translateX(0px);
    width: 16px;
  }
  40% {
    transform: translateX(0%);
    width: 80%;
  }
  80% {
    width: 100%;
    transform: translateX(0px);
  }
  90% {
    width: 80%;
    transform: translateX(15px);
  }
  100% {
    transform: translateX(0px);
    width: 16px;
  }
}
@media only screen and (max-width: 768px) {
  .chatbot-container {
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    margin: 0 !important;
    bottom: 0 !important;
    border-bottom-left-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
  }
  #trying {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .product_bot {
    bottom: 80px !important;
    right: 4px !important;
  }
}
.bgLayer,
.bgSpinner {
  z-index: 9999 !important;
}
.contact-enquiry-main .contact-form-top {
  width: 100%;
}

/* ==========================================================================
   BookEventz AI Assistant — Modern AI Chat Theme
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ─── 1. Floating Trigger Button ─────────────────────────────────────────── */
.ai-chat-bubble-trigger {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: linear-gradient(145deg, #6c3fc5 0%, #9b59f5 50%, #c084fc 100%);
  border-radius: 50%;
  box-shadow:
    0 10px 25px rgba(108, 63, 197, 0.5),
    0 0 0 4px rgba(108, 63, 197, 0.15);
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  animation: float-trigger 3s ease-in-out infinite;
}

.ai-chat-bubble-trigger img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

@keyframes float-trigger {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

.ai-chat-bubble-trigger:hover {
  transform: scale(1.1) translateY(-4px);
  box-shadow:
    0 14px 36px rgba(108, 63, 197, 0.7),
    0 0 0 6px rgba(108, 63, 197, 0.2);
}

.ai-trigger-badge {
  position: absolute;
  top: 0px;
  right: 0px;
  background: linear-gradient(135deg, #f04e58, #ff6b6b);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 6px;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(240, 78, 88, 0.5);
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

/* ─── 2. Chatbot Container ───────────────────────────────────────────────── */
.chatbot-container.ai-chatbot-theme {
  background: #0f0718;
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.6),
    0 0 0 1px rgba(255, 255, 255, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  border: none;
  border-radius: 24px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  width: 600px;
  max-width: calc(100vw - 32px);
  height: 700px;
  max-height: calc(100vh - 32px);
}

/* ─── 3. Header ──────────────────────────────────────────────────────────── */
.ai-chat-header {
  padding: 14px 18px;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1052 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  flex-shrink: 0;
  backdrop-filter: blur(12px);
}

.ai-chat-header #ops {
  padding: 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 !important;
}

.ai-chat-header #ops img {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(108, 63, 197, 0.4) !important;
  background: rgba(108, 63, 197, 0.15) !important;
  padding: 4px !important;
  object-fit: contain !important;
}

.ai-chat-header #ops span {
  font-family: 'Inter', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #fff !important;
  display: block !important;
  letter-spacing: 0.1px !important;
  margin: 0 !important;
}

.ai-online-status {
  font-size: 10.5px !important;
  color: #86efac !important;
  margin: 2px 0 0 0 !important;
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-weight: 500 !important;
  font-family: 'Inter', sans-serif !important;
}

.pulse-dot {
  width: 6px;
  height: 6px;
  background: #4ade80;
  border-radius: 50%;
  display: inline-block;
  animation: pulse-ring 2s infinite;
  box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7);
}

@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(74, 222, 128, 0); }
}

.ai-header-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ai-reset-control {
  color: rgba(255, 255, 255, 0.4);
  font-size: 17px;
  cursor: pointer;
  transition: color 0.2s, transform 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
}

.ai-reset-control:hover {
  color: #fff;
  transform: rotate(180deg);
  background: rgba(255,255,255,0.1);
}

.ai-chat-header #doa9 {
  color: rgba(255, 255, 255, 0.4) !important;
  font-size: 22px !important;
  font-weight: 300 !important;
  cursor: pointer !important;
  padding: 0 !important;
  padding-right: 0 !important;
  margin-top: 0 !important;
  transition: color 0.2s, background 0.2s !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: rgba(255,255,255,0.04) !important;
  line-height: 1 !important;
}

.ai-chat-header #doa9:hover {
  color: #fff !important;
  background: rgba(255,255,255,0.1) !important;
}

/* ─── 4. Messages Area ───────────────────────────────────────────────────── */
.ai-chatbot-theme #message_wrapper,
.ai-messages-wrapper {
  flex: 1 1 auto !important;
  background: #f6f7fb !important;
  padding: 20px 18px 14px !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  box-sizing: border-box !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 0 !important;
  scroll-behavior: smooth !important;
}

.ai-messages-wrapper::-webkit-scrollbar {
  width: 4px;
}

.ai-messages-wrapper::-webkit-scrollbar-track {
  background: transparent;
}

.ai-messages-wrapper::-webkit-scrollbar-thumb {
  background: rgba(108, 63, 197, 0.25);
  border-radius: 4px;
}

.ai-messages-wrapper::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 63, 197, 0.45);
}

/* ─── 5. Message Cell ────────────────────────────────────────────────────── */
.ai-message-cell {
  display: flex;
  gap: 10px;
  max-width: 88%;
  box-sizing: border-box;
  animation: msg-appear 0.28s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes msg-appear {
  from { transform: translateY(10px) scale(0.97); opacity: 0; }
  to { transform: translateY(0) scale(1); opacity: 1; }
}

.ai-message-cell.user-cell {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.ai-message-cell.assistant-cell {
  align-self: flex-start;
}

.ai-bubble-avatar {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1.5px solid rgba(108, 63, 197, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.ai-bubble-avatar img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.ai-bubble-body {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.ai-bubble-text {
  padding: 12px 16px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  border-radius: 18px;
  display: block;
  white-space: pre-wrap;
  word-break: break-word;
  overflow-wrap: anywhere;
  box-sizing: border-box;
  max-width: 100%;
}

.user-cell .ai-bubble-text {
  background: linear-gradient(135deg, #6c3fc5 0%, #8b5cf6 100%);
  color: #fff;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 16px rgba(108, 63, 197, 0.3);
}

.assistant-cell .ai-bubble-text {
  background: #fff;
  color: #1e1e2e;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
}

/* ─── 6. Inline drawer CTA inside assistant messages ─────────────────────── */
.ai-inline-drawer-btn {
  background: linear-gradient(135deg, rgba(108,63,197,0.08), rgba(139,92,246,0.12));
  border: 1px solid rgba(108, 63, 197, 0.25);
  color: #6c3fc5;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-self: flex-start;
  transition: all 0.22s;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.1px;
}

.ai-inline-drawer-btn:hover {
  background: linear-gradient(135deg, #6c3fc5, #8b5cf6);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.3);
}

/* ─── 7. Typing indicator ────────────────────────────────────────────────── */
.ai-typing-dots {
  display: inline-flex;
  gap: 5px;
  padding: 12px 16px;
  background: #fff;
  border-radius: 18px;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.06);
  align-items: center;
}

.ai-typing-dots span {
  width: 6px;
  height: 6px;
  background: #8b5cf6;
  border-radius: 50%;
  opacity: 0.6;
  animation: typing-bounce 1.4s infinite ease-in-out both;
}

.ai-typing-dots span:nth-child(1) { animation-delay: -0.32s; }
.ai-typing-dots span:nth-child(2) { animation-delay: -0.16s; }

@keyframes typing-bounce {
  0%, 80%, 100% { transform: scale(0.5); opacity: 0.4; }
  40% { transform: scale(1.1); opacity: 1; }
}

/* ─── 8. CTA Cards ───────────────────────────────────────────────────────── */
.ai-cta-card {
  background: #fff;
  border: 1px solid rgba(108, 63, 197, 0.15);
  border-left: 3px solid #6c3fc5;
  border-radius: 14px;
  padding: 14px;
  margin: 4px 0;
  box-shadow: 0 4px 16px rgba(108, 63, 197, 0.06);
  animation: msg-appear 0.3s ease-out;
}

.ai-cta-card p {
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 12px;
}

.ai-cta-btn {
  background: linear-gradient(135deg, #f04e58 0%, #ff6b6b 100%);
  color: #fff;
  border: none;
  padding: 9px 18px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  width: 100%;
  text-align: center;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(240, 78, 88, 0.3);
}

.ai-cta-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(240, 78, 88, 0.4);
}

.ai-success-card {
  border-color: rgba(74, 222, 128, 0.3);
  border-left-color: #4ade80;
  background: linear-gradient(135deg, #f0fdf4, #fff);
}

.ai-success-card p {
  color: #15803d;
  margin: 0;
  font-weight: 500;
}

/* ─── 9. Lead Capture Form ───────────────────────────────────────────────── */
.ai-lead-form-overlay {
  position: absolute;
  top: 66px;
  left: 0;
  width: 100%;
  height: calc(100% - 66px);
  background: rgba(246, 247, 251, 0.96);
  backdrop-filter: blur(8px);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: fadeIn 0.2s both;
}

.ai-lead-form {
  background: #fff;
  border: 1px solid rgba(108, 63, 197, 0.1);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
  padding: 22px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-lead-form h4 {
  font-family: 'Inter', sans-serif;
  color: #1e1e2e;
  font-size: 15px;
  margin: 0 0 2px;
  font-weight: 700;
  text-align: center;
}

.ai-form-error {
  color: #f04e58;
  font-size: 11px;
  margin: 0;
  text-align: center;
  font-family: 'Inter', sans-serif;
}

.ai-lead-form input {
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
  color: #1e1e2e;
  transition: border-color 0.2s;
}

.ai-lead-form input:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.ai-lead-form textarea.ai-lead-form-textarea {
  padding: 10px 14px;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  outline: none;
  color: #1e1e2e;
  transition: border-color 0.2s;
  resize: vertical;
  min-height: 60px;
  box-sizing: border-box;
}

.ai-lead-form textarea.ai-lead-form-textarea:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1);
}

.ai-form-actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.ai-cancel-btn {
  flex: 1;
  background: #f1f5f9;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  color: #64748b;
  font-family: 'Inter', sans-serif;
  transition: background 0.2s;
}

.ai-cancel-btn:hover {
  background: #e2e8f0;
}

.ai-submit-btn {
  flex: 2;
  background: linear-gradient(135deg, #6c3fc5, #8b5cf6);
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.3);
  transition: all 0.2s;
}

.ai-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(108, 63, 197, 0.4);
}

/* ─── 10. Footer / Input Bar ─────────────────────────────────────────────── */
.ai-chat-footer-wrapper {
  background: linear-gradient(to bottom, #f8fafc, #ffffff);
  padding: 10px 14px 14px;
  width: 100%;
  border-bottom-left-radius: 24px;
  border-bottom-right-radius: 24px;
  border-top: 1px solid rgba(108, 63, 197, 0.08);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* ── Quick-reply chips ── */
.ai-quick-chips {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding: 0 2px;
}

.ai-quick-chip {
  background: rgba(108, 63, 197, 0.06);
  border: 1px solid rgba(108, 63, 197, 0.2);
  color: #6c3fc5;
  padding: 5px 11px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 500;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
  letter-spacing: 0.1px;
}

.ai-quick-chip:hover {
  background: rgba(108, 63, 197, 0.14);
  border-color: #6c3fc5;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.15);
}

.ai-quick-chip:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  transform: none;
}

/* ── Main Input Bar ── */
.ai-input-bar {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 28px;
  border: 1.5px solid transparent;
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, rgba(108, 63, 197, 0.15) 0%, rgba(139, 92, 246, 0.15) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  padding: 6px 6px 6px 18px;
  gap: 12px;
  min-height: 52px;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 20px rgba(108, 63, 197, 0.04), 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
}

.ai-input-bar:focus-within {
  background-image: linear-gradient(#ffffff, #ffffff), linear-gradient(135deg, #6c3fc5 0%, #8b5cf6 100%);
  box-shadow:
    0 0 0 4px rgba(108, 63, 197, 0.08),
    0 8px 24px rgba(108, 63, 197, 0.14);
}

/* Sparkle icon left */
.ai-input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(108, 63, 197, 0.07);
  flex-shrink: 0;
  transition: background 0.2s;
}

.ai-input-bar:focus-within .ai-input-icon {
  background: rgba(108, 63, 197, 0.14);
}

/* Input field */
.ai-input-field,
.ai-input-bar input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: 'Inter', sans-serif;
  font-size: 14.5px;
  color: #0f172a;
  padding: 8px 0;
  min-width: 0;
  letter-spacing: 0.1px;
}

.ai-input-field::placeholder,
.ai-input-bar input::placeholder {
  color: #94a3b8;
  font-size: 14px;
}

/* Send button */
.ai-send-btn,
.ai-input-bar button {
  background: linear-gradient(135deg, #6c3fc5 0%, #8b5cf6 100%);
  color: #fff;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.25);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.ai-send-btn::before,
.ai-input-bar button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, transparent 60%);
  border-radius: inherit;
}

.ai-send-btn:not(:disabled):hover,
.ai-input-bar button:not(:disabled):hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 8px 22px rgba(108, 63, 197, 0.45);
  border-radius: 16px;
}

.ai-send-btn:not(:disabled):active,
.ai-input-bar button:not(:disabled):active {
  transform: scale(0.96);
  box-shadow: 0 2px 8px rgba(108, 63, 197, 0.3);
}

.ai-send-btn:disabled,
.ai-input-bar button:disabled {
  background: linear-gradient(135deg, #c7d2df, #d4dbe7);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* Spinner inside send button while AI is typing */
.ai-send-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255,255,255,0.35);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: spin-send 0.75s linear infinite;
  display: block;
}

@keyframes spin-send {
  to { transform: rotate(360deg); }
}

/* ── Footer meta row ── */
.ai-footer-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2px;
}

.ai-footer-hint {
  display: flex;
  align-items: center;
  font-size: 10.5px;
  color: #94a3b8;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.3px;
  gap: 3px;
}

.ai-footer-shortcut {
  font-size: 10px;
  color: #b0bec5;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

.ai-footer-shortcut kbd {
  background: #f1f5f9;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 1px 5px;
  font-size: 9.5px;
  font-family: 'Inter', sans-serif;
  color: #64748b;
  margin-right: 2px;
  box-shadow: 0 1px 0 #d1d9e0;
  font-weight: 500;
}



/* ─── 11. Recommended Venues Drawer ──────────────────────────────────────── */
.ai-venues-drawer {
  position: fixed;
  right: 565px;
  bottom: 16px;
  width: 430px;
  max-width: calc(100vw - 32px);
  height: 700px;
  max-height: calc(100vh - 32px);
  background: #fff;
  border-radius: 22px;
  box-shadow:
    -12px 0 40px rgba(0,0,0,0.12),
    0 24px 60px rgba(0,0,0,0.15);
  border: 1px solid rgba(0,0,0,0.06);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ai-drawer-header {
  padding: 16px 18px;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1052 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.ai-drawer-header h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.1px;
}

.ai-drawer-close {
  font-size: 22px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.ai-drawer-close:hover {
  background: rgba(255,255,255,0.2);
}

.ai-drawer-body {
  flex: 1;
  padding: 14px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f6f7fb;
  min-height: 0;
}

.ai-drawer-body::-webkit-scrollbar {
  width: 4px;
}

.ai-drawer-body::-webkit-scrollbar-thumb {
  background: rgba(108, 63, 197, 0.2);
  border-radius: 4px;
}

/* Venue card */
.ai-venue-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.22s, box-shadow 0.22s;
}

.ai-venue-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.12);
}

.ai-match-score-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  z-index: 10;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
}

.ai-match-score-badge.match-high { background: linear-gradient(135deg, #4ade80, #22c55e); }
.ai-match-score-badge.match-med  { background: linear-gradient(135deg, #fb923c, #f97316); }
.ai-match-score-badge.match-low  { background: linear-gradient(135deg, #f87171, #ef4444); }

.ai-venue-img-wrap {
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: #e2e8f0;
}

.ai-venue-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ai-venue-card:hover .ai-venue-img-wrap img {
  transform: scale(1.04);
}

.ai-venue-details {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ai-venue-details h5 {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e1e2e;
  margin: 0;
  line-height: 1.3;
}

.ai-venue-location {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  font-family: 'Inter', sans-serif;
}

.ai-venue-specs {
  display: flex;
  flex-direction: column;
  gap: 3px;
  font-size: 11px;
  color: #475569;
  background: #f8fafc;
  padding: 7px 10px;
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
}

.ai-venue-rating {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-family: 'Inter', sans-serif;
}

.ai-stars {
  font-weight: 700;
  color: #f59e0b;
}

.ai-reviews {
  color: #94a3b8;
}

.ai-venue-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 4px;
  border-top: 1px solid #f1f5f9;
  padding-top: 10px;
}

.ai-compare-checkbox {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #475569;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.ai-compare-checkbox input {
  cursor: pointer;
  accent-color: #6c3fc5;
}

.ai-card-details-link {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  color: #6c3fc5;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s;
}

.ai-card-details-link:hover {
  color: #8b5cf6;
  text-decoration: underline !important;
}

/* Drawer Footer */
.ai-drawer-footer {
  padding: 12px 14px 16px;
  background: #fff;
  border-top: 1px solid #f1f5f9;
  flex-shrink: 0;
}

.ai-compare-action-btn {
  background: linear-gradient(135deg, #f04e58, #ff6b6b);
  color: #fff;
  border: none;
  width: 100%;
  padding: 11px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
  box-shadow: 0 4px 12px rgba(240, 78, 88, 0.3);
}

.ai-compare-action-btn:hover:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(240, 78, 88, 0.4);
}

.ai-compare-action-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

/* ─── 12. Comparison Modal ───────────────────────────────────────────────── */
.ai-compare-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 5, 20, 0.7);
  backdrop-filter: blur(6px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
}

.ai-compare-modal-content {
  background: #fff;
  width: 90%;
  max-width: 900px;
  max-height: 85vh;
  border-radius: 22px;
  box-shadow: 0 32px 80px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: scaleUp 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes scaleUp {
  from { transform: scale(0.88); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.ai-compare-header {
  padding: 18px 22px;
  background: linear-gradient(135deg, #1a0a2e 0%, #2d1052 100%);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.ai-compare-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  margin: 0;
}

.ai-compare-close {
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: background 0.2s;
}

.ai-compare-close:hover {
  background: rgba(255,255,255,0.2);
}

.ai-compare-table-wrapper {
  overflow: auto;
  flex: 1;
  padding: 16px 22px;
}

.ai-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
}

.ai-compare-table th,
.ai-compare-table td {
  padding: 12px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-align: left;
  vertical-align: top;
}

.ai-compare-table thead th {
  background: #f8fafc;
}

.ai-th-venue-header {
  width: 200px;
  text-align: center !important;
}

.ai-th-venue-header img {
  width: 100%;
  height: 88px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.ai-th-venue-header span {
  display: block;
  font-weight: 700;
  font-size: 12px;
  color: #1e1e2e;
}

.ai-feature-title {
  font-weight: 600;
  color: #64748b;
  background: #f8fafc;
  width: 150px;
  font-size: 11.5px;
}

.ai-metric-val {
  color: #334155;
  vertical-align: top;
}

.ai-match-label {
  padding: 3px 9px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
  font-family: 'Inter', sans-serif;
}

.ai-match-label.green { background: linear-gradient(135deg, #4ade80, #22c55e); }
.ai-match-label.orange { background: linear-gradient(135deg, #fb923c, #f97316); }

.ai-usp-tags {
  padding-left: 14px;
  margin: 0;
}

.ai-usp-tags li {
  list-style-type: none;
  margin-bottom: 4px;
  font-size: 11.5px;
}

.ai-tag-pill {
  display: inline-block;
  background: #f1f5f9;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 10.5px;
  color: #475569;
  margin: 2px;
  font-family: 'Inter', sans-serif;
}

.font-bold {
  font-weight: 700;
}

/* ─── 13. Animations ─────────────────────────────────────────────────────── */
.animate-slide-in-right {
  animation: slideInRight 0.32s cubic-bezier(0.165, 0.84, 0.44, 1) both;
}

@keyframes slideInRight {
  from { transform: translateX(50px); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.3s ease both;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ─── 14. Mobile responsive ──────────────────────────────────────────────── */
@media only screen and (max-width: 768px) {
  .chatbot-container,
  .chatbot-container.ai-chatbot-theme {
    width: 100% !important;
    max-width: 100% !important;
    right: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    border-radius: 20px 20px 0 0 !important;
    height: 90dvh !important;
    max-height: 90dvh !important;
  }

  .ai-chat-footer-wrapper {
    border-radius: 0;
  }

  .ai-venues-drawer {
    right: 0 !important;
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    bottom: 0 !important;
    height: 85dvh !important;
    max-height: 85dvh !important;
    border-radius: 20px 20px 0 0 !important;
    animation: slideInUp 0.3s ease both;
  }

  @keyframes slideInUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .ai-compare-modal-backdrop {
    padding: 8px;
    align-items: flex-end;
  }

  .ai-compare-modal-content {
    width: 100%;
    max-height: 92dvh;
    border-radius: 20px 20px 0 0;
  }

  .product_bot {
    bottom: 80px !important;
    right: 4px !important;
  }
}

/* ─── 16. Inline Venue Cards in Chat ─────────────────────────────────────── */

/* Container for all cards under a message */
.ai-inline-venues {
  margin-top: 10px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ai-venues-header {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  color: #6c3fc5;
}

/* Horizontal scrollable row of cards */
.ai-venues-scroll {
  display: flex;
  flex-direction: row;
  overflow-x: auto;
  gap: 14px;
  padding: 4px 4px 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  width: 100%;
  box-sizing: border-box;
}

.ai-venues-scroll::-webkit-scrollbar {
  height: 6px;
}
.ai-venues-scroll::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.02);
  border-radius: 10px;
}
.ai-venues-scroll::-webkit-scrollbar-thumb {
  background: rgba(108, 63, 197, 0.2);
  border-radius: 10px;
}
.ai-venues-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(108, 63, 197, 0.4);
}

/* Loading state */
.ai-venues-loading {
  display: flex;
  align-items: center;
  padding: 8px 0;
}

/* ── Individual venue card ── */
.ai-venue-inline-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(0,0,0,0.08);
  border: 1px solid rgba(0,0,0,0.04);
  transition: transform 0.22s, box-shadow 0.22s;
  animation: msg-appear 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) both;
  flex: 0 0 310px;
  max-width: calc(100% - 8px);
  box-sizing: border-box;
  scroll-snap-align: start;
}

.ai-venue-inline-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

/* Real Event Image Overlay Card */
.ai-real-event-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.ai-real-event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(108, 63, 197, 0.25) !important;
}
.ai-real-event-card:hover .ai-rec-bg-img {
  transform: scale(1.08) !important;
}
.ai-real-event-card:hover .ai-rec-title {
  color: #d8b4fe !important;
  -webkit-text-fill-color: #d8b4fe !important;
  text-shadow: 0 0 10px rgba(192, 132, 252, 0.8), 0 2px 4px rgba(0, 0, 0, 0.9) !important;
}
.ai-real-event-card.is-corporate:hover .ai-rec-title {
  color: #7dd3fc !important;
  -webkit-text-fill-color: #7dd3fc !important;
  text-shadow: 0 0 10px rgba(56, 189, 248, 0.8), 0 2px 4px rgba(0, 0, 0, 0.9) !important;
}

/* Image */
.ai-vic-img-wrap {
  position: relative;
  width: 100%;
  height: 130px;
  overflow: hidden;
  background: #e2e8f0;
}

.ai-vic-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.ai-venue-inline-card:hover .ai-vic-img-wrap img {
  transform: scale(1.05);
}

/* Match score badge */
.ai-vic-score {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.25);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.2px;
  z-index: 2;
}

.ai-vic-score.match-high { background: linear-gradient(135deg, #4ade80, #22c55e); }
.ai-vic-score.match-med  { background: linear-gradient(135deg, #fb923c, #f97316); }
.ai-vic-score.match-low  { background: linear-gradient(135deg, #f87171, #ef4444); }

/* Flagship badge */
.ai-vic-flagship {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 9.5px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
}

/* Card body */
.ai-vic-body {
  padding: 11px 13px 13px;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.ai-vic-name {
  font-family: 'Inter', sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  color: #1e1e2e;
  margin: 0;
  line-height: 1.3;
}

.ai-vic-location {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
}

/* Specs chips */
.ai-vic-specs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.ai-vic-chip {
  display: inline-flex;
  align-items: center;
  background: #f1f5f9;
  color: #475569;
  font-size: 10.5px;
  padding: 3px 9px;
  border-radius: 20px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
}

/* Rating */
.ai-vic-rating {
  display: flex;
  align-items: center;
  gap: 2px;
}

.ai-vic-rating-text {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #1e1e2e;
  margin-left: 4px;
}

.ai-vic-reviews {
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: #94a3b8;
  margin-left: 3px;
}

/* Tags */
.ai-vic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.ai-vic-tag {
  background: rgba(108, 63, 197, 0.07);
  color: #6c3fc5;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 500;
  border: 1px solid rgba(108, 63, 197, 0.15);
}

/* Actions row */
.ai-vic-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
  border-top: 1px solid #f1f5f9;
  padding-top: 12px;
  width: 100%;
  box-sizing: border-box;
}

/* Primary Prominent Contact Button */
.ai-vic-contact-btn {
  background: linear-gradient(135deg, #6c3fc5 0%, #9b59f5 100%);
  color: #fff !important;
  border: none;
  padding: 8.5px 14px;
  border-radius: 10px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 14px rgba(108, 63, 197, 0.35);
  flex: 1.35;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none !important;
  letter-spacing: 0.2px;
}

.ai-vic-contact-btn:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, #5b32a8 0%, #8b48e3 100%);
  box-shadow: 0 6px 18px rgba(108, 63, 197, 0.5);
  color: #fff !important;
}

/* Secondary Subdued View Details Button */
.ai-vic-details-btn {
  background: rgba(108, 63, 197, 0.08);
  color: #6c3fc5 !important;
  border: none !important;
  outline: none !important;
  padding: 8.5px 12px;
  border-radius: 10px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s ease;
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none !important;
  box-shadow: none !important;
}

.ai-vic-details-btn:hover {
  background: rgba(108, 63, 197, 0.15);
  color: #5b32a8 !important;
  border: none !important;
  outline: none !important;
  transform: translateY(-1px);
}

.ai-vic-profile-link {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #6c3fc5;
  font-weight: 600;
  text-decoration: none !important;
  transition: color 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.ai-vic-profile-link:hover {
  color: #8b5cf6;
  text-decoration: underline !important;
}

/* ─── 17. Venue Detail Modal ─────────────────────────────────────────────── */
.ai-vdm-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10, 5, 20, 0.65);
  backdrop-filter: blur(6px);
  z-index: 100001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease both;
}

.ai-vdm-panel {
  background: #fff;
  width: 100%;
  max-width: 420px;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,0.4);
  animation: scaleUp 0.3s cubic-bezier(0.165, 0.84, 0.44, 1) both;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
}

.ai-vdm-img-wrap {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #e2e8f0;
  flex-shrink: 0;
}

.ai-vdm-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ai-vdm-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  color: #fff;
  border: none;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  transition: background 0.2s;
  z-index: 5;
}

.ai-vdm-close:hover {
  background: rgba(0,0,0,0.7);
}

.ai-vdm-body {
  padding: 18px 20px 22px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ai-vdm-name {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e1e2e;
  margin: 0;
  line-height: 1.3;
}

.ai-vdm-location {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #64748b;
  margin: 0;
}

.ai-vdm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.ai-vdm-stat {
  background: #f8fafc;
  border-radius: 12px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  border: 1px solid #f1f5f9;
}

.ai-vdm-stat-label {
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-vdm-stat-val {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #1e1e2e;
}

.ai-vdm-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ai-vdm-section-title {
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}

.ai-vdm-usp-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.ai-vdm-usp-list li {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  color: #475569;
  padding: 4px 10px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px solid #f1f5f9;
}

.ai-vdm-cta {
  display: block;
  background: linear-gradient(135deg, #6c3fc5, #8b5cf6);
  color: #fff !important;
  text-decoration: none !important;
  text-align: center;
  padding: 12px 20px;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(108, 63, 197, 0.35);
  transition: all 0.2s;
  margin-top: 4px;
}

.ai-vdm-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(108, 63, 197, 0.5);
  color: #fff !important;
}

@media only screen and (max-width: 768px) {
  .ai-vdm-panel {
    max-width: 100%;
    border-radius: 20px 20px 0 0;
    align-self: flex-end;
    max-height: 88vh;
  }
  .ai-vdm-backdrop {
    align-items: flex-end;
    padding: 0;
  }
}

/* ============================================================
   Legacy Chatbot Trigger Button Animations
   ============================================================ */
@keyframes slideInFromLeft {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes floatAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
  100% {
    transform: translateY(0);
  }
}

.chat_bot_text_wrapper {
  animation: slideInFromLeft 1s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.chat_bot_text {
  animation: floatAnimation 3s ease-in-out infinite;
  animation-delay: 1s;
}

@keyframes fadeInOut {
  0% {
    opacity: 0.1;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.15);
  }
  100% {
    opacity: 0.1;
    transform: scale(0.9);
  }
}

.chat_bot_ring {
  animation: fadeInOut 2.5s ease-in-out infinite;
}

/* ─── 18. Multi-Step Lead Form ───────────────────────────────────────────── */
.ai-lead-step-inline-wrapper {
  width: 100%;
  display: block;
  box-sizing: border-box;
}

.ai-lead-step-card {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(108, 63, 197, 0.08), 0 1px 3px rgba(0, 0, 0, 0.02);
  border: 1px solid rgba(108, 63, 197, 0.12);
  border-top: 4px solid #6c3fc5;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: all 0.3s ease;
}

.ai-lsm-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #f1f5f9;
}

.ai-lsm-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e1e2e;
}

.ai-lsm-close {
  background: none;
  border: none;
  font-size: 16px;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
}
.ai-lsm-close:hover {
  color: #475569;
}

.ai-lsm-progress {
  width: 100%;
  height: 4px;
  background: #f1f5f9;
}
.ai-lsm-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #6c3fc5, #8b5cf6);
  transition: width 0.3s ease;
}

.ai-lsm-prefill-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 12px 20px 4px;
}
.ai-lsm-badge {
  background: rgba(108, 63, 197, 0.06);
  color: #6c3fc5;
  border: 1px solid rgba(108, 63, 197, 0.12);
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 12px;
}

.ai-lsm-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 240px;
  justify-content: center;
  box-sizing: border-box;
}

.ai-lsm-step-icon {
  font-size: 40px;
  margin-bottom: 12px;
  animation: floatAnimation 3s ease-in-out infinite;
}

.ai-lsm-step-label {
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #1e1e2e;
  margin-bottom: 4px;
  text-align: center;
}

.ai-lsm-step-hint {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #64748b;
  margin-bottom: 16px;
  text-align: center;
}

.ai-lsm-input {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1e1e2e;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  text-align: center;
}
.ai-lsm-input:focus {
  border-color: #6c3fc5;
  box-shadow: 0 0 0 4px rgba(108, 63, 197, 0.1);
}

.ai-lsm-select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: #1e1e2e;
  outline: none;
  background: #fff;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%236c3fc5' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
  text-align-last: center;
  cursor: pointer;
}
.ai-lsm-select:focus {
  border-color: #6c3fc5;
  box-shadow: 0 0 0 4px rgba(108, 63, 197, 0.1);
}

.ai-lsm-manual-wrap {
  margin-top: 18px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.ai-lsm-manual-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  color: #64748b;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.ai-lsm-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  justify-content: center;
  width: 100%;
}
.ai-lsm-chip {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  color: #475569;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.15s;
}
.ai-lsm-chip:hover {
  background: rgba(108, 63, 197, 0.05);
  border-color: #6c3fc5;
  color: #6c3fc5;
}
.ai-lsm-chip.active {
  background: linear-gradient(135deg, #6c3fc5, #8b5cf6) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.25);
  transform: scale(1.04);
}
.ai-lsm-chip.active:hover {
  opacity: 0.95;
}

.ai-lsm-error {
  width: 100%;
  background: rgba(239, 68, 68, 0.06);
  border: 1px solid rgba(239, 68, 68, 0.15);
  color: #ef4444;
  font-family: 'Inter', sans-serif;
  font-size: 11.5px;
  padding: 8px 12px;
  border-radius: 10px;
  margin-top: 12px;
  text-align: center;
  box-sizing: border-box;
}

.ai-lsm-actions {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-top: 24px;
  box-sizing: border-box;
}

.ai-lsm-back,
.ai-lsm-next,
.ai-lsm-skip,
.ai-lsm-submit {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 11px 18px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  outline: none;
}

.ai-lsm-back {
  background: #f1f5f9;
  color: #475569;
  flex: 1;
}
.ai-lsm-back:hover {
  background: #e2e8f0;
}

.ai-lsm-next,
.ai-lsm-submit {
  background: linear-gradient(135deg, #6c3fc5, #8b5cf6);
  color: #fff;
  flex: 2;
  box-shadow: 0 4px 12px rgba(108, 63, 197, 0.25);
}
.ai-lsm-next:hover,
.ai-lsm-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(108, 63, 197, 0.35);
}
.ai-lsm-next:disabled,
.ai-lsm-submit:disabled {
  opacity: 0.5;
  transform: none;
  cursor: not-allowed;
  box-shadow: none;
}

.ai-lsm-skip {
  background: none;
  border: 1px dashed #cbd5e1;
  color: #64748b;
  flex: 1;
}
.ai-lsm-skip:hover {
  background: #f8fafc;
  border-color: #94a3b8;
  color: #475569;
}

/* Review screen styles */
.ai-lsm-review-title {
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1e1e2e;
  margin-bottom: 16px;
  text-align: left;
  width: 100%;
}
.ai-lsm-review-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #f8fafc;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid #f1f5f9;
  box-sizing: border-box;
}
.ai-lsm-review-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
}
.ai-lsm-review-label {
  color: #64748b;
}
.ai-lsm-review-val {
  color: #1e1e2e;
  font-weight: 600;
}

.ai-lsm-footer {
  padding: 14px 20px;
  background: #f8fafc;
  border-top: 1px solid #f1f5f9;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 10.5px;
  color: #94a3b8;
}

@media only screen and (max-width: 768px) {
  .ai-lead-step-card {
    border-radius: 14px;
  }
}

/* Hide chatbot floating icon and panel when enquiry modal popup is open */
body.modal-open #chat-icon-section,
body.modal-open .chatbot-container,
body.modal-open .ai-detail-drawer,
.modal-open #chat-icon-section,
.modal-open .chatbot-container {
  display: none !important;
  z-index: 999 !important;
}

