.voice-input-wrapper {
    position: relative;
    width: 100%;
}

.voice-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s;
    color: #94a3b8;
    z-index: 5;
}

.voice-btn:hover {
    background: rgba(0,0,0,0.05);
    color: #64748b;
}

.voice-btn svg {
    width: 18px;
    height: 18px;
}

.voice-btn.listening {
    background: #fecaca !important;
    color: #dc2626 !important;
    animation: pulse-mic 1s infinite;
}

@keyframes pulse-mic {
    0%, 100% { transform: translateY(-50%) scale(1); box-shadow: 0 0 0 0 rgba(220, 38, 38, 0.4); }
    50% { transform: translateY(-50%) scale(1.05); box-shadow: 0 0 0 8px rgba(220, 38, 38, 0); }
}
