<style>
.voice-waveform-container {
    height: 120px;
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    margin-bottom: 16px;
    position: relative;
    overflow: hidden;
}

.voice-waveform-container canvas {
    width: 100%;
    height: 100%;
}

.voice-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: var(--text-sm);
    font-weight: 500;
    transition: all 0.3s ease;
}

.audio-level-container {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    height: 4px;
    background: var(--bg-elevated);
    border-radius: 2px;
    overflow: hidden;
}

.audio-level-bar {
    height: 100%;
    width: 0%;
    background: var(--accent-green);
    transition: width 0.1s ease, background 0.3s ease;
    border-radius: 2px;
}

.transcript-log {
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
}

.transcript-entry {
    padding: 12px 16px;
    margin-bottom: 8px;
    border-radius: 12px;
    background: var(--bg-elevated);
}

.transcript-entry.user {
    background: var(--bg-elevated);
    border-left: 3px solid var(--accent-green);
}

.transcript-entry.assistant {
    background: var(--bg-surface);
    border-left: 3px solid var(--accent-purple);
}

.transcript-role {
    font-size: var(--text-xs);
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-tertiary);
    margin-bottom: 4px;
}

.transcript-text {
    color: var(--text-primary);
    line-height: 1.5;
}

.transcript-time {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    margin-top: 4px;
}

.voice-controls {
    display: flex;
    gap: 8px;
    align-items: center;
}

.voice-controls .btn.active {
    background: var(--accent-red) !important;
}
</style>
