/* VoiceModule.css — Inline voice recording button & indicator */

.voice-mic-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    color: var(--text-secondary, #6b7280);
    cursor: pointer;
    border-radius: 50%;
    transition: color 0.2s, background 0.2s;
    flex-shrink: 0;
}
.voice-mic-btn:hover {
    background: var(--bg-hover, rgba(0,0,0,0.05));
    color: var(--primary, #2A6659);
}
.voice-mic-btn.recording {
    color: #ef4444;
    animation: voice-pulse 1.2s ease-in-out infinite;
}
.voice-mic-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.voice-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(239, 68, 68, 0.08);
    border-radius: 20px;
    font-size: 13px;
    color: #ef4444;
}
.voice-indicator.hidden { display: none; }
.voice-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ef4444;
    animation: voice-pulse 1s ease-in-out infinite;
}
.voice-cancel-btn {
    border: none;
    background: transparent;
    color: #ef4444;
    cursor: pointer;
    font-size: 12px;
    padding: 2px 4px;
    opacity: 0.7;
}
.voice-cancel-btn:hover { opacity: 1; }
.voice-wave-canvas {
    display: block;
    align-self: center;
    border-radius: 2px;
}
@keyframes voice-pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}
