/* Voice input styles */

.mic-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border, #e2e8f0);
  background: var(--surface, white);
  color: var(--text-muted, #94a3b8);
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
}

.mic-btn:hover {
  border-color: var(--primary, #2563eb);
  color: var(--primary, #2563eb);
  background: var(--primary-lighter, #eff6ff);
}

.mic-btn.recording {
  background: #fee2e2;
  border-color: #fca5a5;
  color: #ef4444;
  animation: pulse-mic 1.5s ease-in-out infinite;
}

.dark .mic-btn {
  background: var(--surface-elevated, #1e293b);
  border-color: var(--border, #334155);
}

.dark .mic-btn.recording {
  background: #7f1d1d;
  border-color: #991b1b;
  color: #f87171;
}

@keyframes pulse-mic {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.3);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
  }
}
