/* 语音输入模块样式 */

/* 语音输入按钮样式 */
.btn-voice-input-inline {
    position: absolute;
    bottom: 15px;
    left: 15px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gentle-primary);
    border: none;
    color: white;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 3px 12px rgba(0, 123, 255, 0.3);
    z-index: 10;
}

.btn-voice-input-inline:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 16px rgba(0, 123, 255, 0.5);
}

.btn-voice-input-inline:active {
    transform: scale(0.95);
}

.btn-voice-input-inline.recording {
    background: #dc3545;
    animation: pulse-inline 1.5s infinite;
}

@keyframes pulse-inline {
    0% { box-shadow: 0 3px 12px rgba(220, 53, 69, 0.3); }
    50% { box-shadow: 0 5px 20px rgba(220, 53, 69, 0.6); transform: scale(1.05); }
    100% { box-shadow: 0 3px 12px rgba(220, 53, 69, 0.3); }
}

/* 语音识别视觉反馈 */
.speech-recognizing {
    background: linear-gradient(to right, #f8f9fa 0%, #ffffff 100%);
    border-color: #007bff;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

/* 文本输入区域样式 */
.voice-input-container {
    position: relative;
    width: 100%;
}