#chatbot-widget {
  position: fixed;
  bottom: 10px;
  right: 20px;
  width: 200px;
  font-family: Arial, sans-serif;
  z-index: 9999;
}

.chat-header {
  background: #e60026;
  color: white;
  padding: 10px;
  border-radius: 10px 10px 0 0;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}

.chat-body {
  display: none;
  background: #222;
  color: white;
  border: 1px solid #e60026;
  border-top: none;
  border-radius: 0 0 10px 10px;
  max-height: 300px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;   /* ✅ allows scrolling */
  overscroll-behavior: contain; /* ✅ better behavior on mobile */
  scroll-behavior: smooth;
  touch-action: pan-y;
}


.chat-log {
  flex-grow: 1;
  padding: 10px;
  overflow-y: auto;
  font-size: 0.9rem;
}

.chat-log .bot {
  background: #e60026;
  color: #fff
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 10px;
  margin-bottom: 5px;
  max-width: 90%;
}

.chat-log .user {
  background: #e60026;
  padding: 5px 10px;
  border-radius: 10px;
  margin-bottom: 5px;
  align-self: flex-end;
  max-width: 90%;
  text-align: right;
}

#chat-input {
  padding: 10px;
  border: none;
  border-top: 1px solid #444;
  background: #111;
  color: white;
  width: 100%;
  box-sizing: border-box;
  border-radius: 0 0 10px 10px;
}
.flyer-button {
  margin-top: 6px;
  margin-bottom: 6px;
  padding: 6px 12px;
  background-color: #ff4081;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.flyer-button:hover {
  background-color: #e73370;
}
/* Mini results panel (mobile mic) */
.salsa-mini {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 200000;                 /* above sponsor/testimonial boxes */
  background: #fff;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  box-shadow: 0 -10px 30px rgba(0,0,0,.15);
  padding: 12px 14px;
}
.salsa-mini-header { font-weight: 600; margin-bottom: 8px; font-size: 15px; }
.salsa-mini-links { display: flex; flex-wrap: wrap; gap: 8px; }
.salsa-mini-btn {
  display: inline-block;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid #ddd;
  text-decoration: none;
  font-size: 14px;
  color: #111;
  background: #fff;
}
.salsa-mini-close {
  position: absolute; right: 12px; top: 8px;
  font-size: 20px; border: 0; background: transparent; cursor: pointer;
}
@media (min-width: 800px){
  .salsa-mini { max-width: 420px; margin: 0 auto; left: 50%; transform: translateX(-50%); }
}

/* Make .flyer-button (now an <a>) look like a button everywhere */
.flyer-button {
  display: inline-block;           /* ensure anchor looks like a button */
  margin-top: 6px; margin-bottom: 6px;
  padding: 6px 12px;
  background-color: #ff4081;
  color: #fff !important;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
.flyer-button:hover { background-color: #e73370; }
/* Mic button styling */
#salsa-voice {
  font-size: 9px;        /* smaller text */
  padding: 4px 8px;       /* less padding */
  border-radius: 16px;    /* keep rounded */
  line-height: 1.2;
  white-space: nowrap;    /* keep text in one line */
  max-width: 100px;       /* prevent oversized button */
  margin-top: 5px;
}
