/* Bot Simulator Widget Styles */
.bot-simulator {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
  font-family: 'Inter', sans-serif;
  height: 380px;
}

.sim-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
}

.sim-avatar {
  width: 28px;
  height: 28px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sim-avatar svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: white;
  stroke-width: 2;
}

.sim-body {
  flex: 1;
  padding: 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: #f9fafb;
}

.sim-msg {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 12px;
  font-size: 13.5px;
  line-height: 1.4;
  animation: simPopIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  opacity: 0;
  transform: translateY(10px) scale(0.95);
}

@keyframes simPopIn {
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.sim-msg.bot {
  background: white;
  color: var(--ink);
  border: 1px solid var(--border);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.sim-msg.user {
  background: var(--primary);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

/* Typing indicator */
.sim-typing {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 20px;
}

.sim-typing span {
  width: 5px;
  height: 5px;
  background: var(--muted);
  border-radius: 50%;
  animation: simBlink 1.4s infinite both;
}

.sim-typing span:nth-child(1) { animation-delay: 0s; }
.sim-typing span:nth-child(2) { animation-delay: 0.2s; }
.sim-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes simBlink {
  0% { opacity: 0.2; transform: scale(0.8); }
  20% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.2; transform: scale(0.8); }
}

.sim-footer {
  padding: 12px;
  background: white;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sim-input-fake {
  flex: 1;
  background: #f3f4f6;
  border-radius: 20px;
  padding: 8px 16px;
  font-size: 13px;
  color: var(--muted);
}

.sim-send {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sim-send svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Simulated Booking Card */
.sim-booking-card {
  margin-top: 8px;
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
  background: #f9fafb;
}

.sim-booking-card p {
  margin: 0 0 8px 0;
  font-weight: 600;
  font-size: 13px;
}

.sim-booking-btn {
  display: block;
  text-align: center;
  background: var(--ink);
  color: white !important;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
