/* Chatbot widget theme: restyles widget/chatbot-widget.css to match the site.
   Loaded after the widget stylesheet, so equal-specificity rules win. */

#chatbot-btn {
  background: linear-gradient(120deg, #a78bfa 0%, #60a5fa 45%, #22d3ee 100%);
  color: #06070b;
  font-size: 1.6rem;
  box-shadow: 0 0 0 6px rgba(167, 139, 250, 0.12), 0 14px 34px -10px rgba(96, 165, 250, 0.8);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s;
}
#chatbot-btn:hover {
  background: linear-gradient(120deg, #a78bfa 0%, #60a5fa 45%, #22d3ee 100%);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 0 0 8px rgba(167, 139, 250, 0.16), 0 18px 40px -10px rgba(167, 139, 250, 0.9);
}

#chatbot-container {
  background: rgba(10, 12, 20, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 22px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(167, 139, 250, 0.15);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: #eef1f8;
}

#chatbot-header {
  background: linear-gradient(120deg, rgba(167, 139, 250, 0.22), rgba(34, 211, 238, 0.12));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  color: #eef1f8;
}
#chatbot-header .faq-toggle {
  background: rgba(255, 255, 255, 0.06);
  color: #eef1f8;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
}
#chatbot-close { color: #a3acc2; }
#chatbot-close:hover { color: #fff; }

#chatbot-faq {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.faq-item {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #ddd6fe;
  box-shadow: none;
}
.faq-item:hover { background: rgba(167, 139, 250, 0.12); }

#chatbot-messages { background: transparent; }

.msg { box-shadow: none; line-height: 1.55; }
.msg.user {
  background: linear-gradient(120deg, #a78bfa 0%, #60a5fa 100%);
  color: #06070b;
  font-weight: 500;
}
.msg.bot {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #e2e8f0;
}
.sources { color: #22d3ee; }

#chatbot-form {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
#chatbot-input {
  background: rgba(5, 6, 10, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: #eef1f8;
}
#chatbot-input::placeholder { color: #6b7490; }
#chatbot-input:focus { border: 1px solid #22d3ee; box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.15); }
#chatbot-form button {
  background: linear-gradient(120deg, #a78bfa 0%, #60a5fa 45%, #22d3ee 100%);
  color: #06070b;
  border-radius: 999px;
  box-shadow: none;
}
#chatbot-form button:hover {
  background: linear-gradient(120deg, #a78bfa 0%, #60a5fa 45%, #22d3ee 100%);
  filter: brightness(1.1);
}
