/* Chatbot Styles */
.ai-chatbot-widget {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
  font-family: 'Inter', sans-serif;
}

.chatbot-btn {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  animation: pulseGlow 3s infinite;
}

.chatbot-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 35px rgba(179, 0, 255, 0.6);
}

.chatbot-window {
  position: absolute;
  bottom: 85px;
  right: 0;
  width: 360px;
  height: 520px;
  background: rgba(10, 12, 20, 0.95);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 15px 50px rgba(0,0,0,0.8), 0 0 30px rgba(179, 0, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  opacity: 0;
  transform: translateY(30px) scale(0.9);
  pointer-events: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.chatbot-window.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.chatbot-header {
  padding: 22px;
  background: rgba(255,255,255,0.03);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h4 {
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
}
.chatbot-header h4 span {
  width: 10px; height: 10px; background: var(--green); border-radius: 50%; box-shadow: 0 0 10px var(--green);
}

.close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.5rem;
  transition: 0.3s;
}
.close-btn:hover { color: #fff; transform: rotate(90deg); }

.chatbot-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

/* Scrollbar Customization */
.chatbot-body::-webkit-scrollbar { width: 6px; }
.chatbot-body::-webkit-scrollbar-thumb { background: rgba(0,240,255,0.2); border-radius: 10px; }
.chatbot-body::-webkit-scrollbar-track { background: transparent; }

.chat-bubble {
  max-width: 82%;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.95rem;
  line-height: 1.5;
  word-wrap: break-word;
}

.bot-bubble {
  background: rgba(255,255,255,0.06);
  color: #fff;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.user-bubble {
  background: rgba(0, 240, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(0, 240, 255, 0.3);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-footer {
  padding: 15px 20px;
  background: rgba(0,0,0,0.4);
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  gap: 12px;
}

.chat-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  border-radius: 12px;
  padding: 10px 15px;
  font-family: inherit;
  outline: none;
  transition: 0.3s;
}
.chat-input:focus {
  border-color: var(--cyan);
  background: rgba(0, 240, 255, 0.05);
}

.send-btn {
  background: var(--cyan);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: 0.3s;
}
.send-btn:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px var(--cyan-glow);
}
