/* ============================================================
   Recording Pill Component
   ============================================================ */

.recording-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  background: #1e293b;
  border-radius: 9999px;
  padding: 0.75rem 1.25rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(71, 85, 105, 0.3);
  margin: 2rem auto 0;
}

.recording-pill__dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.6);
  animation: pill-pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes pill-pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px rgba(239, 68, 68, 0.6); }
  50% { opacity: 0.5; box-shadow: 0 0 4px rgba(239, 68, 68, 0.3); }
}

.recording-pill__waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 28px;
}

.recording-pill__bar {
  width: 4px;
  border-radius: 2px;
  background: var(--accent-light);
  animation: pill-wave 1s ease-in-out infinite;
}

.recording-pill__bar:nth-child(1) { height: 40%; animation-delay: 0s; }
.recording-pill__bar:nth-child(2) { height: 65%; animation-delay: 0.1s; }
.recording-pill__bar:nth-child(3) { height: 85%; animation-delay: 0.2s; }
.recording-pill__bar:nth-child(4) { height: 100%; animation-delay: 0.15s; }
.recording-pill__bar:nth-child(5) { height: 85%; animation-delay: 0.25s; }
.recording-pill__bar:nth-child(6) { height: 65%; animation-delay: 0.3s; }
.recording-pill__bar:nth-child(7) { height: 40%; animation-delay: 0.05s; }

@keyframes pill-wave {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.4); }
}

.recording-pill__timer {
  font-family: var(--font-mono);
  font-size: var(--text-base);
  font-weight: 500;
  color: var(--text-primary);
  min-width: 2.5rem;
  letter-spacing: 0.02em;
}

.recording-pill--static {
  margin: 0;
}
