/* 自定义语音按钮样式 */
.custom-voice-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
    font-size: 20px;
    flex-shrink: 0;
    margin: 0 4px;
}
.custom-voice-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}
.custom-voice-btn:active, .custom-voice-btn.recording {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 2px 16px rgba(239, 68, 68, 0.5);
    transform: scale(1.1);
    animation: voice-pulse 1.2s ease-in-out infinite;
}
@keyframes voice-pulse {
    0%, 100% { box-shadow: 0 2px 16px rgba(239, 68, 68, 0.3); }
    50% { box-shadow: 0 2px 28px rgba(239, 68, 68, 0.6); }
}
.custom-voice-tooltip {
    display: none;
    position: absolute;
    bottom: 54px;
    left: 50%;
    transform: translateX(-50%);
    background: #1f2937;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    white-space: nowrap;
    pointer-events: none;
    z-index: 200;
}
.custom-voice-btn.recording .custom-voice-tooltip {
    display: block;
}
.custom-voice-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}