.voice-btn {
    border: none;
    background-color: var(--accent-color);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.voice-btn:hover {
    background-color: var(--secondary-color);
    transform: scale(1.05);
}

.voice-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

.voice-btn.recording {
    background-color: #f72585;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(247, 37, 133, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(247, 37, 133, 0);
    }
}

.voice-status {
    font-size: 12px;
    margin-top: 5px;
    color: #6c757d;
    display: none;
}

.voice-status.show {
    display: block;
}

.voice-settings {
    margin-top: 10px;
    display: none;
}

.voice-settings.show {
    display: block;
}

.voice-input-group {
    position: relative;
}

.voice-input-group .voice-btn {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
}