/* チャットボット v2.1 — 演出エフェクト */

/* 1. スプリング登場グロー */
.chatbot__widget--glow {
  box-shadow: 0 8px 32px rgba(12, 53, 71, 0.2), 0 0 24px rgba(41, 128, 185, 0.3);
}

/* 2. ステップドット */
.chatbot__step-dots {
  display: flex;
  gap: 6px;
  align-items: center;
  margin-left: 8px;
}

.chatbot__step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  transition: background 0.3s ease;
}

.chatbot__step-dot--active {
  background: var(--white);
}

/* 5. インラインCTA パルスボーダー */
@keyframes chatbot-pulse-border {
  0%, 100% { border-color: var(--primary-300); }
  50% { border-color: var(--accent-warm); }
}

.chatbot-inline--pulse {
  animation: chatbot-pulse-border 2s ease-in-out infinite;
}

/* 7. 完了リリーフ */
.chatbot__relief {
  opacity: 0;
  transition: opacity 0.8s ease;
  font-size: 14px;
  color: var(--neutral-700);
  margin-top: 12px;
  text-align: center;
  line-height: 1.7;
}

.chatbot__relief--visible {
  opacity: 1;
}

/* 8. 背景ディム */
.chatbot__dim {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(0, 0, 0, 0.03);
  pointer-events: none;
  transition: opacity 0.5s ease;
}

/* アクセシビリティ: モーション軽減 */
@media (prefers-reduced-motion: reduce) {
  .chatbot__widget { transition: none; }
  .chatbot__widget--glow { box-shadow: 0 8px 32px rgba(12, 53, 71, 0.2); }
  .chatbot-inline--pulse { animation: none; }
  .chatbot__relief { transition: none; }
  .chatbot__dim { transition: none; }
  .chatbot__step-dot { transition: none; }
}
