/* VeloxOps AI Chatbot Widget — matches the dark theme aesthetic */
#vlx-chat { font-family: 'DM Sans', system-ui, sans-serif; }

.vlx-bubble-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(245,158,11,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  z-index: 9999;
  color: #0a0a0a;
}
.vlx-bubble-btn:hover { transform: scale(1.08); box-shadow: 0 6px 32px rgba(245,158,11,0.55); }

.vlx-bubble-pulse {
  position: absolute;
  top: -4px; right: -4px;
  width: 12px; height: 12px;
  background: #22c55e;
  border-radius: 50%;
  animation: vlx-pulse 2s ease infinite;
}
@keyframes vlx-pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.vlx-chat-window {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 380px;
  max-width: calc(100vw - 48px);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: #111114;
  border: 1px solid #1e1e24;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  z-index: 9999;
}

.vlx-chat-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: #0a0a0a;
  border-bottom: 1px solid #1e1e24;
}
.vlx-chat-avatar {
  width: 40px; height: 40px;
  background: #f59e0b;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vlx-chat-title { font-size: 0.95rem; font-weight: 700; color: #f4f4f5; }
.vlx-chat-status { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: #71717a; margin-top: 2px; }
.vlx-status-dot { width: 7px; height: 7px; background: #22c55e; border-radius: 50%; }
.vlx-chat-close { margin-left: auto; background: none; border: none; color: #71717a; cursor: pointer; padding: 4px; transition: color 0.2s; }
.vlx-chat-close:hover { color: #f4f4f5; }

.vlx-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  scrollbar-width: thin;
  scrollbar-color: #1e1e24 transparent;
}
.vlx-chat-messages::-webkit-scrollbar { width: 4px; }
.vlx-chat-messages::-webkit-scrollbar-thumb { background: #1e1e24; border-radius: 2px; }

.vlx-msg { display: flex; gap: 10px; align-items: flex-end; }
.vlx-msg-user { flex-direction: row-reverse; }
.vlx-msg-avatar {
  width: 28px; height: 28px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.vlx-avatar-bot { background: #f59e0b; color: #0a0a0a; }
.vlx-avatar-user { background: #27272a; color: #71717a; }
.vlx-msg-content {
  max-width: 75%;
  padding: 10px 14px;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #f4f4f5;
}
.vlx-msg-bot .vlx-msg-content { background: #18181b; border-bottom-left-radius: 4px; }
.vlx-msg-user .vlx-msg-content { background: #27272a; border-bottom-right-radius: 4px; }

.vlx-booking-panel {
  padding: 12px 20px;
  border-top: 1px solid #1e1e24;
  background: rgba(245,158,11,0.05);
}
.vlx-booking-title { font-size: 0.85rem; font-weight: 700; color: #f59e0b; margin-bottom: 8px; }
.vlx-booked-time { font-size: 0.9rem; font-weight: 600; color: #f4f4f5; margin-bottom: 4px; }
.vlx-booked-note { font-size: 0.8rem; color: #71717a; }

#vlx-slots { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.vlx-slot-btn {
  background: #18181b;
  border: 1px solid #27272a;
  color: #a1a1aa;
  font-size: 0.75rem;
  padding: 5px 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.vlx-slot-btn:hover { background: #f59e0b; color: #0a0a0a; border-color: #f59e0b; }

.vlx-chat-input-wrap {
  display: flex;
  gap: 8px;
  padding: 14px 16px;
  border-top: 1px solid #1e1e24;
  background: #111114;
}
.vlx-chat-input {
  flex: 1;
  background: #18181b;
  border: 1px solid #27272a;
  border-radius: 12px;
  padding: 10px 14px;
  color: #f4f4f5;
  font-size: 0.88rem;
  font-family: 'DM Sans', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.vlx-chat-input:focus { border-color: #f59e0b; }
.vlx-chat-input::placeholder { color: #52525b; }
.vlx-chat-send {
  width: 40px; height: 40px;
  background: #f59e0b;
  border: none;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #0a0a0a;
  transition: background 0.2s;
  flex-shrink: 0;
}
.vlx-chat-send:hover { background: #f97316; }