/* ==============================================================================
   AuraForge Voice Dictation & Audio Prompting Styles
   Live Floating Capture Pill & Active Recording Micro-Animations
   ============================================================================== */

.dictation-floating-pill {
  position: fixed;
  top: 64px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 92000;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 16px;
  background: var(--clay-surface);
  border: 1px solid var(--text-border);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35), var(--shadow-clay-card);
  border-radius: 30px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  animation: pillSlideDown 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  max-width: 90vw;
}

@keyframes pillSlideDown {
  from { opacity: 0; transform: translate(-50%, -10px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

.dictation-pulse-indicator {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--clay-rose);
  box-shadow: 0 0 12px var(--clay-rose);
  animation: pulseRecording 1.2s infinite ease-in-out;
}

@keyframes pulseRecording {
  0% { transform: scale(0.9); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px var(--clay-rose); }
  100% { transform: scale(0.9); opacity: 0.8; }
}

.dictation-pill-text {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-main);
  max-width: 380px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dictation-pill-stop {
  background: none;
  border: none;
  color: var(--text-dimmed);
  font-size: 14px;
  cursor: pointer;
  padding: 2px 6px;
  border-radius: 50%;
  transition: all 0.12s ease;
}

.dictation-pill-stop:hover {
  color: var(--clay-rose);
  background: rgba(214, 122, 152, 0.15);
}

/* Button Active State */
.btn-mic-dictate.dictating-active {
  background: rgba(214, 122, 152, 0.22) !important;
  color: var(--clay-rose) !important;
  border-color: var(--clay-rose) !important;
  box-shadow: 0 0 14px rgba(214, 122, 152, 0.4) !important;
  animation: buttonPulse 1.4s infinite ease-in-out;
}

@keyframes buttonPulse {
  0% { opacity: 0.9; }
  50% { opacity: 1; filter: brightness(1.1); }
  100% { opacity: 0.9; }
}
