/* Custom styles for Think with Me */

/* Modern slim scrollbars */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #374151;
  border-radius: 9999px;
}
::-webkit-scrollbar-thumb:hover {
  background: #4b5563;
}

/* Phase Navigation Pill Active Styles */
.phase-pill.active {
  background-color: #1f2937;
  color: #ffffff;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(14, 165, 233, 0.3);
}

/* Thought Ledger Category Badges */
.badge-insight {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.badge-decision {
  background-color: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}
.badge-hypothesis {
  background-color: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.badge-question {
  background-color: rgba(14, 165, 233, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(14, 165, 233, 0.3);
}

/* Chat bubble subtle transitions */
.message-bubble {
  animation: fadeIn 0.25s ease-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Audio wave animation */
.audio-playing-pulse {
  animation: pulseAudio 1.2s infinite ease-in-out;
}

@keyframes pulseAudio {
  0%, 100% {
    opacity: 0.6;
    transform: scale(0.98);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Live Voice Mode indicator styles */
.live-voice-active {
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.5), 0 0 14px rgba(16, 185, 129, 0.4);
  color: #34d399 !important;
  background-color: rgba(16, 185, 129, 0.1) !important;
}

@keyframes waveDance {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.4); }
}

.wave-bar {
  transform-origin: bottom;
}

.wave-active {
  animation: waveDance 0.5s infinite ease-in-out;
}
